Step 5: Time-Bomb Movement

Goal:


Now that we have programmed how to fire the bomb we need to program what the bomb does after it has been fired.

The first thing we will do is tell the bomb to show itself and how to move.

Steps:

  1. In the sprite menu, select the sprite called Time_Bomb.
  2. From Control, place a when I start as a clone block.
  3. From Looks, place a show block.
  4. From Control, place a forever block.
  5. From Motion, place a change y by block, and set the value to 10.

Code:


Click to replay