Flash ActionScript 2.0 RPG Game Programming Tutorial : Movement [1 / 3]
Loading...
8,947
Loading...
Uploader Comments (radtuts)
see all
All Comments (9)
-
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...
a function encapsulates multiple lines of code. Wen you "call" that function, those lines are executed.
radtuts 1 year ago