🦇 Scratch Bats Activity Pack What will you need?
The Scratch website. It is free to use and works on all devices.
What will you learn?
Use repeat and glide code blocks to program movement.
Use repeat and costume code blocks to program an animation
1. Moving Bat
Add a bat sprite from the library and a stage (you could find one from the Internet), then use the glide and repeat code blocks to get your bat moving around the screen.
​Experiment with the number of glides to get the bat moving to different places.
2. Change costume
Add another ‘When Green Flag clicked’ block and then use the switch costume and wait code blocks in a forever loop. Experiment with the wait time.Â
Challenges
– Can you add multiple flying sprites?
​- If you want your bat to look like it is flying the other way then use the costume editor to flip your sprites.
Use a random variable (Green code blocks) and add it to the x or y numbers to make your bat fly to random places.