Community

HELP PLEASE

Thread Locked

Posted Sep 4, '10 at 10:00am

jimmy155

jimmy155

39 posts

Iron - Serf

i know how to make a player move, but how do i make it so when you click somewhere, he moves to where you clicked? please help, actionscript 2.0

Posted Sep 4, '10 at 2:46pm

25wes25

25wes25

320 posts

Gold - Squire

Tutorialized.com click flash then flash games best site out there.

 

Posted Sep 30, '10 at 11:17pm

25wes25

25wes25

320 posts

Gold - Squire

did you try Tutorializede.com i was first post thats the best site or cartoonsmart freebies

 

Posted Oct 2, '10 at 4:03am

BrendanJB

BrendanJB

11 posts

Wood - Serf

Made a little example for you to give you an idea on where to start.
Download the example here - http://www.mediafire.com/?88zfirebxncy8 … ssentially you are doing 3 things:
1. Making your hero/character check two variables.
2. If the hero's X and Y don't match those variables, the hero will move until they do.
3. Clicking any point on the screen changes the variables.

It's not the best, or the most accurate, method but it gets the job done and is easy to understand. Hope that helps!

 

Posted Oct 2, '10 at 4:04am

BrendanJB

BrendanJB

11 posts

Wood - Serf

...My post seems to be all muddled up for some reason :/
Here is the link again:

http://www.mediafire.com/?88zfirebxncy8zb

 

Posted Oct 2, '10 at 10:05am

jimmy155

jimmy155

39 posts

Iron - Serf

i have flash 8 actionscript two, it won't open D:
"unexpected file"

 

Posted Oct 2, '10 at 12:13pm

25wes25

25wes25

320 posts

Gold - Squire

You need to get an FLA extractor aka Viruses

 

Posted Oct 2, '10 at 8:56pm

BrendanJB

BrendanJB

11 posts

Wood - Serf

Oh, sorry Jimmy. Here's a Flash8 file:

http://www.mediafire.com/?zrke4c8bac3ioq9

Good luck!

 

Posted Oct 3, '10 at 7:08pm

jimmy155

jimmy155

39 posts

Iron - Serf

Wait, how do i make it so it animates the walking movements.

 

Posted Oct 3, '10 at 8:52pm

25wes25

25wes25

320 posts

Gold - Squire

You create a movieclip and make 3 frams a standing still frame and a left and right frame/frames then instance the frames Left Right Still or watever you want to code it as.

 

Posted Oct 3, '10 at 9:14pm

25wes25

25wes25

320 posts

Gold - Squire

I forget im not at my comp but im pretty sure you just instance RIGHT and LEFT to the if key is down RIGHT