Game Development Reference
In-Depth Information
8.
Then, add the hide block to hide the sprite again:
If placed correctly, the bomb item should now blow holes into the black walls. Once the walls
are removed, the cat is free to move on.
Objective complete - mini debriefing
We just created a sprite item to be used by the player and a funcional efect to make the
item work. Stamping over the stage can be an easy and efecive way to change the level
design. It can be used as a player instrument, as in this case. However, you could also use it
for automated changes and challenges in the game, such as opening and closing doors and
throwing temporary hazardous effects into the level.
Adding the bomb effects
The player can now easily create a way through the maze. If something is in the way, just
blow it up. That does make the game slightly easy. So let's add another challenge in the form
of a points system and a way to get hurt when using the bomb.
Prepare for lift off
We need another sprite for an explosion efect to follow the detonaion of the bomb. The
size of this sprite doesn't have to be exact, but it's a good idea to keep it roughly the same
size as a ile, 60 pixels wide and 60 pixels high.
 
Search WWH ::




Custom Search