Hi everyone!
I was trying to make a timer that counts down from 30 every second, but it just got stuck on 30.
What is wrong here?
num=30
function on.paint(gc)
gc:drawString(num,0,0,"top")
timer.start(30)
end
function on.timer()
num=num-1
platform.window:invalidate()
end