This is a demo showing one way a clock can be made fo your game.
It is still under partial developmet, making sure no bugs exhist.
I also explain with an example how to set up alarms/events, so you can have something ocur when the clock hits a certain time.
The only know bug I know of is every 4 seconds the clock takes a 1 to 2 second pause.
Why it does this, I do not know, it is probably just overloaded, but it should not ruin your game.
Sorry I did not post so many comments(in the code), but I figured it would be easy enough
for someone just needing the clock to paste the code into their game, and easy enough for someone fixing the bug(s)
to read the code. Plus I am not a biggy into comments, unless I am writing a complicated demo/tutorial.
Oh...and I would not mind at all if you gave me even the smallest amount of credit. But I will
not get angry at you if you dont. But the more creidt I get the more inspiration I might get
to make more free code.
ID:101203
Aug 1 2004, 10:00 pm
|
|