Forums

ForumsProgramming Forum

im stuck

Posted Mar 24, '12 at 4:33am

alex57834

alex57834

89 posts

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 : )

 

Posted Mar 26, '12 at 8:41am

alex57834

alex57834

89 posts

PLZ ANYONE HELP

 

Posted Mar 30, '12 at 4:34am

Secretmapper

Secretmapper

740 posts

animate, then code.

 

Posted Apr 2, '12 at 4:52am

alex57834

alex57834

89 posts

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.

 

Posted Apr 2, '12 at 10:53am

Secretmapper

Secretmapper

740 posts

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

 
Reply to im stuck

You must be logged in to post a reply!