Sign in
Home
Online Classes
Instructors
Tutorials
☰
Register
Sign in
Online Classes
Instructors
Tutorials
1. Design the car and road
2. Program the car's side to side movement
3. (Group Activity) Review Variables
4. Design and program a scrolling road
5. Slow down if you drive off the road
6. Design and program scrolling boost sprites
7. Collide into boost sprites
8. Design and program scrolling obstacles
9. Collide into obstacles
10. End the game
11. (Optional) Laser trail
12. (Optional) Count miles
13. (Optional) Increase the difficulty
Project 550: Racing Road
11. (Optional) Laser trail
Create another sprite that will act as a particle for a laser trail. The laser trail should follow behind the car and eventually fade away.
Starting point file for this challenge
Your goal
Hint: show steps
Steps
1. Design a laser particle
Hint: show details
Put your mouse over the blue cat face button and select the paint brush tool that pops up. Draw a little dot to be part of a larger laser.
Hint: show image
2. Hide the parent
Hint: show details
Add a "when green flag clicked" to the laser. Then, add a "looks" block called "hide."
Hint: show image
3. Tell the particle to follow the car
Hint: show details
Attach a "motion" block called "go to ___" and change it to say the name of your car sprite.
Hint: show image
4. Tell the particle to clone itself
Hint: show details
Add the "create clone of myself" block.
Hint: show image
5. Repeat following and cloning forever
Hint: show details
Add a "forever" loop and put it around the previous two blocks.
Hint: show image
6. Show the clone
Hint: show details
Grab a "control" block called "when I start as a clone" and drop it somewhere in the code. Then, attach a "looks" block called "show."
Hint: show image
7. Tell the clone to move backwards
Hint: show details
Attach a "motion" block called "change Y by __" and change Y by -3.
Hint: show image
8. Tell the clone to fade away
Hint: show details
Attach a "looks" block called "change __ effect by ___." Change ghost effect by 3.
Hint: show image
9. Tell the clone to shrink
Hint: show details
Add a "looks" block called "change size by __" and change size by -1.
Hint: show image
10. Repeat the visual effects 100 times
Hint: show details
Put a repeat loop around these 3 visual effects blocks. This will help the effects look smoother. Try repeating it 100 times.
Hint: show image
11. Delete the clone
Hint: show details
After the repeat loop is done, add a "delete this clone" block from the "control" section.
Hint: show image
×
×
Provide your email address for immediate project access
Email
Check your email for instructions on how to create a full DA account