simple chroonomètre
voici un pétit conte a rebour de 10 secondes pour vous aider pour vos project je ne sais pas comment maitre le code dans une boite désoler
init = function() temps_restant = 10 end update = function() if temps_restant > 0 then temps_restant = temps_restant - 1/60 end end draw = function() screen.clear("#000") if temps_restant > 0 then screen.drawText(floor(temps_restant), 0, 0, 15, "#fff") else screen.drawText("0", 0, 0, 15, "#f00") end end