Voxel Game Maker

Docs Cookbook

Speedrun timer

Game Settings ▸ Lives & score ▸ Speedrun timer (each level's time, with the best so far).

#Without code

Game Settings ▸ Lives & score ▸ Speedrun timer (each level's time, with the best so far). Optional: Ghost of the best run (a see-through player to race).

#Quick code

Where it goes: Event: Player enters the world.

while true do
  hud_text("clock", "Time: " .. round(time()))
  wait(0.5)
end