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 effect to follow the detonation 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 tile, 60 pixels wide and 60 pixels high.

We can draw this sprite in Scratch easily as follows:

  1. Click on the Paint new sprite icon.
  2. Select the Circle tool and draw a filled yellow circle. Press the Shift key while dragging the cursor to make it perfectly round.
  3. Next, switch ...

Get Scratch 2.0 Game Development HOTSHOT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.