Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (230)

Sign In or Sign Up now to post a comment!
  • and also, lol do you know of a way to control the jumps so that the longer you hold the button the higher he jumps, and if you barely tap it he doesnt jump as high

  • how do you change the command so that it only jumps once, even if the jump button is held down, because if i hold down the button the character jumps repeatedly

  • how do you make it so it would play a different cycle jumping, or attacking?

  • The music only plays when I press enter. Why?

  • how do i change the jump height?

  • WTF IT WALKS BACKWARDS 

  • i GOT a problem :( : "Scene=Scene 1, layer=char, frame=1, Line 1 Clip events are permitted only for movie clip instances" but my dude is a movie clip!

  • My character is fine until I move at which point it gets completely stretched out

  • How could i make a simple attack like shooting or slashing with a sword?

    And also how could i make platforms for the player to jump on?

  • this is a very clear tutorial, only thing i dont like about it(and more or less every flash tutorial is like this) is that they just give you the codes to enter, but don't explain what they do, so that i could make a new creation and be able to type the codes myself. Anyone know where i can find a tutorial that does explain this?

  • It just doesnt work for me

    :(

  • Whai does my dude go really far left or right whenever he turns direction?

  • i have a problem

    Description:

    1087: Syntax Error: Extra characters found at the end of program.

    Source:

    onClipEvent (load) {

    help pls

  • He is jumping too slow.

    Help me?

  • @smittyguitarplyr :D thank you so much, perfect tutorial....do you know how i could add a action to do sword slashing or jumping with hands in the air :) Inbox me please

  • wtf the music works but i can't get the character moving. Got any ideas what caused this?

  • @ThePoptropicaVideos I've got the same problem..

  • where is the properties bar shown in the start.please respond asap

  • @amanparasramka7 Go to Window - Properties - Properties

  • Well, everything works perfectly but 1 problem. When I test the game, the controls work but the animation don't play. I did everything correctly

  • Its succses but do u know how to make an object block the player from walking so it needs to jump?

  • sorry, but i wonder how to change the key to wasd?

  • @smittyguitarplyr thanks bud.

  • Does anyone know how to make it so when your character stops moving it goes to the 1st frame of the walk cycle so he not like mid walk stopping all the time. Great tutorial as well btw you earned a sub.

  • @insidethesnake - Check out my reply to ThunderSpam - you should see it above. (:

  • this not working brooooo....

    Scene 1, Layer 'Layer 2', Frame 1, Line 6 1086: Syntax error: expecting semicolon before leftbrace. plzz help mee...

  • @neoncuse Are you using Actionscript 3.0?

  • @neoncuse Are you using Actionscript 3.0?

  • Doesnt work ! mine says Clip events are permitted only for movie clip instances

  • @PhoneHouseholdHacker make sure its as2

  • gravity please?

  • I did everything it told me to. Then, when I tested, nothing happened! The music played, but the character stayed put. Why?

  • @mrIsaac333 make sure you have the test window selected, it will automatically click off on CS5 it did for me :)

  • snappy soundtrack

  • WHY NOT ACTIONSCRIPT 3?

  • Im using macromedia flash 8, and its ays im using actionscript 2.0, but it still says 'current selection cannot have actions applied to it' Help pls :(

  • it says: Scene=Scene 1, layer=Layer 1, frame=1, Line 21 Syntax error.

    Scene=Scene 1, layer=Layer 1, frame=1, Line 13 Statement block must be terminated by '}'

    Scene=Scene 1, layer=Layer 1, frame=1, Line 13 Statement block must be terminated by '}'

    Scene=Scene 1, layer=Layer 1, frame=1, Line 21 Syntax error.

    HELP :(

  • OMG.. right now i have 0 errors but my character won't show up -.-

  • if i press debug my character won't show up

    and it says: Scene=Scene 1, layer=Layer 1, frame=1, Line 21 Syntax error.

    Scene=Scene 1, layer=Layer 1, frame=1, Line 13 Statement block must be terminated by '}'

    Scene=Scene 1, layer=Layer 1, frame=1, Line 13 Statement block must be terminated by '}'

    Scene=Scene 1, layer=Layer 1, frame=1, Line 21 Syntax error.

    HELP :(

  • another question how can I add a separate animation for the jump

  • I have an error with this : Scene=Scene 1, layer=Layer 1, frame=1, Line 5 Clip events are permitted only for movie clip instances

    And

    Scene=Scene 1, layer=Layer 1, frame=1, Line 12 Clip events are permitted only for movie clip instances

    What my ishue??

  • @bobtheguyish Player is also not moving or jumping.

  • Even though I followed every steps in your videos i get stuck here!

    I add the scrpits but my character wont move at all.

    I just get the error for all scripts saying "Clip events are permitted only for movie clip instances." but everything is set to movie clip! lol

  • @EpinephrineOverdose If you're using Macromedia, make sure that the character is definitely selected when you paste in the code, with the blue box around it, that's what happened to me before I noticed it hadn't been selected. If there's an "a" inside the keyframe then the code is in the wrong place. I could be wrong but it's probably worth checking (if you haven't fixed it yet, which you may well have in the day since you left the comment ><)

  • When I test my game, the character still does the walk cycle even without pressing the left or right keys! HELP PLEASE!

  • Lots of my actions are coming up purple and Undefined, Please help!

  • Please help, How do i get the properties. because im using macromedia 8 pro

  • Help, I messed up with the direction of the character and it walks backwards, how do I flip it without it flashing between the backwards picture and the corrected picture

  • @Charlie12292001 - Find the if(Key.isDown(Key.LEFT)) { and if(Key.isDown(Key.RIGHT)) { sections of the code. Under these statements you'll see '_xscale = -scale;' and '_xscale = scale;' respectively. You want to swap the negative (-) symbol in front of 'scale' from one to the other.

  • Whenever you switch directions, it flips and looks funny. How do you fix that?

  • for some reason when i hit the left key my character moves left, but keeps flipping back and forth instead of just looking in that direction... it has to do with this script: f (Key.isDown(Key.LEFT)) { play(); _x -= speed; _xscale = -scale; } else { if (Key.isDown(Key.RIGHT)) { play(); _x += speed; _xscale = scale; } else {

    I tried everything i could think of... can anyone help?

  • How do I make an animation for jumping so he doesn't walk in the air???

  • to jump type in: isjumping = true

  • hello, thank you for uploading this. i do need some help though, i am using CS3 and actionscript 2.0 and it still says i cannot add actions to my character please help!

  • Hey dude, how do I make an animation for jumping?

  • is that walking thing or w/e safe to download? my firewall is blocking ALOT of stuff

    o.  o;

  • im having a problem with my game i created a idle mc (movieclip) at the beginning of my walking sequence and took the advice you gave to Thunderspam but its only repeating 3 frames of the idle mc when there's 42 frames. help me plz?

  • He could also jump:) THANKS!

  • After 0:37 could my character walk! NICE! THANKS!

  • themonClipEvent (load) { speed = 6; isJumping = false; jumpSpeed = 0;

    

  • I pressed CTRL+ENTER but when I tested it out, there was only my character! No background or anything. I did exactly what you did. I can't even MOVE!!!

  • Is there any way to make the character stop and always go to the frame where it's just standing, it doesn't work for me

  • When I test the game my character does the walk cycle right but when I change directions (Left to right) he teleports about an inch left then walks normally... Help?

  • Comment removed

  • thanxx for that buddy .

    but i can't do that kind of stuff cause m a beginner .

    i just did what you've done in all three videos then also some problems where there with me .i just wanna know that when we changes the script of layer ,character . how to save that script .

  • gave some hours of my life to do this but worth it.

  • I have a question. If you could answer it, I would be very grateful. I saw that when you jump and use the left-right arrow keys, your little rastaman's legs move around like crazy! Can you make a specific animation for jumping? Like, his hair's blowing in the air and he's ready for landing, or something like that... I hope you understood my question ..I'm sorry if my English is bad...

  • My character wont stay on the first frame (using macromedia flash mx 2004)... i put "stop();" everywhere i could without getting an error, and in the script i used gotoAndStop(); instead of stop();. It worked before, any help? Thanks!

  • we gonna rock-down-to elec-tric-avenue!

  • Hey man, just wondering if you could answer something for me.

    If I want the character to stop on a specific frame, how would I go about doing that. Currently it stops on whatever frame you release the button on. I want it to jump to another animation I have for idling. Thanks!

  • @ThunderSpam - It stops when neither the left or right key is being pressed, because of the 'stop();' on line 40 (34 in the video). Change this to 'gotoAndStop();' with your idle frame number in the brackets, and it will jump to that particular frame instead.

  • @smittyguitarplyr I added the gotoAndStop(); but now when I press either left or right but very quickly it moves a little and it doesnt do the animation so if you rapidly tap the left or right key the character just slides across the screen is there any way to solve this?

  • @smittyguitarplyr ok, this is nothing to do with your comment, but i just wanna get seen, when i walk my char keeps julting backwards -_-

  • Mine works, but when he walks, it only shows the last 2 frames. so it looks really weird.

  • is there some program like this free???

  • songs funnys.....(Electric Avenue - Eddy Grant)

  • I Cant ake A Movie Clip, How Do I Exit Timeline On Cs5, PLEASE HELP!!!

  • Comment removed

  • I cant put the code inside the movieclip what should I do?

  • @titanicroses Left click once on your movieclip and then click F9 to get actions up and then paste the code

  • @L3FT4FLY it doesn't allow me to put the code in it, I get a message that says "Current selection cannot have action applied." :s

  • @titanicroses Wierd :S but are you sure its a movieclip ?

  • @L3FT4FLY yes!

  • wich video editor do you use

    the effect at the end is cool

  • @drakola159753 - Camtasia Studio 7.0 (:

  • Hi, when I walk my characters legs don't animate, it just stays on one frame.

  • i dont get that ^^

  • and do i have to put music ?

  • i don't know why but it doesn't work maybe because i didn't do a properly walking is that maybe why it doesn't work the error which comes says:"Szene=Szene 1, layer=Scirpt, frame=1, line 1" help me please

    

  • when i turn left or right, the character goes to far. he dosen't stays in the same position. fix?

  • man...please make a tutorial for flash phone game :D

  • helped me lot thank youu

  • Also, when my character walks, he skips. Like I don't know if it's then umber of frames in his edit mode timeline, but I don't think the background should be longer than the frames on the characters timeline, right?

  • hi, im trying to get past part 2 of your tutorial but I seem to be having troubles on selecting may character. At the start of the video you said to rename the instance char, i did that and then I selected the character and pressed F9, when I view the current selection, its not the character that is selected but the frame... so whenever I test it, it all error in the script.

  • hi, im trying to get past part 2 of your tutorial but I seem to be having troubles on selecting may character. At the start of the video you said to rename the instance char, i did that and then I selected the character and pressed F9, when I view the current selection, its not the character that is selected but the frame... so whenever I test it, it all error in the script.

  • It says that i have a syntax error at onClipEvent(load) { HOW DO I FIX THAT?

  • @Stagetail - In regard to your last comment; no, actionscript codes can't be placed in descriptions, youtube doesn't seem to allow them. They'd also lose their formatting and indentation - so surely a 795 byte .txt file isn't too much of a hassle to download. Also, your program didn't crash because of my 'music crap'. You've got to calm down - this video has helped thousands of others, please don't blame me for your incompetence.

  • @smittyguitarplyr

    Aw shup :P

  • @Stagetail

    You computer sucks

  • @Stagetail

    ay dick face save often

    and youtube don't have stars no more

    so fuckoff

  • @Stagetail Learn to save.

  • You could of just pasted the code in your description...

  • IF U NEED HELP...THE NEW CS5 GOT THE CODES ALREADY JUST LOOK FOR THEM UNDER CODE SNIPETS

  • What if you want your character's image to change when jumping?

  • love your bob marley game :D hahaha

  • after doing what you say i get this:

    Scene=Scene 1, layer=Mann, frame=1, Line 13 Statement block must be terminated by '}'

    Scene=Scene 1, layer=Mann, frame=1, Line 43 Syntax error.

    Scene=Scene 1, layer=Mann, frame=1, Line 43 Syntax error.

    Scene=Scene 1, layer=Mann, frame=1, Line 33 Statement block must be terminated by '}'

    why?

  • 1087: Syntax error: extra characters found after end of program. onClipEvent(load){

  • When I press the arrow keys my character doesn't move can you help me plz.

  • I so want to can make game but I can't

  • can u tell me whats wrong: any position i go with the arrom keys i go right can u help me?

  • Hi, I'm having trouble. At 0:19 mine says this: In ActionScript 3.0, code cannot be placed directly in objects. Please select a frame or use the Code Snippets panel to apply code to the current selection on the stage.

    Do I just select the first frame and put the code on it, or put the code on all of them. Obviously I can't put it on my character movieclip. Please help!

  • @popcornchickity - Use ActionScript 2.0!

  • Can you make 3d games with Adobe Flash

  • I think you can with cs4 and cs5

  • I did all of the steps and My character walks backwards :/ what do i do?

  • @ThePivotsXXD - Find these lines: _xscale = -scale; and: _xscale = scale;

    This function occurs once under each left and right keypress section, and it's what flips the character horizontally when we change direction using the left and right keys. They each look similar, but you'll notice one has a negative sign infront of the 'scale', and one doesn't. It all depends on which direction your character is facing by default. Swapping the negative sign from one to the other will fix your problem.

  • @smittyguitarplyr Ok thanks, and will this work with a platform game?

  • how do i make the caracter go back to frame 1 if i release a key?

  • @MYEYESONECONOMY - Find this section of your player movement script:

    if (Key.isDown(Key.RIGHT)) { play(); _x += speed; _xscale = scale; } else { stop(); }

    Change stop(); to gotoAndStop(1);

    The 'else' will be called when neither 'left' nor 'right' keys are being pressed. stop(); will pause the walking animation, whilst gotoAndStop(1); will return it to frame 1.

    (Note, youtube may have messed up the indentation)

  • @smittyguitarplyr thanks!

  • I'm hanging in mid air what do i do?

    No gravity script?

    Help Please.

  • hey, can you make this game but i want the character can jump to the other floor, if the character fall down "game over"

  • Comment removed

  • thanks...... can you make this game with enemy? i want to make a game such like megaman x 6

  • And when you want to put like a crate where you can jump on, how to do that?

  • how did you figure out all the text script stuff!? i thought it would b a LOT easier than this

  • Hey, nice vid, what didi you use to record it?

  • @jasperharrietlucky - Programs are mentioned in the description.

  • @smittyguitarplyr

    Thanks a lot! ^^

  • can someone tell me what the script is to make a wall or a solid block?

  • ok thanks but when will there but a tutorial for AS3 cause soon theres gonna be AS4

  • thats bob marley?

  • to make it easier to do the walking use bone tool then when finished select all the frames on timeline then right click convert to frame by frame animation the convert to a symbol should be easier ill let you know

  • Every time I click my Char "Moviescript" it screws up and says "Current Selection cannot haveactionsapplied to it."

  • xD I faced my char the wrong way

  • hi.

    can u msg me the code asi only get 10 mg download per month thnx

  • @palserknight - The downloads are about 900b each. I messaged you the codes anyway. (:

  • @smittyguitarplyr i keep getting syntax errors with the script and also its not working it just plays my walk sequence and does not follow the script

  • @smittyguitarplyr this is the syntax error location

    onClipEvent (load) {

  • @smittyguitarplyr

    description of error :1087: Syntax error: extra characters found after end of program.

  • @XxiLOGiiKzxX - You're using Actionscript 3.0. The scripts in this tutorial use the AS2 syntax. Go into File > Publish settings, and under the 'Flash' tab, change the 'Script' drop-down to Actionscript 2.0.

  • @palserknight if you only get 10mb a month you SHOULD NOT BE WATCHING YOUTUBE VIDEOS cause it downloads you know so you anyay 10mb a month is very stupid i doubt you get that or you dont know what your talking about you should at least get 2GB and a txt file is like a 1/10000th of that man

  • when u post how to do something,you actually read peoples' comments. HOW DO U MAKE THE PERSON JUMP ON PLATFORMS. why don't u respond for once or maybe you don't know the answer and you can't answer the question hah?

  • @YoukilledQWERTY - I don't see this script very workable in regards to modifying it for platforms. I'm aware of how to incorperate platforms, though it would require quite a new script entirely, and hence a new video, for me to explain it to you. I don't currently have time for such a video as I've got exams on. There's also already one in the related videos, right over there >

    This video handles different, more basic concepts. It wouldn't kill you to search around a bit.

    -smittyguitarplyr

  • syntax fucking error

  • your link to the code isnt working. please please please fix it. i cant get my code to work and im about to go crazy. my guy wont jump or go back to standing when not moving.

  • @StephenRulz - Hey, I checked the download link, it seems to be working fine. I've messaged you the code just in case :)

    -smittyguitarplyr

  • i need help trying to edit in a groung.hittest around the code i got from this tutorial. any pointers?

  • How do you flip your character. I made mine backwards so he walks backwards. I need to flip him so he faces the other way

  • @treaverMG sorry about that. i found out what to do. Meant to delete this.

  • Comment removed

  • @smittyguitarplyr yes it can o.O

  • When i go to name my movieclip guy "Char" the properties box just comes up as "shape" and i have nowhere to name it.

  • i coulndt add the music? you have mp3 file too ? wtf it said "one or more files couldnt be imported beacuase problem reading them " :O should it be MIDI or some kind of WAV file formmat ?

  • as3 code plx?

  • This is a great video, i couldnt figure out how to get my characters walking animation to stop when i let go of the arrow keys. but this solved it!

  • This is a great video, i couldnt figure out how to get my characters walking animation to stop when i let go of the arrow keys. but this solved it!

  • it doesnt work....

    I cannt make my character move! only know how to move a char in action script 3.0...

    can someone post me the code so I only have to paste it ?

  • @kingmickey666  the download link is in the description

  • I very much appreciate these videos and the script provided. Thanks a bunch :3 Making my first game creation attempt not so frustrating.

  • haha type in the following code or download it here.

    ur nuts! I dont think anyone in the wolrd would overtype it... too much change on folds and takes years :P

  • Comment removed

  • Thank You !!!!

    :D

  • @smittyguitarplyr

    Thank you very much. How could I create a wall or something so that it's impossible to go past the edge of the "map"?

  • When I press left to make my character go backwards, it teleports him back a ways and then makes him walk backwards.. Any idea what this is?

  • How do I get my character to have a walking animation? Every time I hit right to move him, he moves successfully but only the first frame of his running animation (frame 20) will play. The rest plays once I let go of the button, but how do I get the whole range of frames 20 -34 to play whilst Im holding the right/left key?

  • Comment removed

  • Why won't my file that I saved as .mp3 upload to my game?

  • not to be rude but why cant u put the action script in the description?

  • my guys not jumping