Log In  

Symptom:

  • a program that loops (intentionnaly or not!) will not produce any print before _update or program exits.

How to reproduce:

  • paste following code in main.lua
for i=1,10 do
 print(string.format("hi world %ith",i))
end

while true do
end
P#143974 2024-03-20 19:33

This seems to be a greater problem of it not producing output at all until _update() or _draw() happens. If you put output code (spr(), map(), etc.) in _init(), it also will not affect the output.

P#143984 2024-03-20 20:36

[Please log in to post a comment]