ForumsProgramming Forumim stuck

4 1767
alex57834
offline
alex57834
88 posts
445

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
445

PLZ ANYONE HELP

Secretmapper
offline
Secretmapper
1,753 posts
370

animate, then code.

alex57834
offline
alex57834
88 posts
445

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,753 posts
370

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