CodeBase - Digital Clock
Return to the CodeBase listing
Category: Text
Version: 1.0
Information
Uploaded: 26th May 2005 12:49
Modified: 1st Jan 1970 01:00
Author: Trek
Summary
A 100% accurate minutes:seconds formatted digital clock
Full Description
This is a well remarked program that demonstrates how to put a simple digital clock in your games that require exact timing. Using your computer's timer, it steadily increases the seconds at the correct intervals no matter what the user's processor speed is (unlike variable controlled clocks). Not only do the remarks explain what the program technically does (e.g. this divides this variable by 2) but it also explains why it does what it does. It also implements a pause system that pauses the time and returns to the exact time as it was when paused. This may even be helpful for people just looking for a good pause system since it has a simple method for preventing it from instantly switching back and forth between paused and unpaused. <br /> <br /> I'm currently using a method similar to this one for my upcoming release, Ice Hockey II. To track this program's progress and download my other games, check out my website at http://roborangers.home.comcast.net/Trek.html<br /> <br /> Thanks for stopping by.<br /> <br /> Trek Manager D3
Comments
No comments yet.