OnLayerUpdatemethod in the
If g.gameMode = g.gmPlay Then
Millisecsvalue. If yes, that means the game time ran out and you must show the 'game over' screen.
If g.endTime <= Millisecs() Then g.ShowGameOver()
Endif Endif Return 0 End End
Because we now act on the fact that the time ran out, we can finally play the full game. If everything builds well, you could ...