Day 5 Unit 1

Unit 1. Race Game – Events

Today 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.

https://csfirst.withgoogle.com/c/cs-first/en/game-design/racing-game/opening-the-starter-project.html

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.

https://csfirst.withgoogle.com/c/cs-first/en/game-design/racing-game/moving-more-smoothly-with-repeat-until.html