Search tutorials
First, make a movie clip, whatever you want to make the character look like. In that movie clip, put in this action script:
onClipEvent (enterFrame) {
if (key.isdown(Key.UP)) {
_y+= -5;
}
if (key.isdown(Key.DOWN)) {
_y+= 5;
}
if (key.isdown(Key.RIGHT)) {
_x+= 5;
}
if (key.isdown(Key.LEFT)) {
_x+= -5;
}
}
Then, test the movie and use the up, down, left, and right keys to move your character.
| » Level Basic |
|
Added: 2004-10-19 Rating: 2 Votes: 25 |
| » Author |
| An eccentric young flash artist who loves everything about it! Just joking. but I do like making flash movies and games. |
| » Download |
| Download the files used in this tutorial. |
| Download (0 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!