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


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.



[Please log in to post a comment]