The boss fight

Before we start the configuration of the Gunner, we must know what actions are taken through the fight. Let's open the Zone5 scene, which we can find in the Assets | 2D GameKit | Scenes folder:

We will have to play this encounter a couple of times until we feel we know the fight stages.

The encounter works as follows:

  • It starts with a cinematic, which we won't be using for other levels:

  • The enemy has a laser aiming at us, and after a certain amount of time, a ranged attack is made:
  • It also has a melee attack, in the form ...

Get Hands-On Game Development without Coding now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.