|
#1
|
|||
|
|||
|
I tried to write my own stopwatch/countdown - app. It works but it's not completed yet. Especially the countdown part still needs improvement.
Maybe I'll add some background pictures, too. ----- EDIT: Fixed milliseconds in stopwatch-part [using os.ostime()] Known Issues: - Player freezes after ~5 minutes (or your selected "Idle Shutdown" time) - Solution 1: Set the "Idle Shutdown" to "Off" OR -----
EDIT: New version: 0.4 beta Changes: added splash screen added info-screen changed exit-sequence to "community standard" (button.click() i think )fixed navigation and reset button bug in the countdown-part time in stopwatch-part is additionally displayed in h:m:s.ms format (e.g. 0:12:34.541 -> see screenshot 2 for picture) Last edited by djcrabs; 09-01-2010 at 05:21 PM. Reason: Update |
|
|
|||
|
|
|
#2
|
||||
|
||||
|
Problem is the milliseconds - os.clock only works on the sim, and os.time only does whole seconds. You're best bet is to use os.sleep and increment a value by 1 each time the script runs through.
The countdown is useful, but the stopwatch really does need milliseconds.. |
|
#3
|
|||
|
|||
|
Actually os.sleep() runs in centiseconds. Use os.wait() for milliseconds.
__________________
Only ONE more functions in the Wiki need addressing! Zen X-Fi2 LUA Wiki Want to protect your applications? Click Here! Tower Defense Thread Zen Lock - Protect Your Zen! |
|
#4
|
|||
|
|||
|
new version with os.ostime(), first thread edited
|
|
#5
|
|||
|
|||
|
Great app. Looking forward to see it finished.
|
|
#6
|
|||
|
|||
|
Thanks a lot.
Two issues i've found: - key lock can't be activated if the app is running - no chance to go back if the app is started (forced to shutdown the player) Thanks again for this great app. ![]() best regards Trente |
|
#7
|
|||
|
|||
|
Sorry for my long absence.
I've published the new version 0.4 beta in the first thread. I don't know if key lock can be activated in applications, but if you know how, feel free to tell me. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 11:51 PM.










)
Linear Mode
