why does key down action with move animation not properly cycle?
jrose
Member Posts: 1
Hey- I'm a newbie to Game Salad- but I've worked with a variety of other software. I'm trying to just figure out some basics before trying to create anything original. I'm trying to setup simple key press left or right to move a character in that direction. I'm using Mega Man 8-bit sprites since I'm just testing things out. These are the steps I did- the movement works, but the run animation is interrupted by the 'standing' animation when I hold down left or right to move in that direction:
-I create an actor for the character and add eye blinking animation. (shows when character is standing)
-I add a 'move' rule and set it to trigger the following action when the right key is down:
--'move' behavior (stacked or additive seem to do the same)
--'animate' with the run cycle
I then duplicate that and change it to listen for the left key and have him move left.
Anyway, like I said, the movement works- but the animation periodically tosses in the a standing/blinking frame while I'm moving across screen. While standing still, the standing/blinking animation works fine.
Anyway, this seems like it should work... is this just a bug or is there a better way of setting this up?
I realized I could probably setup separate actors for standing and running and use 'destroy', but I was hoping to setup everything with one actor. If that's the best route... I'd just like to know.
Any thoughts out there? I did a bit of searching in the forums.. but it's getting late and I'm heading to bed.
Thanks!
-I create an actor for the character and add eye blinking animation. (shows when character is standing)
-I add a 'move' rule and set it to trigger the following action when the right key is down:
--'move' behavior (stacked or additive seem to do the same)
--'animate' with the run cycle
I then duplicate that and change it to listen for the left key and have him move left.
Anyway, like I said, the movement works- but the animation periodically tosses in the a standing/blinking frame while I'm moving across screen. While standing still, the standing/blinking animation works fine.
Anyway, this seems like it should work... is this just a bug or is there a better way of setting this up?
I realized I could probably setup separate actors for standing and running and use 'destroy', but I was hoping to setup everything with one actor. If that's the best route... I'd just like to know.
Any thoughts out there? I did a bit of searching in the forums.. but it's getting late and I'm heading to bed.
Thanks!