home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / Beams.dxr / 00044.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  654 b   |  20 lines

  1. global gRemaindingTime, gScore, gLevelSeconds
  2.  
  3. on enterFrame me
  4.   gScore = gScore + gRemaindingTime
  5.   member("Score1").text = "Score: " & string(gScore)
  6.   member("Score2").text = "Score: " & string(gScore)
  7.   if (gLevelSeconds / 60) < 10 then
  8.     timeCount = "0" & string(integer(gLevelSeconds / 60))
  9.   else
  10.     timeCount = string(integer(gLevelSeconds / 60))
  11.   end if
  12.   if (gLevelSeconds mod 60) < 10 then
  13.     timeCount = timeCount && ":" && "0" & string(gLevelSeconds mod 60)
  14.   else
  15.     timeCount = timeCount && ":" && string(gLevelSeconds mod 60)
  16.   end if
  17.   member("Time1").text = "Time: " & timeCount
  18.   member("Time2").text = "Time: " & timeCount
  19. end
  20.