In this add-on,
you will make the racer sprite do tricks
when you press a key on your keyboard.
First, select the racer sprite.
Then add a When Key Pressed block.
Use any key you like.
Now, it's up to you to add blocks to this stack
and program the sprite to do a trick.
Here are some examples of tricks,
or you might do something you come up with on your own.
Make it do a back flip.
The sprite can change colors.
Or the sprite might start singing during the race.
You can even program different keys
to do different tricks.
Experiment with different block combinations
and program an awesome trick for the sprite.
All right here's the game plan.
Make the racer sprite do a trick
when you press a key on the keyboard.
Here are some blocks you can use to create your trick.
Keep track of how long a racer stays alive and display the score.
Program your racer to do a cool trick at the press of a button.
Create a power up that shrinks the racer.
Add a sound that plays when the racer crashes into an obstacle.
Sign in to save your project and track your progress.