Game Development Reference
In-Depth Information
Now all we have to do is program Magellan's health! To do this, all we have to do is
create a new attribute named Health , with an Integer value of 250 or whatever figure
you would like. Remember, this is a boss battle, so it has to be tough! Then create a
new rule inside of the Boss Battle rule and make it Actor receives event | overlaps
or collides | with actor of type | GravRound (or whatever projectile you want to
use). Then drag in a Change Attribute behavior and change it to Change Attribute:
| self.Health | to | self.Health -5 . Create a new rule to detect when his health
reaches zero or less. Now destroy the actor with a Destroy behavior. You could do a
cool animation of him dissolving, or him exploding in a bright blaze of glory.
Don't forget to change Kevin's loss of health as well when he gets hit by Magellan's
stars. Do it the same way you did for Magellan!
If you want, when Magellan's health reaches a certain point, you can start a more
aggressive attack as most boss battles do. You can have a new rule for this. When
Magellan's health reaches 50 percent, start shooting more stars, or make him move
faster and deal more damage.
That's it for the boss battle! Now that Kevin has defeated the evil Magellan and lifted
the curse of the "Stinky Fish", he can release Dom from his holding cell. With what
you've learned about cutscenes, why not create a cool celebration scene where the
townsfolk are having a huge party to thank Kevin for his hearty work!
End credits.
Now that the game is finished, where do you go from here?
Multi-platform publishing
The great thing about GameSalad is you aren't limited to one platform, and you
certainly don't have to change any settings between platforms.
Now that you have completed the development of your game, you want to publish
it. Of course, with mobile platforms, you will need to be signed up as a developer. If
you want to publish your title, simply click on the Publish button on the top bar of
GameSalad, as shown in the following screenshot:
 
Search WWH ::




Custom Search