Book Image

Gamesalad Essentials

By : Miguel DeQuadros
Book Image

Gamesalad Essentials

By: Miguel DeQuadros

Overview of this book

Table of Contents (16 chapters)

Boss battles!


Kevin has gone through a super tough journey. He's fought many enemies, and now he is at Magellan's Castle to save Dom:

Here I've made a really cool scene where Magellan takes Dom away. Now, we have to program Magellan's movements and general unpleasantness.

We will start by dragging our Magellan actor into our scene. I made him a little bit smaller to be more proportionate with Kevin, and gave him a new Integer attribute for his health at value 100. I also made a game-wide Boolean attribute called Boss Battle. This way, Magellan will only start moving once this Boolean is triggered. I think I want Magellan to be waiting for Kevin. Then once Kevin reaches the boss area, the battle will start.

I placed an invisible actor just in front of Magellan so that when Kevin collides with it, it triggers the Boss Battle Boolean attribute, and the battle begins.

Open up the Magellan actor. First and foremost, we need to change his Maximum Speed. I made it 500, which is a decent speed, considering...