Step 29: Small Asteroid Ship Collision 2

Goal:


If a small Asteroid touches the ship, then the player needs to lose one life and change costumes under the broadcast Hit1 messsage.

Steps:

  1. From Variables, place a change by block.
  2. Set the variable to Lives and the amount to -1.
  3. From Events, place a broadcast Hit1 block.

Code: