djokster
02-20-2008, 10:12 PM
How do I do this:
*open up the example LakeSkaterDemoStart. Add a penguin to it.
*fix the penguin's "glide" method so it stands up again after gliding.
*give the penguin a method "Hop Around" which makes it do the following:
1. turn in a random direction and walk 2 steps in that direction;
2. turn towards the hole and glide.
*write "my first animation" (you might want to rename it something less
dumb) so that the penguin will repeat "hop around" indefinitely‹ until
someday it ends up on top of the hole. When this happens, it will stop
hopping around, and simply fall .75 meters into the hole.
I am continuously getting stuck on getting the penguin to actually fall into the hole.
*open up the example LakeSkaterDemoStart. Add a penguin to it.
*fix the penguin's "glide" method so it stands up again after gliding.
*give the penguin a method "Hop Around" which makes it do the following:
1. turn in a random direction and walk 2 steps in that direction;
2. turn towards the hole and glide.
*write "my first animation" (you might want to rename it something less
dumb) so that the penguin will repeat "hop around" indefinitely‹ until
someday it ends up on top of the hole. When this happens, it will stop
hopping around, and simply fall .75 meters into the hole.
I am continuously getting stuck on getting the penguin to actually fall into the hole.