10
Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Embed Size (px)

Citation preview

Page 1: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Using MIT Scratch for Programming and Control

Extension work – clock projectYear 9 ICT

Autumn Term 2007

Page 2: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

What you will learn:

• Importing backgrounds

• Editing the size of sprites

Page 3: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Clock project

• In this project you will experiment with importing backgrounds that are not part of the standard set that comes with scratch and also experiment with editing the size of Sprites. Start my downloading a clock face image

• Start a new project

Page 4: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Clock project

• Click on the scissors and select the cat sprite to delete it

• Double click the stage button

• Select the centre tab entitled backgrounds

Page 5: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Clock project

• Click the import button and browse for the clock face

• Note that this isn’t part of the standard files supplied with Scratch and so you may have to browse away from the files initially presented – you can import any background file in jpeg format

Page 6: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Clock project

• Click the centre button below the stage in order to import a new sprite

• Select the Things folder

• Select the clock hand and click OK

Page 7: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Clock project

• Note that the script automatically centres the hand on the page when you run the script

• Note the timer on the clock had is set to 6.

• This roughly corresponds to the speed of a second hand on a clock.

Page 8: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Clock project

• Import two other clock hands

• Rename the hands as Hour, Minute and Second so that you don’t get them mixed up

• Set the speed of the other hands to 0.1 and 0.0017 (these speeds roughly correspond to the speeds of minute and hour hands on a clock)

Page 9: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Clock project

• Edit the size of the hands

Page 10: Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007

Clock project

• You have made a clock!! Click the green flag…