Is it possible to make a timer?
WhySoCREATIVE
Member Posts: 75
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
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
%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.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User