Step 2: Create Hit1 Broadcast

Goal:


Let’s create a broadcast message for a hit.

This will let us code when the ship gets hit.

Steps:

    1. From Events, place a When I receive block.
    2. Click the drop down menu, and select New message.
    3. In the window type, “Hit1.”

Code:


Click to replay