How To Pause All Active Timer Then Resume Them

Hello developers …

i have question about timer i need to pause all active timers i cant do timer.pause(t1) in build 591 is there any way to pause and resume them ??

thanks in advance [import]uid: 74537 topic_id: 15845 reply_id: 315845[/import]

Hi, You could use one of two methods:

  1. Insert all timers into a table, then cycle through with a FOR loop pausing each timer in the table. Then they can be resumed by doing the opposite. Also, the built-in timers only have pause and resume functions included from build 596, not 591. You’ll need to be a subscriber for that.

  2. Use the BeebeGames class found here http://developer.anscamobile.com/code/beebegames-class for your timers. You can pause all timers at once with one line of code and then resume with another line. Documentation is provided by JB in the link.

I recommend using the BeebeGames class from method 2 as you can test without a developer subscription.

Good Luck, Luke [import]uid: 75643 topic_id: 15845 reply_id: 58549[/import]

thank you @obeliskgames
[import]uid: 74537 topic_id: 15845 reply_id: 58572[/import]

Your Welcome. [import]uid: 75643 topic_id: 15845 reply_id: 58574[/import]