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 16: Bullet Movement
Asteroids
Step 16: Bullet Movement
Goal:
Now that the bullet is out from behind the ship, it can show itself and keep moving forward.
Steps:
From
Looks
, place a
show
block.
From
Control
, place a
forever
block.
From
Motion
, place a
move 10 steps
block.
Code:
Previous Lesson
Back to Course
Next Lesson