How could i know the status of the timer if its still running or not?
thanks in advance
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
timer status
+1
Not sure if there is a built in function for that, but you can just turn a flag on and off.
1 2 3 4 5 6 7 8 9 | local timerOn = 0 --turning the timer on timer1 = timer.performWithDelay( blah blah ) timerOn = 1 --turning the timer off timer.cancel(timer1) timerOn = 0 |
views:1583 update:2011/12/1 20:56:45
热门文章
GameCenter LeaderBoards and Achievements Enabled Through OpenFeint
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
相关文章
SQLite and D&D database = learning fun!!
Hamster Vice Comic Book now in App Store
canvas size not work
FPS - game stutter
Simple 3D Transforms
Understanding Functions and Scopes - Followup Post
Checking if an object is in collision state
Creating a non-linear animation
Fast App Switching
What's new? Ansca Mobile knows what's best for you!
Hamster Vice Comic Book now in App Store
canvas size not work
FPS - game stutter
Simple 3D Transforms
Understanding Functions and Scopes - Followup Post
Checking if an object is in collision state
Creating a non-linear animation
Fast App Switching
What's new? Ansca Mobile knows what's best for you!
corona forums © 2003-2011