Multiple attacks with one button on a Beat'em up style game

ToecutterToecutter Member Posts: 19
edited August 2013 in Working with GS (Mac)
I'm working on an old school style scrolling beat'em with just 2 buttons, A = attack & B = jump. Is there a way I can make the attack button perform different attack animations? Example would be Attack pressed once = punch, pressed again = kick.

I'm thinking it might be possible with a Interger replacing my Boolean Heroattack rule?
So if the attribute heroattack (interger) = 1
do
animation punch

then
attribute heroattack (interger) = 2
do animation kick

Am I on the right track?
Thanks

Answers

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Sounds ok to me. Or randomise the attack and number each time the button is pressed.
Sign In or Register to comment.