ForumsProgramming Forumim stuck

4 4600
alex57834
offline
alex57834
88 posts
Nomad

I'm making a game and i don't know how to add animations within the player. For example the character does a walking animation while walking to whatever side he is walking. Could u please explain how to do this with action script3 and the frames part.
Any help would be appreciated : )

  • 4 Replies
alex57834
offline
alex57834
88 posts
Nomad

PLZ ANYONE HELP

Secretmapper
offline
Secretmapper
1,747 posts
Nomad

animate, then code.

alex57834
offline
alex57834
88 posts
Nomad

Could you tell me how to do the animating with the frames and then later on how to incorporate that with timers i think or whatever action script code you need.

Secretmapper
offline
Secretmapper
1,747 posts
Nomad

If its about animating, google "Flash Walk Cycle Tutorial". You would be able to see a plethora of tuts that can help you.

For the Code, just add an event listener for whatever button you want the player to use i.e. "D" then have a gotoAndPlay(1); on your mc. Make sure it loops and that it flips when the player walks into another direction.

You are new in this aren't you? If you are, then read this: It will help you

Showing 1-4 of 4