Flash Rpg Advance: Scrolling Games

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,250
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 28, 2008

Code:
onClipEvent(load)
{
speed=7;
}
onClipEvent(enterFrame)
{if(Key.isDown(Key.RIGHT)){
_x-=speed;
}
if(Key.isDown(Key.LEFT)){
_x+=speed;
}}

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (PivotyPivoty)

  • good tut, thanks

  • your welcome! thx for the comment!

see all

All Comments (30)

Sign In or Sign Up now to post a comment!
  • Yes my friend congratulations, i´m converting yours tutors to AS3... it is Wonderful... best regards

  • @sk8r2000 I agree with skedist (Even if the name sound like Sh*t) that is F*ckin' siple the background is the only thing moving i can make a better game only using one code this is just my opinion!!!!

  • your the best tutorial maker , game creator thing you should work for youtube

    YOU ROCK! i subbed :)

  • I've made games like this before, the character does not actually move, the background does. Giving the illusion of a walking character.

  • @highalch33 how to you know wich numbers are which keys?

  • Nice!!

  • code for char?

  • do you meen the .hitTest( etc?

  • im having trouble a wall collision code... could one of you please help me?

  • @Skedist

    Erm... how is it stupid? It's simple and it works fine, what more do you want? Are you saying that having 400 lines of code for something that can be done in 10 is stupid? And it's heTfield, not heADfield.

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