Asteroids
Step 18: Change the Receive Code for Big Asteroid 2
Step 19: Small Asteroid 1 Start Code
Step 20: Spawn Code
Step 21: Small Asteroid Start Code 1
Step 22: Small Asteroid Start Code 2
Step 23: Small Asteroid Direction
Step 24: Show Small Asteroids
Step 25: Move Small Asteroids
Step 26: Small Asteroid Bullet Collision 1
Step 27: Small Asteroid Bullet Collision 2
Step 28: Small Asteroid Ship Collision 1
Step 29: Small Asteroid Ship Collision 2
Step 30: Delete Small Asteroid and Bounce on Edge
Step 31: Duplicate Code
Step 32: Changes to Small_2.1 code 1
Step 33: Changes to Small_2.1 code 2
Step 34: Duplicate Small_2.1 Code
4 of 4
Previous Lesson
Step 34: Duplicate Small_2.1 Code
Asteroids
Step 34: Duplicate Small_2.1 Code
Goal:
Let’s duplicate our modified code into the other two Medium Asteroids.
Steps:
Just as before,
duplicate
the code from
Small_2.1
in to
Small_2.2
and
Small_2.3
by dragging the code onto the sprite icons.
Code:
Click to replay
Previous Lesson
Back to Course