Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Flash ActionScript 2.0 RPG Game Programming Tutorial : Movement [1 / 3]

Loading...

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

Uploaded by on Apr 25, 2010

Download the source here: http://www.radtuts.com/collision.zip
In this Flash ActionScript Tutorial you will learn how to write actionscript code to create a character movieclip and control him with the keyboard arrows. This is useful for creating RPG style games and moving things with the keyboard in general.

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (radtuts)

  • a function encapsulates multiple lines of code. Wen you "call" that function, those lines are executed.

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • It seems to be that the output box is being spammed with the word "UP" even though I don't actually have the up key down... :S could you help me out with that?

  • @Groxworld1 What error?

  • i typed all of the things but i got an error can somebody help me

  • @kojike Use Key.W, Key.A, Key.S and Key.D instead of Key.UP, Key.LEFT, Key.DOWN and Key.RIGHT.

  • what if i wanted to use aswd?

  • @potatopower12345 the function applies when the object is in the frame "OnEnterFrame"

  • What is the purpose of the "function" on the onEnterFrame line?

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