let events = @import("events")
var timer = 0
events.on_update(lambda (dt):
timer = timer + dt
if (timer > 1):
@print("test")
timer = 0
end
end)
return {
.title = "Game",
.res_width = 1280,
.res_height = 800,
.tick_rate = 60,
}