My integer based "timer" subtracts itself...
ahodge0821
Member Posts: 10
Okay, so I'm very close to publishing an app, but there is a strange glitch in the game where my integer based "timer" subtracts itself for some reason. It works like a charm at first. Here is what's happening: When I play another level that is not a timed level, when I play an "ENDLESS" level, then go back to my "timed" level, my timer has subtracted itself by 1 whole integer! I'm using this as a countdown timer by the way. The player has X amount of seconds to score as many points as possible. Does anyone have a quick fix or tip for me? Any input would be great. I'm also using this formula floor(floor(( game.MY TIMER A %3600)/60)/10)..floor((floor( game.MY TIMER A %3600)/60)%10)..":"..floor(( game.MY TIMER A %60)/10)..floor( game.MY TIMER A %10) and I'm using a "Display Text" behavior if this helps. And my timer is getting the number from a table, since I found it was very easy to work with one. Thanks!
I forgot to also mention that this only happen on my iPhone on my ad hoc and on the iPhone gamesalad viewer program
I forgot to also mention that this only happen on my iPhone on my ad hoc and on the iPhone gamesalad viewer program