Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / The 24 hour gameclock

Author
Message
Maxx illian
20
Years of Service
User Offline
Joined: 12th May 2003
Location: United States
Posted: 25th May 2003 21:15 Edited at: 22nd Jul 2003 02:07
NOTE: Dont even bother with this code. The seconds needed to be 5 instead of 6. The line .. if tclock<=timer()-6000 should be
if tclock<=timer()-5000 . So if you still want to use it, make this change.






This makes a 24 hour gameclock. Military time. It puts a graphical clock in the upper right of your screen. Be aware that the minutes are 6 seconds long. One day is equal to 2 real hours. This is great for most MMORPG's. With a little tweaking you can set it for anytime.

First, get yourself some number bitmaps 0 to 9. Make sure their about 16 pixels in width and in .bmp format. Put them in a folder called "numb". And make sure that folder is in the same folder as your exe file or whatever. I dont know why Im explaining so much. If your reading this you''ll get it right away



Have fun.

*** Maxillian Software ***

Login to post a reply

Server time is: 2024-04-19 06:27:18
Your offset time is: 2024-04-19 06:27:18