School Logo
  Home       Parents       News       Pupils' Work       MA&T Programme
   

You are here MA&T Scratch All About Me: Santa

Script for 'north_pole_background'

All files for this project (sprites & sound files) are on the public folder on the school's Intranet)

Import new background called "north_pole_background" and delete the original background. Import the sound file called " Santa Claus is coming to town" and follow script as in the diagram.

 

 

Script for 'Santa'

Import new sprite called "Santa" . Continue with the script as in the diagram opposite creating a new variable called "showing".

We place the Santa sprite at X: 148 and Y: -51 so that the shading in the background lands under Santa's feet - this makes it look more realistic!

The Santa sprite comes with two costumes - you can always edit these.

 

 

Script for 'Santa'

If you wish to have the costume change randomly use the script on the left.

 

 

 

Script for 'reindeer'

Choose a new sprite from file called "reindeer"

Continue with script as in the diagram opposite.

   

Script for 'snowflake1'



 

Choose new sprite from file called "snowflake1" - it comes with two costumes (you may decide to edit these later).

Place snowflake1 in the bottom left corner of the screen leaving it high enough from the bottom for the word 'Santa' to be displayed.

 

Script for 'snowflake1'

Create a new broadcast called "santa"

Continue with the script as shown in the diagram opposite.

You will need to create a new broadcast called "santa"

 

Script for 'snowflake2'

Choose new sprite from file called "snowflake2" - it comes with two costumes (you may decide to edit these later).

Place snowflake2 in the bottom left corner of the screen to the right of snowflake1 leaving it high enough from the bottom for the word 'Rudolph' to be displayed.

 

Script for 'snowflake2'



 

Create a new broadcast called "rudolph"

Continue with the script as shown in the diagram opposite.

 
Choose new sprite from file called "North Pole" - it comes with costumes which we will use for the information about Santa and Rudolph when the snowflakes are clicked on with the mouse.
   

Script for 'North Pole'

Continue with the script as shown on the left creating a new variable called "stop".

(If you use the duplicate option it will speed up things quite a bit)

 

   

Remainder of script for 'North Pole'

Continue with the script as shown on the left.

If your snowflakes are showing when the information on Santa or Rudolph are showing right click on the 'Nort Pole' sprite and click 'show'. When you click the green flag it will run properly.

Have fun changing it about orusing the program to write about yourself or someone famous.