Search tutorials
Creating your character
First create a character a convert it to a Movie Clip (F8), then open the Actions Panel(F9) and write the following code: onClipEvent(enterFrame){ if(Key.isDown(Key.UP)){ this._y -=3 } if(Key.isDown(Key.DOWN)){ this._y +=3 } if(Key.isDown(Key.LEFT)){ this._x -=3 } if(Key.isDown(Key.RIGHT)){ this._x +=3 } }Note: You can change the number 3 for wherever you wish, the difference is the speed. That´s all.
| » Level Basic |
|
Added: 2007-04-21 Rating: 7.29 Votes: 17 |
| » Author |
| Flash Game designer. |
| » Download |
| Download the files used in this tutorial. |
| Download (5 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!