Changing sprite costumes
Every sprite has at least one costume; some have several – for example the cat’s two walking poses. Costumes appear on the Costumes tab. There you can choose a new costume, paint your own, upload from the computer or pick one at random, and also recolour or change an existing costume with the paint editor. In the program the “next costume” or “switch costume to ...” blocks from Looks change the costume. To make movement look alive, add a short pause between costumes with the “wait” block (for example 0.2 seconds) and put it all inside “forever” or “repeat”. To add a sound to a sprite, choose a sound on the Sounds tab and add the “start sound” block in the code. If you use headphones, keep the volume low. Two separate scripts can run at the same time: one switching costumes, the other playing music.
Hold an old film strip to the light and you see rows of small pictures, each a little different from the one before. Shown quickly one after another, they seem to move. This is how animation comes about.
An animator draws movement frame by frame, a game artist prepares a character’s costumes, and a film director arranges images in a sequence.
Watch a person walking and write down in your notebook four different leg positions during one step; they are like a sprite’s costumes.
“Flip-book”: pupils draw successive poses of a stick figure on 5–6 pages and flip the pages fast to see movement – just like switching costumes.