Skip to main content
Known Participant
December 21, 2010
Answered

URGENT..CODES AND INSTRUCTION

  • December 21, 2010
  • 1 reply
  • 374 views

GOOD DAY!

RIGHTNOW, Im doing my game development but I have problem based on my game control.

this is my question..

I have two frames. the first frame is on running movement of the character and the second frame is on standing position.

This two frames has only one kind of character,

but I seperated the two movement in two frames witch are running and standing positon.

my problem is how can I do the mouseEvent,

if onclick the character will continue on running and if on release the character will do is to standing position.

thank you.please help me.

This topic has been closed for replies.
Correct answer Ned Murphy

Use MouseEvent.MOUSE_DOWN for what I think you are calling "onClick" and MouseEvent.MOUSE_UP for what I think you are calling release.

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
December 21, 2010

Use MouseEvent.MOUSE_DOWN for what I think you are calling "onClick" and MouseEvent.MOUSE_UP for what I think you are calling release.