How to do Animation in Scratch?

Bat ANimation
About This Tutorial
Creating animation is one of the most important application of Scratch. In this tutorial we will make a flying bat animation.
Tutorial Info

In the previous tutorial, you learn about stage and sprite. In this tutorial we will make a small animation for flying Bat sprite with brick wall as a stage background.

Lets get started 🙂

Follow the following steps to make the project:

  • First you have to setup the stage. Select stage and import ‘Brick Wall 1’ from the Background library form file menu.
  • Choose the bat sprite from the library. Delete the panda sprite.
  • Place the bat above ground as shown in figure.
  • The bat have two costumes (bat1-a and bat1-b) to make the flying animation of the bat.
    Bat Costumes
  • To change the costume of the bat, you have to use switch costume block from looks palette. In the drop down menu you will get the option to change the costume to bat1-a or bat1-b.
    Swich costume
  • Once you click on the block, it will be highlighted and the command will be executed. To animate the bat at a certain speed, we will add wait block from control palette for 0.5s. Then, we will again switch costume to bat1-b.
  • When you click the scirpt, the bat will change costume to bat1-a, wait for 0.5s, switch costume to bat1-b and wait for 0.5s. This happens only once. Thus we will add forever block from control palette, to repeat the process.
  • Again for running the script you have to click on the script. To run the script, whenever an action is perform, you add hat blocks. In this case we will add when flag is clicked block from event palette.

Your animation is ready 🙂

Bat ANimation

Share this Tutorial
Share on facebook
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
Print
Related Projects & Tutorials
Fly Bat
Scratch: How Sprites Interact?
Each sprite has its own scripting area, where the scripts are written perticularly for that sprite. This tutorial shows how two sprites can communicate.
All articles loaded
No more articles to load
Featured Projects
Space-Battle-Game on Scratch
Space Battle

This project will show you how to make a cool space battle game on your own in PictoBlox (Scratch-based programming) and play using your Smartphone!

All articles loaded
No more articles to load

Leave a Reply

Close Menu
×

Cart