Probably a simple solution, but I have a question
I'm creating a game for one of my game design classes using game salad, and I'm hung up on one thing. I have a character who is animated for left and right motion, with my actor sprite being the right facing character, so when I run the left and right motion, it automatically switches to the right facing sprite. I tried using the "Change Image" behavior, but it didn't work, at least not the way I tried it, and by checking the box in the animate behavior that lets you choose whether the animation reverts back to the main sprite or stops where your key press stops made the animation look silly.
Sorry if this has been asked, but I didn't know how to phrase this question in a search.
Sorry if this has been asked, but I didn't know how to phrase this question in a search.
Comments
"I have a character who is animated for left and right motion, with my actor sprite being the right facing character, so when I run the left and right motion, it automatically switches to the right facing sprite. "
I'm reading this as it currently works when you move left and right your graphics represent the direction. Or is this what you are trying to accomplish?
In my actor, I created a rule that says "when d or right key is touched" animation and motion are activated to create the look of a man running. The right motion and animation are fine for all intents and purposes because the sprite I used to represent the actor, the sprite that was created to stand still, is facing right.
The animation for moving left is what is causing the issues. I have a sprite where the standing animation (that should take place AFTER the completion of the motion and animation of moving left) but I cannot get it to work.
So essentially, I move right, then my character stops and faces right. But if I move left, my character stops and flips immediately facing right, when I would prefer to keep him facing left.
Does that clarify what I mean a bit better?
There may be other ways but this worked for me.
EDIT: Nevermind, I got it. I was editing the actor, but I had a prototype on the scene, thats why none of the changes I made had any effect.