When working with something like this and a LOT of it:
transitionStash[#transitionStash+1]=transition.to (obj,{time=2000,x=200,onComplete=function() timerStash[#timerStash+1]=timer.performWithDelay (1000,startfunction,1) end})
How can I implement a pause function for both timers and transitions?
I can pause all transitions, by using transition.pause() … but for timers I have to pause them individually AND it seems not to work for the above construct… somehow the timers get started even when they should be paused by a for look cycling through the table. I think the pause for timers will only timers which already got started and not those waiting to do their “stuff”.
Has anyone a good and easy to implement solution for this?
Thank you!
