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
Next Lesson
Step 32: Changes to Small_2.1 code 1
Asteroids
Step 32: Changes to Small_2.1 code 1
Goal:
Let’s begin coding a special medium Asteroid.
Steps:
From the sprite menu, select the one called “
Small_2.1″.
Find the
When I receive
block
Change it from
Destroyed1
to
Destroyed2
using the drop down menu.
Code:
Previous Lesson
Back to Course
Next Lesson