Check back here for hints and clues on how to build your version of SPARK Racer! At the end of the week, we’ll post the tutorial to show you how to build the game!
This weeks’s Student Project is a bit tougher than in week’s past. This week, you’ll be creating a racing game! The game has a few rules that you have to follow, but it should be fun!
Rules for SPARK Racer:
- The game has to have at least 1 player with 3 computer racers and a maximum of 4 players with no computer racers.
- A top speed is required! Your cars have to be able to accelerate from a stand-still but cannot go faster than a certain speed.
- Player cars cannot leave the track area! You should not allow player cars to enter the grass areas.
- Player cars have to reach each of the checkpoints in order (no skipping!). You can see them displayed as white strips on the sample.
- Each race has to have a programmable amount of laps that can be changed. The current lap number should be displayed on the map above the track.
- For some added challenges, add a timer for each car on the track. Alternatively, you can ignore rule #2 and allow them to drive off the track but force them to still follow the checkpoints in order and make sure that they’re crossing them in the right direction!
Hint #1 – Scratch has tools for sensing when a sprite is touching a specific colors. You’ll find these blocks under the “Sensing” category. Try using these blocks to keep the player on the track.