SCRATCH GOLD II
SCRATCH GOLD I
2 of 3

4.02 Create a controller

Start by creating a controller that the player will use to collect dots.

Open the ‘Catch the dots’ Scratch starter project.

Online: open the starter project at dots-on.\

You should see a controller sprite:

screenshot

Add some code to the controller sprite to make the sprite turn right if the player presses the right arrow key:

Controller sprite

Test your code. The controller should spin to the right when you press the right arrow key.

Add code to the controller sprite to make the sprite turn left if the player presses the left arrow key.

Controller sprite
×
×

Cart