game: implement timers

we now can have timers in scripts, very convenient
for long-running effects. level script is also changed
to demonstrate this, it generates an explosion series once
the player enters a checkpoint