Game Development Reference
In-Depth Information
Now, click the play button and see how it looks, and if he walks to where you want
him to. He does? Great! Only one problem, he's walking but not animating. No
problem, let's drag in an Animate behavior into the timer. From here, drag in the
walking images to form the animation. Again, you will have to play around with the
speed to make sure it looks right.
Check your behaviors with the preceding image. You should have a timer set for 5
seconds, a Move behavior, with the direction set to 0 , and speed set to 85 , then an
Animate behavior with our walking animation.
If everything works, you can do the same for any background element you may have
in the scene, such as the bat that I added in the scene. But instead of having a timer,
just have a Move and Animate behavior so it's constantly moving, and animating.
You can also use a Move To behavior to make the actor move to a specific location,
or object.
 
Search WWH ::




Custom Search