Friday, September 29, 2017

Driving Game Report




First we started making a oval track. This is a very simple track, because is the first and later we do a more complex. This track and the sprites were provided by scratch. Then we start making the scripts.

First must we think how do to you can turn the car. So we put the scripts that are in the black circle. After it, we should make that the car go forward and to go back (circle red and green), that is when things get a little bit difficult.
First we should create a variable called speed. 


This photo above here is the variable. We can use it to move the car foward.
Then we have to consider that when the car touches the grass it goes slower. So use the scripts that are in the blue circle (the secon photo)

When we have finish the game we make a more complex track. Like this Photo under.


We also make optionals variables for "Laps" and for "Gas". The exit goal in the track count the Laps yo do. And the yellow circle recharge the gas. 

This are the scripts you needs to do to count the Laps you do. When you touch the black or white colour of the exit goal it cuount 1 Lap more.


We create the variable "Gas" to makes you know the autonomy of your car or how much gas did you have. You can also recharge your gas in the yellow circle.

To the last we duplicate all this scripts to another car. So you can play a race online with your friend. We painted the car of another color to distinguish them.


And that is how we created the game, we hope you enjoyed it !!! 

Ignacio Fromm and Mateo Burger 2.A

No comments:

Post a Comment