home *** CD-ROM | disk | FTP | other *** search
- global gLevelTime, gTotalScore
-
- on exitFrame me
- if (gLevelTime / 60) < 10 then
- timeCount = "0" & string(integer(gLevelTime / 60))
- else
- timeCount = string(integer(gLevelTime / 60))
- end if
- if (gLevelTime mod 60) < 10 then
- timeCount = timeCount & ":" & "0" & string(gLevelTime mod 60)
- else
- timeCount = timeCount & ":" & string(gLevelTime mod 60)
- end if
- member("Time1").text = timeCount
- levelScore = 500 - gLevelTime
- if levelScore < 20 then
- levelScore = 20
- end if
- gTotalScore = gTotalScore + levelScore
- member("Score1").text = "Your Score: " & string(gTotalScore)
- end
-