Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Restart timer — Gideros Forum

Restart timer

seppseppseppsepp Member
edited October 2013 in General questions
Hi @all,

simple problem which nevertheless drives me crazy. I'm using the popular scene manager and create a timer in a scene's init method. This timer should be called 10 times. Each time a callback gets executed - which really is executed - double checked. On Event.TIMER_COMPLETED another callback does some stuff and then calls timer:reset() and timer:start(). Guess what? The timer doesn't seem to start again. Both stated callbacks are no longer executed. Can't I reset timers that run a certain number of times? Any ideas? I would be happy about some food for thought.

(I'll go and have a coffee.)


Thanks a lot

Sebastian

Comments

Sign In or Register to comment.