Internal Game Timer

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Internal Game Timer

Post by Mitth'raw'nuruodo »

I already posted this at QBnews but I'm also posting it here:

I'm trying to make a game clock for my program (SpaceMerc) using the TIMER statment but it has a 1 hundreth accuracy (.01) only, I want a 1 tenth thousanth accuracy (.0001).

How do I do this?
"But...It was so beutifully done"
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Search google... I think DQB might have a routine for this, though!
Image
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

That's not helpful Nate.

If you provided links then that's helpful.

I have no clue what to search google for. :cry:
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

How about: QB + Timer
Or: DQB + Timer
Or you could bother checking what DQB stands for, or just ask...
And google for: DirectQB + Timer

Another funny thing you could try is to go around the QB sites and do a search on each one, seeing if your Q has been asked before (I think it has, and no, I'm not asying dont post the Q again)
Chanses are it has been responded too.
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Thanks Z!re. :D

And it has been asked before. By me in QBnews...lol :wink:
"But...It was so beutifully done"
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Found it! Check the download section... its there!
Image
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

on our website (me and lurah's).... http://www.ascii-world.com in the libraries, there's a 1/1,000,000th of a second accurate timer library developed by a friend of mine... All depends how accurate you wanna get ;-).
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Thank you.
"But...It was so beutifully done"
Post Reply