ona/debug/app.ona

21 lines
238 B
Plaintext

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