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:1571 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
相关文章
Whats the difference in declaring a function?
Move Camera with an object
Question about Developer
touch events persist after scene change (Storyboard)
Best method for handling multiple resolutions
Flexible Game worlds - Graphics to resolve the issue
OOP - error using display group as container object? - object:insert(sprite) fails
[solved] Download/Display Text
Play a remote MP3?
in app Purchase
Move Camera with an object
Question about Developer
touch events persist after scene change (Storyboard)
Best method for handling multiple resolutions
Flexible Game worlds - Graphics to resolve the issue
OOP - error using display group as container object? - object:insert(sprite) fails
[solved] Download/Display Text
Play a remote MP3?
in app Purchase
corona forums © 2003-2011