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
10. End the game
If the car is pushed all the way to the bottom of the screen, the game should end.
Starting point file for this challenge
Your goal
Hint: show steps
Steps
1. Build another if-statement in the car
Hint: show details
You'll need a "when green flag clicked" block, a "forever" loop, and a "if _ then _" block.
Hint: show image
2. Check if the car's Y position is near the bottom of the screen
Hint: show details
To check this, use a green "operators" block called "__ < __" and put it in the "If" blank. In the first blank, drop a "motion" bubble called "Y Position." In the second blank, type -200.
Hint: show image
3. If so, then stop everything as a result
Hint: show details
Find a "control" block called "stop all" and drop this in the "then" blank.
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