start and stop animation
Dooki
Member Posts: 247
Whew, just got back from vacation and I feel that I need to relearn GS all over again! Bummer.
OK, so my actor is in top view.
-I have it set up so he moves to the location I click.
-I have the animation for walking, however, when he arrives at the tapped location the walking animation continues (walking while stationary).
-I want the animation to stop when the actor stops, and then start again when he move again.
-I have a ping file for "standing" mode but I don't know how to swap this with the animation when he stops moving.
Q: What's the set up to turn on the off the animation when the actor is NOT moving?
Thanks!
Oh, and I have searched the forums and found a thread on stopping an animation when the actor hits a wall. Mine is a little different. Thanks again.
OK, so my actor is in top view.
-I have it set up so he moves to the location I click.
-I have the animation for walking, however, when he arrives at the tapped location the walking animation continues (walking while stationary).
-I want the animation to stop when the actor stops, and then start again when he move again.
-I have a ping file for "standing" mode but I don't know how to swap this with the animation when he stops moving.
Q: What's the set up to turn on the off the animation when the actor is NOT moving?
Thanks!
Oh, and I have searched the forums and found a thread on stopping an animation when the actor hits a wall. Mine is a little different. Thanks again.
Comments
Then, in your actor, put the animation in a rule that only works when "walk" is true.
_________________________
HOLY NOSE JOB!: Nesen Probe: Is this the single most unappealing game in the history of GameSalad? I can't seem to give it away! Anywhere. But if anyone want's to try it out, codes are still available near the end of the thread! http://gamesalad.com/forums/topic.php?id=8097
Actually my setup for movement is a self targeting X,Y. There is no action to tell it to stop. Will your advice still for this? Thanks.
[IMG]http://i25.tinypic.com/zyemag.jpg[/IMG]
Hey, how did you get my image to embed?
- I created a game boolean attribute (Walking)
- In my actor I put the animation into a rule that says: When Walking is true: run animation.
Q: So how do I go about setting up "when Walk is false?" I mean, do I then create a new rule that when Walking is false: no animation? If not a new rule, am I adding this to the "Otherwise" tab?
Thanks!
As is, being a separate rule, my actor just appears as a white block.
Lastly, I still don't understand how to set up the Walking=false.
Thanks!