This task requires you to use Scratch. You might have previously downloaded and installed Scratch on your computer, but you no longer need to do that - there is a web-based version.
web-based Scratch editor
Note that the above page opens in a separate window/tab so that you can keep the task open at the same time.
You do not need to register or log in to use Scratch, but if you do register, then your programs are automatically saved and you can easily share them with other people. In order to submit your task, you will need to go to the File menu and download the file to your computer.
Your task this week is to build on your Scratch skills by looking at events, making decisions, and possibly using variables to get your program to respond to user control. Below is a link to a Scratch programs that I have created that use these techniques:
Remember that you can click the See Inside button to see how the programs work.
Steer Me shows that you can get your sprite to take input from the user to change its behaviour. This is a key idea in game design. You can use the Z and X keys to steer the ladybird. The program stops if the ladybird hits the sides. The program also uses a variable, called speed, to store the current speed - i.e. the number of steps that the ladybird takes in one go. It uses the time to increase the speed by 1 every 10 seconds, thereby making the ladybird progressively more difficult to control.
You might find the following tiles useful for this project:
tiles for starting your program - e.g. when the flag is clicked - are found in the Events section:
tiles for moving and turning are found in the Motion section:
the tiles for repeating things and making decisions are in the Control section:
the tiles for getting user input, detecting collisions, etc., are in the Sensing section:
the tiles for drawing are in the Pen section:
you can perform calculations using tiles from the Operators section:
Your task this week is to create a program that responds to user input. It could be something that moves and the user steers (like my example), or it could be something completely different, such as a quiz - the choice is yours!
If you choose to make something that moves, then you might want to think about how you could improve my basic idea in the Steer Me program. For example, you could draw a track on the background to make a racing game. You could even make a two-player version and check whether the cars have bumped into each other.