Making a car game in flash part.1 (voice instructions)
Loading...
9,570
Loading...
Top Comments
see all
All Comments (26)
-
thank you sooo much
-
@movie627 Ne men den andra topkommentaren är från 2010 och har mindra likes en min
-
@Jamesblueboy Yes it works!!!!!
-
@MrDajn Inte så många :(
-
here´s the complete code (without the trhee other frames) : onClipEvent(enterFrame){ if(Key.isDown(Key.LEFT)){ this._x -= 15; _rotation=270; }else if(Key.isDown(Key.RIGHT)){ this._x += 15; _rotation=90; }else if(Key.isDown(Key.DOWN)){ this._y += 15; _rotation=180; }else if(Key.isDown(Key.UP)){ this._y -= 15; _rotation=0; } }
-
@Jamesblueboy Ctrl+Enter
-
@646AWESOME if(Key.isDown(Key.UP)){
instead of UP W
instead of DOWN S
instead of RIGHT D
instead of LEFT A
-
your walls wont work on number two can you give me a flash open documentary like make one on media.com then i open it what you made is opened please
-
how can i insert audio responses on my game
-
it does not work
Loading...
Alla Svenskar gillar nu!
MrDajn 1 year ago 8
Forgot to mention, you also don't need to make a different frame for every direction, instead just rotate the image.
If(Key.isDown(Key.RIGHT)){
_rotation=90
}
for example, _rotation would be 180 for down, 270 for left, and 0 for up.
RottingCore 2 years ago 6