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

animate me 1 2 3 4 5
Animate Me 3
Try It
61 KB


Goal:   Control your speed with a slider.


Screenshot


Code
Shapes
Project Map

code


Notes

You can use a slider to control the speed of your dancing turtle.

  1. Make a slider and name it howfar?.   Keep its minimum set to 0.   You can keep its maximum set to 99 or choose a different maximum.  

  2. In the procedure, instead of typing a number after fd, you will use the name of the slider.   Fd howfar? means "move forward the number of turtle steps on the howfar? slider."   The higher the number on the slider, the farther the turtle will move.




What If?
What happens if you move the howfar? slider while your person is dancing?
What happens if the slider is set to 0?
What happens if you change the minimum and maximum numbers in the slider's dialog box?


Challenge
Can you change the slider's name and change the procedure so that your person still dances?

Can you add another slider to control your character's heading?


On Your Own - Project Ideas





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