Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
RPG game part 1
Author: Leo HEK
First make a start button. Then, put a stop action in the first frame. On the button put the action:
on(release){
_root.gotoAndStop(2);
}
Then make another frame that shows the game beginning and make a MC called hero then put the action:
onClipEvent (load) {
moveSpeed = 11;
}
onClipEvent (enterFrame) {
if (Key.isDown (Key.RIGHT)) {
this._x += moveSpeed;
} else if (Key.isDown (Key.UP)) {
this._y -= moveSpeed;
} else if (Key.isDown (Key.DOWN)) {
this._y += moveSpeed;
} else if (Key.isDown (Key.LEFT)) {
this._x -= moveSpeed;
}
}
| » Level Advanced |
|
|
Added: : 2004-08-30
Rating: 5.16 Votes: 20
Hits: 735
|
| » Author |
|
Part 1 of how to make an rpg game.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (0 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|