Step 22: Big Asteroid Start Position

Goal:


Let’s start coding the Big Asteroids that will move towards the ship.

At the beginning, the Big Asteroid will hide at the center of the screen.

Steps:

  1. Click on the sprite asteroid called Big_Asteroid_1.
  2. From Events, place a when flag clicked block.
  3. From Looks, place a hide block.
  4. From Motion, place a go to x/y block.
  5. Set X and Y to 0.
  6. From Control, place a create clone of myself block.

Code: