I’m trying to make a game with a time limit of around 60 seconds and have tried of couple ideas but have been unsuccessful in getting anything to work. What I tried was putting this code on a button:
on (release) {
gotoAndPlay (2);
_root.time1.getTime();
}
Then, on the next frame:
onClipEvent (enterFrame) {
_root.time2.getTime();
_root.time3 = _root.time2 - _root.time1;
if (_root.time3 > 6000) {
gotoAndStop(3);
}}
I’m sure that this is just absolutely wrong because I checked what the variables return and that’s absolutely nothing…Can anyone give me any suggestions? Thanks for any help