Hey, I have 4 years of Lua experience and I’m stuck creating 2 texts appearing one after another for an hour already. Looks something like this:
timer.performWithDelay(1000/60, firstTextFafeIn, 50) timer.performWithDelay(1000/60, secondTextFadeIn, 50) -- functions make texts' alpha add 1/50 every time
BUT
The only thing I don’t understand here is why timer starts these two functions simultaneously. I even created a wait() function
function skipTime() print("Skipped time") return end function wait(sec) timer.performWithDelay(sec\*1000, skipTime) return end
and still, though now obvious, they all start at the same time with no delay between each other.
How do I make another timer perform after the other one has finished its loop?