A Dance Animation
π― A character dances to a beat, changing costume in time with a drum.
π‘ The idea behind it
Animation is nothing more than changing the picture quickly. Timing is what makes it look alive.
π§± Blocks you will need
forevernext costumewait 0.2 secondsplay drum 1 for 0.25 beatschange colour effect by 25
π¨ Build it
- Choose a sprite with several costumes β the Cassy or Champ sprites have dance poses.
- Build: when flag clicked β forever β next costume β wait 0.2 seconds.
- Run it. Then change 0.2 to 0.05 and to 1, and notice how completely the feel changes.
- Add a drum inside the same loop so the beat and the movement match.
- Add 'change colour effect by 25' for a disco floor.
π Make it harder
- Add a second dancer that moves on the opposite beat.
- Change the backdrop every eight beats using a counter.
π Bugs you will hit
- It flickers too fast to see: your wait is too short, or missing altogether.
- Only one costume shows: that sprite has only one costume β pick a different sprite.
β¬ Need Scratch itself?
Free from MIT, in a browser or as an offline app that needs no connection at all.