Want to create interactive content? It’s easy in Genially!

Get started free

Animation with Scratch

Nurul Sahira Yasmin

Created on November 7, 2023

Start designing with a free template

Discover more than 1500 professional designs like these:

Transcript

Animate with Scratch

What are we learning today?

1. Introduction to Animation with Scratch

2. Variables

3. Events

4. Tutorials

5. Discussion

Introduction to Animation

Traditional animation involves hand-drawing or painting each frame, which is then photographed or scanned to create the illusion of movement. Classic examples include the works of Walt Disney, such as "Snow White and the Seven Dwarfs."

What is Animation?

It is a visual technique that brings inanimate objects or images to life, making them appear as if they are moving, evolving, or changing over time.

2D animation uses digital tools to create two-dimensional images and characters. It's commonly used in cartoons, web animations, and explainer videos.

3D animation uses computer-generated imagery (CGI) to create three-dimensional objects and characters. This type of animation is used in video games, movies, and architectural visualizations.

Why is Animation Important?

  • Entertainment
  • Education
  • Visualization and Simulation
  • Gaming
  • Storytelling

Animate your Name

Imagine a World

What is a Variable?

a variable is a container of sorts that can hold one piece of information at a time, like a word or a number.

Think of a variable as a special box where you can put different things, like numbers or words, and you can give this box a name. In this example, we want the variable to store information for the football match score. So, we will give the name "score" to the variable. We can now input a number (which is the score) to the variable.

SCORE

Scratch contains the following variables blocks:

  • Variable: This block is used to reports the value of a variable
  • set variable to 0: This block sets a selected variable to a specified value.
  • change variable by 1: This block changes the value of the selected variable.
  • show variable: This block display the specified variable in the project player.
  • hide variable: The block reverses the “show variable” block.

How to make variables?

2. User-define variable: In case the user wishes to make his own variable, with a different name, then click on the “make a variable” button in the variable palette.

1. Using build-in variable: Scratch has an inbuilt variable named “my variable”, so the users can directly use that.

How do we use variables in Scratch?

The two sprites are moving in the same exact way but it has different blocks used. How?

It helps in writing efficient and less time-consuming scripts. As a variable’s value can change, variables are often used in blocks that contain a number. Lets look at an example:

Without using variables

  • In this scenario, we are directly giving instructions to move the object by specific amounts (3, 4, and 5 steps) in the x-direction, with pauses in between.
  • We have to repeat these instructions for each step of movement, which can become repetitive and time-consuming.

With variable

  • In this scenario, we are using a variable to control the amount of movement.
  • Instead of repeating similar instructions multiple times, we create a loop or a set of instructions that change the value of the variable by 1 in each iteration.
  • This way, we can make the object move with the desired increments and pauses more efficiently, without repeating the same steps.
  • The use of variables makes the animation more flexible and easier to manage.

What are Events?

  • Events in programming are like the starting points for actions or things that happen in your animation.
  • They are like triggers that tell your animation what to do.
  • Events are super important because they make your animations interactive, meaning they can respond to what you do.

Scratch Animation Tutorial

Glide Around

Changing Colours

Add Conversations

Spin

Move in Different Directions

Play Sounds

Dancing to the Beat

Changing Backdrops

Enter and Exit Stage

Change Sizes

Discussion

Talk about your favorite elements of your project, such as a particular character, animation sequence, or interaction. Why are these elements your favorites?

What inspired you to create this animation or story? Is there a favorite movie, book, or real-life experience that influenced your idea?

Were there any challenges you faced during the project? How did you overcome them? Share any problem-solving techniques or strategies you used.

Congratulations!

How to change the colour of the sprites:

Step 1: Choose a Sprite from the GalleryStep 2:

How to move sprite in and out of stage:

Step 1: Choose a sprite.Step 2:

How to make the sprite spin:

Step 1: Choose a sprite.Step 2:

How to change size of sprite:

Step 1: Choose a sprite.Step 2:

How to add sounds:

Step 1: Choose a sprite.Step 2:

Step 3:

How to change backdrops:

Step 1:

Step 2:

How to make sprite glide around:

Step 1: Choose a sprite.Step 2:

How to move up, down, left and right:

Step 1: Choose a sprite.Step 2:

How to make sprite move with the beat:

Step 1: Choose a spriteStep 2:

Step 3:

Step 4:

How to add conversations:

Step 1: Choose two sprites. Step 2: