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 27: Small Asteroid Bullet Collision 2
Asteroids
Step 27: Small Asteroid Bullet Collision 2
Goal:
When the small Asteroid and the bullet touch, the small Asteroid needs to be deleted.
Steps:
From
Control,
place a
wait
block and set it to
.1sec
.
From
Control,
place a
delete this clone
block.
Code:
Previous Lesson
Back to Course
Next Lesson