-- called every frame, with constant delta time
function game_tick()
    -- ctx.udata persists on code reload
    if ctx.udata == nil then
        ctx.udata = {}
    end
end