Not sure if I’m missing something here, but when I do something like the following:
local timer = 0.0
function update(self, dt)
timer = timer + dt
msg.post("@render:", "draw_text", {text = "Timer: " .. timer, position = vmath.vector3(200, 200, 0)})
end
The resulting printout is quite a bit faster than seconds. Is it supposed to be that way? If so, what is a good way to sync up results to seconds?