Home
Project Folders
Teacher Resources
Student Resources
En ESPAÑOL
How Do I?
Vocabulary
MWForum
Site Map
Search
Our Team

animate me 1 2 3 4 5
Animate Me 2
Download
8 KB


Goal:   You can make a person appear to dance by telling the turtle to change its shape back and forth between two mirror-image animation shapes.


Screenshot


Vocabulary:   setsh (setshape), wait

Code
Shapes
Project Map

code


Notes

  1. Start with your Animate Me 1 file.   You always start with the previous MIA file so you don't have to redraw things or rewrite code.

  2. From the File menu choose Save Project As.   Name your file Animate Me 2 since you're working in project number two now.

  3. Hatch a new turtle onto the page by clicking on the turtle button in the toolbar and then clicking on the page.   You only need one turtle for now.

  4. Now you're ready to teach the turtle a new word with a procedure! In the Procedures tab, type the dance procedure as shown in the code section above.  

    Procedures ALWAYS start with the word to.   This procedure is called dance so the first line of code is to dance.

    Setsh means "set shape."   Setsh "me1 tells the turtle to wear the me1 shape.   Setsh "me2 tells the turtle to wear the me2 shape.   Don't forget the " before the name of the shape!

    Wait 2 tells the turtle to wait a little bit before going on to the next command.  
    Wait 10 means "wait one second."  
    Wait 1 means "wait 1/10 of a second."
    Wait 2 means "wait 2/10 of a second."   This is a good dancing speed!

    Procedures ALWAYS finish with the word end on its own line.

  5. Create a button and label it dance.   Set the button instruction to dance and make it do it Forever so that your character will keep on dancing.   Try it out!

  6. Save your file!




What If?
What happens if you try wait 1 or wait 5 or wait 10?


Challenge
Can you change the dance procedure to include all three shapes in your Shapes tab?


On Your Own - Project Ideas





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