SET WINDOW ON
SET WINDOW SIZE 800, 600
SET WINDOW TITLE "Clock"
INK RGB(255,255,255), RGB(0,0,0)
SET TEXT SIZE 21
SET TEXT FONT "Small Fonts"
GTIME = TIMER()
SLEEP 120000
DO
GSEC = (TIMER() - (GTIME))/1000
IF GSEC > 59
GMIN = GSEC/60
GSEC = 0
GTIME = TIMER()
ENDIF
IF GMIN > 59
GHOUR = GHOUR + 1
GMIN = 0
ENDIF
IF GHOUR > 23
GDAY = GDAY + 1
GHOUR = 0
ENDIF
TEXT 10, 10, "Time: " + STR$(GDAY) + " Day " + STR$(GHOUR) + ":" + STR$(GMIN) + ":" + STR$(GSEC)
SLEEP 1000
SYNC:CLS
LOOP
That is my in-game clock program, thus far anyways. I am trying to figure out how to use a Float instead of Int to get the clock to resume when it's not being loaded by the program (This clock will display in a menu, but not all the time.) I found out how to get the minutes to resume, but the seconds are kind of blocking me right now. Sorry for the shoddy description, but it's kind of hard to explain
If anyone did get what I'm looking for however, feel free to help me out
If you have X-ray vision, can you see through your own eyelids?