Added: 3 years ago
From: VampieGames
Views: 6,680
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (55)

Sign In or Sign Up now to post a comment!
  • what code are you using? is it called dreamweaver cs3?... and were did you learn to do it from scratch? ex:website, youtube ect. thanks

  • @H4ppyGoHeadshot the code is actionscript 2, the program is flash cs3 and i learnt it from watching several videos and reading up at the library, i also got some help on forums

  • Comment removed

  • I need help

    alone and saw this video when I give you to play the next frame and nothing happens

  • Wow. What a willy you are

  • @IlovePOTO3 i know!

  • lol i'm learning from a 4 year old ^^

  • I did exactly the same thing but then with moving shoes and it works ;D thnx dude

  • i have a question: i made a game with a movieclip (that is a gun) that contained a frame called "reload". in this frame i created a movieclip which the player reloads the gun. so i wrote the actionscript with something like "if (bullets=0) { this.gotoAndStop("reload"); }". it may look right, but when my bullets are exactly 0, the frame is loaded but the movieclip with the guy reloading the gun doesn't play, it stops on the first frame. WHY?

  • @toshiraka

    Because you typed in gotoAndStop("reload")

    It should be gotoAndPlay("reload") because otherwise it will stop at the first frame (wich is your problem)

  • @toshiraka

    please ignore my other response, I just discoverd that what i said is bullshit, but make sure to do exactly the same as in the vid, because it worked for me

  • THANKS SOOO MUCH!

  • if i go offscreen, how do i keep the camera on the character? :0

  • did this one too with CS3. Thanks. I'm looking forward to working through your other tutorials. Are there any sites you would recommend for actionscript code?

  • Dear VampieGames, I think i did everything you said, but when i click on ctrl+enter to teste my 'game' i see this error:

    **Error** Scene=Scene 1, layer=Vincent, frame=1:Line 1: Clip events are permitted only for movie clip instances onClipEvent(enterFrame){

    Total ActionScript Errors: 1 Reported Errors: 1

    could you please help me?

  • make sure its a movie clip and not a button or graphic... and make sure your not putting your script on a frame instead of the Movieclip

  • You have to put that code in the MovieClip. NOT in a from, button, or graphic.

  • nice

  • thx! this really halped! and w00t FINALLY i hear a British voice on youtube 4 once XD

  • Long live britain....lol

  • Britain is 4 qwers

  • your qwer!

  • you know nothing about britain

    it aint all tea and cricket

    we do have black guys and gun crime as well

    not sayin black guys a criminals but we aint all bucktooth solicitors a cockney accents we aint that much different to america!

  • Awesome tutorial this is going to be a lot of fun!!! thanks!

  • does this work with flash 8? because its not working for me. please help

  • THX ITS WORK

  • 2:16 what for Button??

  • I did it with my cs3 but not workin D:

  • Nice tutorial :)

  • thx dude. :)

  • ok, i figured it out...

  • Nvm, but wen it moves, it stay still

  • It won't let me paste the code...

  • I named mine freddie. :-)

  • Will this work in Macromedia Flash Professional 8?

  • yes

  • very very VERY good tutorial you should make more.. hell start a website??

  • Hey vampie thanks for everything but now i want a jump and attack button. How can i do it

  • Can you please make another version of the video in which you can move up, down, left, and right; also I followed your tutorial, but my character keeps animating when it's still... and when I do up and down it does the same thing...

    I used sprites for the animation

    So what I'm saying is that I want to make the character move, but stays still if I don't press the arrow keys.

  • Also I want the character facing the direction of the last key pressed (i.e. pressed up arrow key / character go up / release up arrow key / character face up idle)

  • dude thats really easy, you need this code, hope you use them well,

    up: _yscale=100;

    down: _yscale=-100;

    left: _xscale=-100;

    right: _xscale=100;

  • The code didn't do much. Here's how I did mine. I picked a idle sprite (facing south), and made it into a symbol. Then I went inside the symbol and made 4 layers that contain positions (1 down, 2 up, 3 left, 4 right). The 5th is actions with the code [stop();] I made two frames for each. For down, 1st frame is down_still and 2nd is down_move. I did it for each of the 4 frames except the 5th. The movements are symbols while still is the idle frame direction. All of the layers are instances.

  • Oops, I meant I made the frames instances (i.e. down_still and down_move)

    The code works but not the way I wanted. Also if my process is too much then let me know.

    What I am trying to animate is a pokemon sprite character. If it's no trouble, please make a tutorial about sprite movement with arrow keys. But yeah, I messed around a bit and came back for help.

  • hey i dont get what you did in 5:00

    and so now my character only moves from left to right but in the still position

  • **Error** Symbol=fred, layer=fred, frame=1:Line 1: Clip events are permitted only for movie clip instances onClipEvent(enterFrame){

    Total ActionScript Errors: 1 Reported Errors: 1

    i dont know what happened

  • you need to make the graphic *fred* a movie clip

  • I could see it said A square then FRED then another sqaure that said FRED_RIGHT

    i only get the fred_right but i cant paste the scprit you gave on any movie clip called FRED

  • hey jamie u da best

  • every time i do it he doesn't roll he just glides accross i have redone and redone this tutorial numerous times can you help me?

  • hey do you know how to make the character move by clicking on an area and the character will go there

  • sure do :P

  • Thx for that tutorial ;)

  • thx :D

  • go to 5:46 to see what it will do!!!

  • LMAO :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more