Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
gotoAndPlay(?) hitTest
Author: MoKkAn
Muahahhahahahahahahahha another difficult hitTest!!!!!
JK, this is really simple.
First thing make a MC (Movie Clip) and give it the instance name of "man", also make a MC with the instance name "step".Then make another frame with the words "happy day!!!!!!!!!!!!!" and give both frames these actions:
stop();
now......now....now......now give the "man" these actions!
onClipEvent (enterFrame) {
if (key.isDown(key.RIGHT)) {
play();
_x += 0;
_rotation = 0;
}
if (key.isDown(key.LEFT)) {
play();
_x -= 0;
_rotation = 180;
}
if (key.isDown(key.UP)) {
play();
_y -= 0;
_rotation = 270;
}
if (key.isDown(key.DOWN)) {
play();
_y += 0;
_rotation = 90;
}
}
| » Level Intermediate |
|
|
Added: : 2004-10-07
Rating: 5.07 Votes: 15
Hits: 216
|
| » Author |
|
Pooches Gamin
|
| » 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.
|
|
|