Game character movement

OK,

This has realy been frustrating me I hope somebody can help me?

I need to know how to have a character on the screen then the player can click anywhere on the playing area and the character will walk to that point.

can somebody please help me work this one out?

Thanks!
:rambo:

HEEEEEEELLP!!!:scream:

well you really have to wait more than 10 or 15 minutes. Now is not really a busy time for the forums, but when there are a lot of people here you usually get an answer about 5 minutes after posting… well here is a tutorial about easing that might help:

http://www.kirupa.com/developer/mx/easing_mouseclick.htm

*Originally posted by kenkamania *
**HEEEEEEELLP!!!:scream: **
:trout: Sois poli si t’es pas joli (proverbe français).

That was perfect but does anybody know how I could now get the character to rotate and face the mouse wherever it is on the screen and wherever the character is also.

I have tried all the scripting I can think of.

Can anybody help?

                                                                             :sigh:

Hi i’m new to forums and just saw your query. You probably dont even need help anymore as you probably figured it out. But if not here is a fla file which i think achieves what you want. I a flash noob myself so i hope its what u want :D. If you have any queires on the code feel free to ask.

Works great!

Does anybody know how I can get the character to move his arms and legs when he walks :q:

I would be so grateful!!!

:wink:

Getting him to move is arms isn’t that hard. Draw it in the mc, and just a goto frame when you press a button.

I am no ac guru, so this script isn’t right, but I guess it would look something like this.


on mouse_release
goto and play frame 2

whatabout boundaries, can someone please teach me how to add a boundary that you cant click and goto…