Friday, May 18th, 2012

Adobe flash cs4 Game tutorial: Character Movement and Animation

27


Learn to create Movement and Animation with characters Adobe Flash CS4 and action script 3. Hero: www.flyingyogi.com AS3 File: www.senocular.com My Site: onenterflash.blogspot.com

Related posts:

  1. Flash CS4/CS5 Platform Game Tutorial: Character Animation
  2. 1. Flash Dress Up Game Tutorial Actionscript 3.0 CS4 CS5 CS5.5 Doll Character Model
  3. lynda.com Tutorial | Flash Professional CS5: Animation Projects—Adding bones to a character
  4. 2D Character Animation in Adobe Flash – Part 1
  5. Flash AS3 Camera Tutorial – 2 – Cursor and Begin Character Movement

Comments

27 Responses to “Adobe flash cs4 Game tutorial: Character Movement and Animation”
  1. santagotback101 says:

    when i put in my walking animation to my stnad, it denies and says i cannot put a symbol inside itself… slow down and freaking make this easier to understand!

  2. guny12345 says:

    i love your tutorials but now i have an problem .. there stand : rigthbrace before end of the programm necessary.. what i shoud do ?

    when i push Ctrl + Enter ..
    die figur just move the moves still and walking but but does not move there ..

  3. theussification says:

    @pureownage779 ,
    You get this error because at the onenter function you typed:
    function onenter (e:Enter):void(

    It should be:
    function onenter (e:Enter):void{

  4. pureownage779 says:

    I get a different error: (Destricption:1158:Syntax error: missing left brace ({)…) (Source:function onenter (e:Enter):void(

    I’ve never done this before so i dont know if im supposed to put in something different instead on onenter, like you just used it cause it was a tutorial, or you have to use it to get it working, Please help me

  5. zeldadoghouse says:

    ok so my recent posts wer supposed to be replies but it glitched and put all my comments on the top :P so sorry if they seem out of place

  6. zeldadoghouse says:

    I have had the same problem too, ive tried making the frames inside the hero class have stop(); on them and having the hero.gotoAndStop be gotoAndPlay, it didnt work, ive tried going inside of the animations inside the class and making the end of it have a gotoAndPlay sending it back to the beginning of the animation, and keeping the gotoAndPlay of the actionscript and that still didnt work, its quite frustrating and I still dont know how to fix it

  7. zeldadoghouse says:

    thats the basis of most animation actually, most games (big ones) have hundreds and hundreds of symbols movie clips buttons sound files and things like that. and another thing is, why not? it makes it harder to make changes on the character in the end if you need to borrow a few of the animations for perhaps a cutscene or even another enemy/character.

  8. zeldadoghouse says:

    you are obviosly trying to put the item inside itself, just make another movie clip and put both in there, walking and standing, also make sure they are in separate frames

  9. zeldadoghouse says:

    F9 key in case you havent figured it out in 5 months

  10. zeldadoghouse says:

    you might need to make sure that the KeyObject file is in the same folder as your flash file, also make sure that it is directed at your game, to do that, open it up, and at the top right corner of all the text should be a dropdown box, click it and make sure its selected on your game, this can also be prevented by making specific folders for your games

  11. zeldadoghouse says:

    actually even better, make sure its a PNG format, the background is invisible when put onto flash

  12. TheMoocowmoo says:

    I dunno why this gave me so much trouble before. Seems so easy now. Thanks!
    Good tut. Stay awesome.

    [p.s. I had to import it in the .fla like "import KeyObject" to make it work, but when I made it my document class it didn't work... any ideas?]

  13. TheMoocowmoo says:

    @vamuseupload This entire tutorial is just making the as3 work like as2. All it is is the key.isdown working in as3. just use key.isdown code. The other as in the tut isn’t really hard to figure out, I think the only thing as3 specific is the scaleX…

    Not that hard to figure out. [and Bioshock was an awesome game]

  14. mmkirby2 says:

    LOL thanks for this tutorial. I was messing around and added kirby.rotationZ-=9 when left is pushed. It looked fucked up. 5 stars, keep teaching us bro.

  15. mmkirby2 says:

    Tutorial was awesome, worked perfectly and am messing around with Z Axis/Y Axis. Onto rotation!

  16. RedraWar says:

    I’m trying to do this with an animated ‘still’ and get the errors:
    1119: Access of possibly undefined property x through a reference with static type Class.
    1119: Access of possibly undefined property scaleX through a reference with static type Class.
    1061: Call to a possibly undefined method gotoAndStop through a reference with static type Class.

    Any tips on how to solve this would be greatly appreciated.

  17. stickman2012 says:

    i try doing the same thing with a y-coordinate but the animation won’t work.

  18. vamuseupload says:

    i dont doubt that there are but i need this particular script for as2 because the project im working on needs it, thanx

  19. Hi32451 says:

    @vamuseupload
    there are tons more videos on as2 then as3.

  20. 4kakiller says:

    A great tuturial but could u also show us how to make a back ground and lvls? =DD

  21. vamuseupload says:

    could i please get this script for as2?
    thank you kindly

  22. FadiFlashi says:

    Thanks =D

  23. zizikelizike says:

    thx

  24. agilix2 says:

    @zizikelizike
    u can right click it , and select “break apart” or press ctrl+b . and then erase the black

  25. zizikelizike says:

    the background of my hero is black how come?…

  26. LordArach says:

    Awesome tutorial! Everything worked great except for one thing. When the movement starts it sticks on the first frame of the animation movie clip and won’t play the rest of it so it looks like my character is just gliding. Any advice?

  27. Andy says:

    I’ve done this tutorial three times now and it doesnt work. The hero moves but doesnt walk whilst moving – I’ve tried in CS3 and CS5 and still cant get it to walk. I understand the logic of this tutorial, any help appreciated.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Powered by WP Robot