Display Time Of Day (Clock) On G-Force?

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
curthuff
Posts: 1
Joined: Tue Dec 13, 2005 4:11 pm

Display Time Of Day (Clock) On G-Force?

Post by curthuff »

We listen to our music and watch G-Force full screen. Is it possible to display the time of day as part of the G-Force visualization? It would be nice to do it periodically, rather than all the time.

User avatar
chkman
Posts: 329
Joined: Mon Aug 08, 2005 12:36 pm
Location: Greensburg, PA

Post by chkman »

No known way at this time. I was trying to do a real time clock as a waveshape some months ago. The hands of the clock just didn't line up with the current time. I found out that "t" was seconds since G-Force started running. I asked Andy if he would add syst for system time but never got an answer. No answer means NO.

Now if you can email yourself the time you could. Running G-Force full screen with Outlook running (on XP) I see a box appear for a few seconds in the lower right hand corner when a new email arrives. If the email had the current time as the text. Otherwise....

User avatar
chkman
Posts: 329
Joined: Mon Aug 08, 2005 12:36 pm
Location: Greensburg, PA

Post by chkman »

On 2nd thought there might be a way, although kludgamatic. You could create text sprites with various times as the text. You would need a script to display the times and you would have to start the script running at the appropriate time. None of this sounds fun.

If you start watching G-Force say just before 6PM and start the script at exactly 6PM, the script would look something like this:

00:00:00 StartSprite("6_00PM");
00:15:00 StartSprite("6_15PM");
00:30:00 StartSprite("6_30PM");
00:45:00 StartSprite("6_45PM");
01:00:00 StartSprite("7_00PM");

etc.
You would have to create files called 6_00PM.txt with the text 6:00PM in it, 6_15PM.txt with the text 6:15PM in it, etc.

Now if you're 15 minutes late to start G-Force you'd need a script that started:
00:00:00 StartSprite("6_15PM"); etc.

Have fun :lol:

User avatar
chkman
Posts: 329
Joined: Mon Aug 08, 2005 12:36 pm
Location: Greensburg, PA

Post by chkman »

Now that you got me on the subject, there would be an easier way. Again, starting at 6:

00:00:00 stdout("6:00 PM");
00:15:00 stdout("6:15 PM");
00:30:00 stdout("6:30 PM");
01:00:00 stdout("7:00 PM");

etc.

It would print on the left side of the screen and after a little while scroll up off the screen.
The previous example with the text sprites would show the text at a random spot and it would move around the screen before disappearing.

Okay, I'll shut up now, thanks for listening. :wink:

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Then again, you can enter an stdout by the minute; but I guess that's kinda pushing it...........
"God is syntax."

User avatar
chkman
Posts: 329
Joined: Mon Aug 08, 2005 12:36 pm
Location: Greensburg, PA

Post by chkman »

Easy enough in VB, but online in PHP will take longer...
Something like this?
0:00:00 stdout("18:00:00");
0:01:00 stdout("18:01:00");
0:02:00 stdout("18:02:00");
0:03:00 stdout("18:03:00");
0:04:00 stdout("18:04:00");
0:05:00 stdout("18:05:00");
0:06:00 stdout("18:06:00");
0:07:00 stdout("18:07:00");
0:08:00 stdout("18:08:00");
0:09:00 stdout("18:09:00");
0:10:00 stdout("18:10:00");
0:11:00 stdout("18:11:00");
0:12:00 stdout("18:12:00");
0:13:00 stdout("18:13:00");
0:14:00 stdout("18:14:00");
0:15:00 stdout("18:15:00");
0:16:00 stdout("18:16:00");
0:17:00 stdout("18:17:00");
0:18:00 stdout("18:18:00");
0:19:00 stdout("18:19:00");
0:20:00 stdout("18:20:00");

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Exactly my point. It's just that doing the same routine for *every minute of a 24-hour day* either way you slice it...........................................
](*,)
"God is syntax."

Post Reply