activity 4 - project
Create a race car game. Follow the steps below:
1. Create the background, this will include a track for the car to race. Select a colour for the track. Create trees and other object on your track. Below is an example:
1. Create the background, this will include a track for the car to race. Select a colour for the track. Create trees and other object on your track. Below is an example:
2. Create a sprite racing car. Select your colour.
3. Programme the following controls in your script for your racing car. This will allow your car to move around the stage.
4. Create a crash car (costume 2)
Add to your script so that if the car touches outside the track the car switches to costume 2.
5. Add programming code under a new control command - when green flag clicked, that will position the car in the starting position and switch to costume 1.
Set the pointing position of the car on starting the race.
6. Create a second car, Sprite 2 (different colour). The script will be the same as for Sprite 1.
The changes will need to be made:
- the starting position when the green flag is clicked.
- select keys on the left side of the keyboard to turn the car i.e. the 'Z' and 'X'
7. Create a finish line using a different colour.
Create code to calculate the winner, announce the winner and stop the game.
This code has to entered for each Sprite (car).
Add to your script so that if the car touches outside the track the car switches to costume 2.
5. Add programming code under a new control command - when green flag clicked, that will position the car in the starting position and switch to costume 1.
Set the pointing position of the car on starting the race.
6. Create a second car, Sprite 2 (different colour). The script will be the same as for Sprite 1.
The changes will need to be made:
- the starting position when the green flag is clicked.
- select keys on the left side of the keyboard to turn the car i.e. the 'Z' and 'X'
7. Create a finish line using a different colour.
Create code to calculate the winner, announce the winner and stop the game.
This code has to entered for each Sprite (car).