Animating
Animation loops are the scripts to simulate movement more lively by switching costumes. We will create different costumes based on the robot costume we just created.
Prepare for lift off
Make two copies of the robot costumes. Name one as left arm up
and the other walk right
.
Engage thrusters
Let's first create a costume called left arm up
. Duplicate the robot costume and name the copy as right arm up
. Then, perform the following steps to update the left arm up
costume:
Press and hold the Shift key. With the Select tool, click on the robot's left arm.
While the Shift key is still pressed, click on the left hand.
Now both the left arm and the left hand are selected.
Use the rotation handle to rotate the arm and hand as shown in the following screenshot:
Using the same technique (duplicate costume, then move or rotate body parts), you can easily create costumes that can be used in animation loops. The complete project includes three costumes, namely robot, left arm up 1, left arm up 2 ,as...