Click here to Skip to main content
15,887,256 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Pls what are the things I need to write in this type of topic? "Design an implementation of a car race game using Scratch"

What I have tried:

I tried starting the introductory part of it
Posted
Updated 2-May-16 11:44am

1 solution

Step 1: Create a sprite of a racing car then make three copies of it.
On the first copy make the wheels point left, and on the third copy make them point right.
Name them appropriately.

Step 2: Make the background image a black oval (the track) on a green filled in rectangle (the grass)

Step 3: Select two keys for left and right. Z and X are traditional.

Step 4: Create the code to rotate the three sprites +5 degrees if z is pressed and -5 degrees if x is pressed.

Step 5: In a loop, move forward then pause for (say) a tenth of a second

Step 6: If the colour under the sprite is green end the game with a big crash
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900