I am BEGINNER…
Sorry to ask I know its kind of beginners question but I am actually stuck with it here is my problem:
I have a Sprite-sheet set and in the stage I have 3 buttons each does walk left,walk right and last button does the action like attack etc.
I am able to use listeners to walk left and right but the last button to do action like multiple punches how?I am able to add a listener while I walk from left to right to do punch but as soon I walk from right to left?and press the button it still does the punch from left to right and I want form right to left???
if I walk left to right I need a right punch
if I walk right to left I need a left punch
BUT its only ONE button do I need multiple listener for one button if so (HOW)
can someone give me an example code for this problem I have!!
Thank YOU…
[import]uid: 122701 topic_id: 23520 reply_id: 323520[/import]
[import]uid: 52491 topic_id: 23520 reply_id: 94415[/import]