I just released version 1.3 of my BeebeGames Class today, and here are the new features:
* A total of 6 new functions (and 2 new methods) that all have to do with time and timers.
* A replacement for timer.performWithDelay() that will allow you to pause/resume your timers.
* A table that will hold all active timers (that were created with the new function) as well as functions that will allow you to pause, resume, and cancel all timers easily with one line of code respectively.
Here’s a tutorial that goes over everything that was added today:
http://jonbeebe.tumblr.com/post/2439016279/how-to-use-the-new-time-functions
Here are all the new functions:
-
performAfterDelay()
-
timerObject:pause()
-
timerObject:resume()
-
timerObject:cancel()
-
resetTimeCounter()
-
getTimeCounted()
-
beebegames.activeTimers table
-
pauseAllTimers()
-
resumeAllTimers()
-
cancelAllTimers()
Once again, you can get the BeebeGames Class from the Corona Code Exchange, and learn how to use all of the above functions here:
http://jonbeebe.tumblr.com/post/2439016279/how-to-use-the-new-time-functions [import]uid: 7849 topic_id: 4682 reply_id: 304682[/import]
