Im trying to make a fairly simple game in flash.
I dont really a clue what to do.
The story is:
Its 4:30pm and our teacher wont let us go home.
So the only way for us to get out of the class is to sneak out.
The person who manages to get out of the class first in the quickest time. Gets 1st place on the leaderboard.
My first intial idea of the the game. Is for him to turn his head to the drawing board giving us time to escape, however if he sees you moving your character its game over.
Im not worried about about the leaderboard atm.
But I have made this code so far:
stop();
me_mc.onPress = function() {
this.startDrag();
};
me_mc.onRelease = function() {
this.stopDrag();
start_time = getTimer();
if (this.hitTest(door_mc)) {
trace("Well done, you escaped");
gotoAndStop("win");
running_time = _root.timer_txt;
player_name = _root.playername;
}
};
I would really apperciate it if someone could help me out
Thanks,
MAdEinUK1
