Exercise: Animation of Objects
Open the following snap! project:
▶️ Time to Animate Alonzo!
Ready to bring your code to life? Let’s dive in!
Click the 🟢 green flag at any time to restart your program — it’s like hitting the reset button.
Then, press the 1
key on your keyboard to run the first example script.
🧠 Your Mission:
Complete the next three scripts so that Alonzo (your sprite buddy!) performs the actions described in the little comment bubbles attached to each one.
These are small challenges to help you practice your Snap! skills — you’ve got this! 💪
🎨 Time to Get Creative!
Once you’ve finished the tasks, it’s your turn to get creative:
-
🕺 Animate Alonzo in fun, original ways
-
💬 Make him say sentences about why he loves the EU
-
🧩 Use any of the blocks from the reduced command palette — everything you need is right there!
💡 Pro tip: The first two blocks in each script are just there to reset the stage before your animation starts. You don’t need to change them — focus on the fun part!
Feedback
We appreciate your feedback! It helps us continuously improve our course materials.