Ready to make your very first program? Let’s get started!
In this activity, first, we will learn how to add a backdrop and a sprite on the Stage and then create a small animation to make Tobi move around the Stage. Let’s begin.
Follow the steps below to add a backdrop.
And that’s it! Your Stage now looks like a nice huge farm!
Follow the steps below to add a sprite.
Now, let’s animate it!
We will set Tobi’s starting position using the following blocks from the Motion palette.
Using the following blocks from the Motion palette, we will make Tobi glide to the different points.
From the Events palette, we will add the following hat block. Now, we can control our animation just by clicking the green flag over the stage area.
The entire script looks like this:
Let’s make another small script to make Tobi rotate.
Maximize the stage and make Tobi glide & rotate! 🙂
Before you move on to the next lesson, a small assignment awaits you!
You must upload the PictoBlox program you wrote in this activity to the website.
Submitting the assignment is a must in order to receive the certificate after completing the course.
Follow the steps below to upload your assignment:
Good luck!