Tutorial: Flash Game

7,870
0
Published 2008-11-22

This is my easy step to step tutorial on how to make a flash game in flash 8.... In this flash I will be showing you in some simple steps how to create a moving and turning character for a flash game! Please go to www.theFlashGallery.tk to see more of our great flash movies and games! Please Rate And Review! If the code in the tutorial doesnt work try this:

onClipEvent (load) {
speed = 4;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this.gotoAndStop(2);
this._x += speed;
} else if (Key.isDown(Key.LEFT)) {
this.gotoAndStop(4);
this._x -= speed;
}
if (Key.isDown(Key.UP)) {
this.gotoAndStop(1);
this._y -= speed;
}
if (Key.isDown(Key.DOWN)) {
this.gotoAndStop(3);
this._y += speed;
}
}

If this doesnt work then you might want to check your using 'FLASH8'!!!!!!!!!!!