Project Folders
Teacher Resources
Student Resources
How Do I?
Site Map
Our Team

animate bugs 1 2 3 4 5
Animate Bugs 5
31 KB

Goal:   This project uses 4 shapes to make it appear that the bug is doing flips as it moves across the page.


Vocabulary:   presentationmode

Project Map



  1. Start with your Animate Bugs 4 file.   From the file menu choose Save Project As and name the file Animate Bugs 5 because now you're working on the fifth folder.

  2. Copy your first character shape into three new shapes.

  3. Open each new shape and rotate it.  

    Rotate the first new shape so the character's head points slightly downward.   Name the shape bug3.

    Rotate the second new shape so the character's head downward slightly more than bug 3.   Name the shape bug4.

    Rotate the third new shape so the bug is upside down.   Name the shape bug5.

    (If you use different shape names, then be sure to use the same names in the move procedure.)

  4. Hatch a second turtle onto the page.   This should be the second turtle you have hatched so far.   If you hatched more turtles, this turtle might not be named "t2."

  5. Type a new procedure to make your turtle flip like the one above in the code section.  

    The first line tells the computer which turtle should perform.   t2, means only the turtle named "t2" will do this procedure.   Don't forget to always include a comma after the turtle's name in your procedure.

    Each line of the flip procedure tells the turtle to change its shape, then move forward the amount on the howfar slider, and then wait the amount on the howslow slider.

  6. Make a button labeled flip with the procedure name flip as its instruction and set it to Forever.   Try it with different settings on the sliders.  

  7. Now that you're done making your bug move and flip it's time to show off your project! Type a startup procedure like the one in the code section above.   A startup procedure will run as soon as your file is opened.   This startup procedure includes the code presentationmode which makes the page the only thing on the screen - great for presentations so the audience can focus on the action!

  8. Save your file!

What If?
What happens if you set the howslow slider to a high number and the howfar slider to a low number?
What happens if you set the howslow slider to a low number and the howfar slider to a high number?

Can you add more shapes into your Shapes tab and your procedure to change the animation?

On Your Own - Project Ideas

© copyright 2001 - 2016  OpenWorld Learning.   All rights reserved.