BATTLE ZONES

One of the features of most beat’em ups is the camera stopping at certain points to allow for a battle before it will let the player move on.

In Scorpion we can achieve this using “Blocks”.

In the video you will see the blocks are placed along the floor and when the player collides the camera is stopped (they will be invisible in the final game).

At this point we also generate collision blocks either side of the screen (to stop the player walking out of the zone)

To control the battle zone I keep an enemy count (a debug display can be seen next to the player 1 health bar).

Once this count reaches 0, the collision blocks are removed, the camera is told to follow the player again and we pop up a little “Go” hand to tell the player they can continue.