initial commit

This commit is contained in:
2025-02-04 23:42:28 +03:00
commit 68afa6cd8b
3 changed files with 47 additions and 0 deletions

8
data/scripts/game.lua Normal file
View File

@ -0,0 +1,8 @@
-- called every frame, with constant delta time
function game_tick()
-- ctx.initialization_needed is true first frame and every time dynamic reload is performed
if ctx.initialization_needed then
-- ctx.udata persists on reload
ctx.udata = {}
end
end