Is it possible to make a timer?
I would like to have a Day, Hour, Minute, Seconds timer on screen.
To show how long the user has played the game for a specific level.
I believe I can save the "seconds" variable to a table
and load the seconds and have it calculate Days, Hours, Minutes to display.
Anyone know how this will work?
To show how long the user has played the game for a specific level.
I believe I can save the "seconds" variable to a table
and load the seconds and have it calculate Days, Hours, Minutes to display.
Anyone know how this will work?
Comments
However the problem is I cannot get custom image to change for 100hours and 10hours...
http://www.imagebam.com/image/bb0a80308226515
Also if anyone knows how to change hours to stop at 23 so when it becomes 24 it goes to 00 and adds 1 to days that would be great.
%10 means "mod ten" and can also be written mod(value,10). Mod returns remainder of a division. So 350%10 = 0 and 28%10 = 8.