Book Image

Gamesalad Essentials

By : Miguel DeQuadros
Book Image

Gamesalad Essentials

By: Miguel DeQuadros

Overview of this book

Table of Contents (16 chapters)

Power ups, ammo, and inventory


The weapon we gave Kevin is a great gun, but there are always bigger and better ones out there! Plus, we are going to make Kevin darn powerful with some cool power ups because he's really going to need them in his journey. By now, things are simple enough and you should be able to create things with no problem, but in case you don't, let's do a couple power ups for Kevin. One will increase his armor and the second will make him invisible for ten seconds.

Let's start with the armor power up. I have created a simple image for the power up. Import it and create a new actor from it. Drag it somewhere into your scene, preferably somewhere out of the way to make it challenging for the player to reach. Double-click on the actor within the Inspector window so we can edit it.

I changed the Blending mode under the Graphics drop down to Additive to make it look like it's glowing. Now all we have to do is create a rule, change it to Actor receives event | collides or overlaps...