Asteroids
Step 40: Ship Collision with Big Asteroid
Step 41: Duplicate Code
Asteroids Part 2
Introduction
Step 1: Change the Ship Costume to Standard
Step 2: Create Hit1 Broadcast
Step 3: Change Costume for Hit 1
Step 4: Change Costume for Hit 2
Step 5: Change Costume for Hit 3
Step 6: Create Variables
Step 7: Delete Code
Step 8: Compare
Step 9: Add Hit Broadcast
Step 10: Destroyed IF Statement 1
Step 11: Destroyed IF Statement 2
Step 12: Finding the Spawn Point 1
Step 13: Finding the Spawn Point 2
Step 14: New Message
Step 15: Wait and Delete
Step 16: Respawn Code
Step 17: Duplicate and Change Code
3 of 4
Previous Lesson
Next Lesson
Step 15: Wait and Delete
Asteroids
Step 15: Wait and Delete
Goal:
When the asteroid is destroyed, we want to wait a tenth of a second and then delete the clone.
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