Day 4 optional race game
Race Game – Events
Here is something extra you can work on on Friday or during the weekend!
We’re going to learn about a computer science concept called events while coding a racing game. We will start with watching the video below together.
Let’s open up the starter project for race game.
https://scratch.mit.edu/projects/20619111/#editor
We will first learn how to move the sprite forward, left and right with the arrow keys up, left and right.
https://csfirst.withgoogle.com/c/cs-first/en/game-design/racing-game/move-the-sprite.html
Now let’s make the sprites move more smoothly, using the “Repeat Until” block.
Here are some things you can add on to your Race game.
https://csfirst.withgoogle.com/c/cs-first/en/game-design/racing-game/add-ons.html