Asteroids
Asteroids Part 1
Introduction
Step 1: Create Lives Variables
Step 2: Make More Variables
Step 3: Set Our Variables
Step 4: Ship Starting Position and Controls
Step 5: Game Over IF Statement 1
Step 6: Game Over IF Statement 2
Step 7: Game Over
Step 8: Ship Up Movement
Step 9: Ship Left Movement
Step 10: Ship Down Movement
Step 11: Ship Right Movement
Step 12: Bullet Start Position 1
Step 13: Bullet Start Position 2
Step 14: Create Bullet Clone
Step 15: Bullet Fire Direction
Step 16: Bullet Movement
Step 17: Bullet Collision IF 1
Step 18: Bullet Collision IF 2
Step 19: Bullet Collision IF 3
1 of 4
Previous Lesson
Next Lesson
Step 19: Bullet Collision IF 3
Asteroids
Step 19: Bullet Collision IF 3
Goal:
Let’s add in the code for the bullet touching anything bright green in the game.
Steps:
Click on the
color spot
of the
touching color
block
Select the color from one of the
sprites
on the screen.
Your color should be
bright green
.
Code:
Click to replay
Previous Lesson
Back to Course
Next Lesson