|
-
time limit
hello,
I have made a maze game and was wondering how i would go about recording the time it takes for a player to complete the maze and maybe showing that on a leader board. Also if they complete it under a certain time the they progress to the next level.
Thanks for your time, much appreciated.
-
Senior Member
code:
start = function () {
startTime = getTimer()/1000;
//other code...
}
finish = function () {
finishTime = getTimer()/1000;
timeTaken = (finishTime - startTime);
//other code...
}
-
mmmmmmmmmmmmm
Thankyou i'll try it. how would i make a leader board though
-
problems
Would i insert the actionscript into a dynamic text box, and what other code would i need
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|