Added: 5 years ago
From: pbj746
Views: 89,874
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (346)

Sign In or Sign Up now to post a comment!
  • Before Watching: If these videos are good, I will subscribe ;D

  • onClipEvent(load){ speed=10; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ this._x+=speed; } if(Key.isDown(Key.LEFT)){ this._x-=speed;} if(Key.isDown(Key.DOWN)){ this._y+=speed; } if(Key.isDown(Key.UP)){ this._y-=speed; } } this is the code for right left AND UP AND DOWN
  • it's working if you really try to catch the hidden code for ____.x-=speed ...etc..

  • not work

  • how do i make a game thats like that teacher game where the character can move on the y axis to

  • What is the registration point for the ground? :D

  • @ikbeneenlolbroek the top

  • the code is : onClipEvent(load){ speed=7; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ this._x+=speed; } if(Key.isDown(Key.LEFT)){ this._x-=speed; } }
  • how do you make your character flip around when you hit left?

  • My question is...does anyone know how to use a sprite character with this code? If you do please make an awesome in depth tutorial :D

  • URL is wrong .. poor image quality ... also no sound?

  • this sucks all this does is make a ball move.

  • @MrAnonymous9898 how does this suck? he does exactly what he says he will do in the title: he makes a character, and makes it moves. Learn to read >.>

  • I have a question: Do you know how to make a RPG where you can choose the chacrater you want to play? Like, you can choose either Naruto, ichigo or Luffy, and i decide to choose luffy. Ok then i can play as luffy only, but everything in my whole RPG is still the same? THX

  • that doesn't look like an rpg, more like a platformer

  • the code you gave me for the character just helped me make something that i was not able to make in my shooting game.......every single day i just get better with actionscript....i hope the one day i wont need these tutorials anymore

  • try to use hyper cam 2

    its have better quality ;p

  • You should get a better recorder :P

  • Is there a way to make it so if your touch another movieclip or something you gotoAndStop at another frame?

  • add fmt=18 for see nearly hd

  • is that msn paint?

  • is this CS3????????

  • @bflacks its flash 8

  • correction , the proper code for left/right movement is onClipEvent(load){ speed=7; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ this._x+=speed; } if(Key.isDown(Key.LEFT)){ this._x-=speed; } } profchimpinstein you made a few mistakes , well , at least it didnt work when copied exactly to as2 that works perfectly,
  • which progam do you use

  • make instance name char on charter

  • does any1 kno a good tutorial for something other than "basic" movements...like, i have figured out how to get different animations to play for walking and running, but how would i get an animation to play while jumping/falling....plz lemme kno ty

  • how can i make it move if it has more then one frame i want it to move with

  • @FlashTheHedgehog234 go inside your original player mc, and whereever you have that one picture, put ' stop(); ' on the actions for that frame, the make your pic an mc, go inside of it and animate it... then where you have you code for walking, put if (Key.isDown(blabla)){ whatever whatever this.gotoAndStop(//whatever frame you want to play wen key is down//);

    }

  • Sorry about the message below

    where it says (Key.Right)){

    Put: (Key.RIGHT)){

  • He Said To Put This Code In To The Character:

    onClipEvent(load){ speed=7;

    }

    onClipEvent(enterFrame){  if(Key.isDown(Key.Right)){ this._x+=speed; } if(Key.isDown(Key.LEFT)){ this._x-=speed; }

    }

    So If He's Right Just Copy And Paste This In the Actions Of The Characters!

  • how to make walls

  • Sooo.... I have macromedia flash 8.

    What is he using here?

  • @graybaine11 Adobe flash cs3 or 4 probably.

  • flash 8

  • Flash 8

  • onClipEvent(load){ speed=7; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ _x+=speed; } if(Key.isDown(Key.LEFT)){  _x-=speed; } }
  • what is the AS2 action?

  • onClipEvent(load) { speed=7 } onClipEvent(enterFrame) { if(Key.isDown(Key.RIGHT)) { } _x+=speed; if(Key.isDown(Key.LEFT)) { _x+=speed; } }
  • onClipEvent(load) { speed=7; } onClipEvent(enterFrame) { if(Key.isDown(Key.RIGHT)) { _x+=speed; } if(Key.isDown(Key.LEFT)) { _x-=speed; } } idiot
  • get away from AS2

  • @RNGbladestudios yeah, i fucked up a little.

  • sry... Ye, I was using AS3.

    :D Understood that later.

    Sry!

    It was a great vid!

  • ... LOL! Cant put in the actionscript at the character!

    And one moore thing u guys made wrong, is that this guy who made this movie, named it char!

  • Hey, GUESS WHAT? You are using AS3! Use AS2!

  • AS2.0

  • Ha 

    what a genious kkkkkk

  • this tut sucks because ur supposed to put the codes in the description but nooo

  • He Doesn't So u learn instead of just copying and not looking at it

  • id learn if i copy and paste it in some document and memorize it

  • Green dude, put it on the comment below this comment now

  • Lol, ur a faggot Thats called Plagerism that way if you use it.

  • your the faggot cuz you dont even know what Plagerism even is.

  • Copying somebodys work, im putting it into simpler words so you can understand the complex statement.

  • your not copying someones work if your typing in a flash code. its ment to be written in the action script to make buttons and other things. idiot

  • xXGreenDudeXx, it seems YOU don't know what "Plagerism" is. Learn to spell.

    lol, "Plagerism"

  • learn to spell? i copied and pasted lol

  • HEY! Dont b lazy! Write in the codes! He showed us wat the codes was and all u have 2 do is that u have to write in them in the actionscript bar! (Lazy guy)

  • help if i press left my character goes right

    any idea?

  • Reply to "funnycatster": it may be the script

  • hehe thanks for saying that, i found out that the actionscript is wrong..

  • it's the script that may be wrong, if so, change it to to onClipEvent(load) { speed=7; } onClipEvent(enterFrame) { if(Key.isDown(Key.RIGHT)) { _x+=speed; } if(Key.isDown(Key.LEFT)) { _x-=speed; } }
  • I'm getting a "1087: Syntax error: extra characters found after end of program."

    Any ideas?

  • were you do the actions it wont let me tipe. PLEASE HELP ME!!!

  • Try to click on Script Assist.

  • does any knows how to make an animation that moves.. we are making an rpg game but this is our problem.. hope for your answer..

    by the way i use the:

    if(Key.isDown(Key.UP){

    _x+=7;

    gotoAndPlay(1);

    }

  • what platform is he using?

  • how do I fix this? =

    Clip events are permitted only for movie clip instances

  • Change the "symbol!" to movieclip instead of graphic or button.

  • @gamerman012345 you must convert your instance to a movie clip.. convert to symbol and choose movie clip.

  • @gamerman012345 Give your character an instance name of "char". Then use this script: onClipEvent (enterFrame) { if (Key.isDown(Key.LEFT)) { _root.char._x -= speed; } } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { _root.char._x += speed; } }
  • Can u tell me the name of the program you are using and were too find it??

  • i believe it says flash 8 pro program to make the rpg

  • Adobe flash, their homesite.

    Buy the adobepacage.

  • there's actually a different one that one can let u move around the whole place not like the one u stay on the ground

  • I Press Left And It Works But When i Press Right, He Just Pops Back To The Start

  • I want to make like this: if keep pressing, the speed will add, what's the actionscript code?

  • maybe something like

    (keypresscode){

    speed++;

    }

  • Comment removed

  • What you need to do, is say that when the key is pressed, the variable of speed gets higher. That way the constant (_x) will get higher, faster. Take this code for example:

    if (Key.isDown(Key.RIGHT)) { speed += 1; char._x += speed;

    }

    what "+=" means, is to take the value, (speed), and to add something to it (1), "+=" can also be read as:

    speed = speed + 1;

  • It can't work yet, but anyway, thanks!

  • i keep getting a syntax error when i try to test it so i cant move here is the code i put it all in correctly(i think) onClipEvent(load){ speed=7; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ this._x+=speed; } if(Key.isDown(Key.LEFT)){ this._x+=speed; } }
  • Um, both keys make the character move right, not both ways

  • AWESOME DUDE

  • Where can you get this program?

  • adobe. com...

  • insted of a flash guy can u use a sprite'cause i really like to make a sprite rpg like final fansaty sonic

  • sprites fine, he just used a circle for the tutorial

  • thanks alot...not sure why this is spam.

  • When I try to type in that code, to the character 'F9', it says "Current selection cannot have actions applied to it."

  • PS.... im using Macromedia Flash Professional 8

  • this is what i ment it makes my character stay still ok? and it dont move

    could u PLZ!!!!!! help????

    like post the script as a comment to see if i have made and mistakes or

    give me advice!!!

    PLZ HELP!

  • Comment removed

  • Comment removed

  • thank for the vid, it has helped me much, i found out how to do the up and down movements as well with this vid, thanx :D

  • Is this in AS 2 or 3?

  • games are always in AS2 for some resond I can;t enter codes in AS3

  • That explains why it looked odd. AS3 uses a different type of code than AS2. I've heard 3 is more like C++, but I'm no expert.

  • In AS3, you are only aviable to enter codes in the frames, for example:

    if I name one symbol's instance name into "tea", you may enter the code into the fram like this:

    tea.codes

  • hey, i used your code and everythin, but if i put

    if(Key.isDown(Key.W))(

    instead of

    if(Key.isDown(Key.Up))(

    then it wont let me use "W" for the up key,

    any tips? thx

    ~CaKeS

  • you gotta use numbers, 65 is A and 66 is B and you gotta go all the way to W xD

  • ah, kk so W would be 87... i think lol ill check! thanks!

  • oi i use cs3 but somehow when i click actions it says( selected char) current selecton cannot have actions applied to it? what do i do

  • did u convert it 2 a movie clip?

  • i figured it out

    i used as3 not as2

  • deselect the symbol.

  • wow man thanks, i had no idea that you could do this in flash. I find this pretty funny because earlier today i was looking for a game design program that i could of used for free (and it not be a trial) but i had one all the time. Anyway thanks again man you've helped me out a bunch.

  • where do you past the code...

  • nvm got it

  • Where??

  • U can get those Codes?

  • first, get the as2 bible

    2nd use your brain

    3rd manipulate codes by piecing bits by bits together untill you get something

  • does anyone know how to actully make stick dudes do this?

  • write under if(Key.isDown(Key.LEFT)) _x-=speed } if you want the movie clips go up and down. if(Key.isDown(Key.UP)){ _y-=speed } if(Key.isDown(Key.DOWN)){ _y+=speed } I am totally figure it out.
  • ;( does anybody know how to move a character with mouse?

    PLEASE REPLY

  • do you mean follow the mouse or be the mouse, and if follow the mouse, in what way and ill see if i know

  • great video thank narration would be nice and some further explanation for beginners such as my self

  • onClipEvent(load) { speed=7 } onClipEvent(enterFrame) { if(Key.isDown(Key.RIGHT)) _x+=speed } onClipEvent(enterFrame) { if(Key.isDown(Key.LEFT)) _x-=speed } put on this one this work PD our one dont work bitch
  • view my tutorials for a better RPG.

  • DONT WORK BITCH!

  • MaultraMedia, don't call other people "bitch" because you're too STUPID to follow their tutorials :). And please learn grammar. "Doesn't work" :)

  • what is the code?? i can't copy it and my keyboard is f**ked up

  • Thanks

  • My character unfortunately also does not move. I entered the script as you said it (Even though I capsed the "left" because it needs to be) and it stated a pretty long list of errors.

    Most of them speak of "undefined property" which is a mystery to me.

  • What the hell? I did everything this tutorial said and my character won't move at all.

  • wow this is a walk in the park compared to C++

  • HOW DO YOU MAKE IT JUMP?!

  • help me anybody, i cant make him go up or down

  • very easy, exactly the same, but to go up is UP and y+ and to go down is DOWN and y-, i'm not sure.

  • If you want him/her to go up down put this in:

    if(Key.isDown(Key.UP)){

    _y-=speed;

    }

    if(Key.isDown(Key.DOWN)){

    _y+=speed;

    }

  • I CANT MAKE him go down

  • ooooooooooooooooh....your not supposed to make him...hes on the ground :/ lolololol! XD

  • im not making exact copy of the game i just wanted movment codes so actually nooooooooooooooo he isnt on the ground so think before u talk smart one and i see u said exact same thing so ya shut up

  • well u didnt specify that

    so ya shut up

  • What if you want the movement to be like... a man walking or something you know... animated

  • how do you make it jump?

  • onClipEvent(load){ speed=7; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ _x+=speed; } if(Key.isDown(Key.LEFT)){ _x-=speed; } }
  • Isn't it like this? onClipEvent(load) { speed=7; } onClipEvent(enterFrame) { if(Key.isDown(Key.RIGHT)) { _x+=speed; } } onClipEvent(enterFrame) { if(Key.isDown(Key.LEFT)) { _x-=speed; } }
  • its the same

  • put them after a statement or function and after the block of code

  • i'm confused how do i know exacly where to put the { and the } ?

  • You put them either at the end of the text on that line or on a line after text and 1 backspace

  • how to type in flash mx???????

  • hmm doest work for flash mx...man

  • Dude, you are a crackpot! I spent an hour on this tutorial, making sure I did everything you said to do and it does not work. Please take this tutorial off the internet before someone else wastes their time.

  • dude it didn't work and I tried it

  • mine only goes left and right :l

  • lol its only sypposed to

  • all directions right here

  • onClipEvent(load){

    speed=7;

    }

    onClipEvent(enterFrame){

    if(Key.isDown(Key.RIGHT)){

    this._x+=speed;

    }

    if(Key.isDown(Key.LEFT)){

    this._x-=speed;

    }

  • if(Key.isDown(Key.UP)){

    this._y-=speed;

    }

    if(Key.isDown(Key.DOWN)){

    this._y+=speed;

    }

    }

  • onClipEvent(load){ speed=7; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ this._x+=speed; } if(Key.isDown(Key.LEFT)){ this._x-=speed; } }
  • myne only goes left:(

  • I feel really stupid asking this, but I just decided that I wanted to make flash games not even ten minutes ago, so:

    How do you open flash?

    XD

  • you onpen it up by all programs then macromiadia then flash 8 then you choose a flash document the one at the top

  • rofl =P

  • you gay faget put the codes on the comments

  • I did this but i didna work . . . .

  • hw u make the char turn the way hes goin?

  • how do you go up and down

  • quick tip, if your using the text file with all of the codes,in the first script you may get an error because LEFT is suppose to be capitalized

  • hw u make the char turn the way hes goin?

  • I wish I had a camera T_T and plz double jumping tut too

  • hey can u make a flash tut for double jumping??

  • can you detail the charecter to look like your self?

  • Duh...anyway you like.

  • yeah its sweet

  • Could you make a tutorial for flash 4?

  • rofl

  • haha wow thanks!!

  • Watch my newest video on how to turn in different directions.

  • onClipEvent(load) { speed=7; } onClipEvent(enterFrame) {if(Key.isDown(Key.RIGHT)){ _x+=speed; } if(Key.isDown(Key.LEFT)){ _x-=speed; }} Make sure your using actionscript 2.0!
  • for all u guys who have flash mx and u cant right on the script there should be a button in the corner on the actions to change from normal to expert mode

  • i got stuk on the last part but i finaly got at last by the way thanks

  • please send me the code i can´t write it my self because of i only gets error in my script!