From: Dino Miniutti Newsgroups: comp.os.msdos.djgpp Subject: Speed Question Date: Thu, 19 Feb 1998 13:12:04 +1100 Organization: Dynamite Internet http://www.dynamite.com.au/ Lines: 22 Message-ID: <34EB94F4.2BA7@dynamite.com.au> Reply-To: dmin AT dynamite DOT com DOT au NNTP-Posting-Host: dialup74.dynamite.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I am currently writing a game that i intend to be played over a network. I am concerned however that the game may run at different speeds on different computers. thus giving the person with the faster computer an unfair advantage since he may be able to move faster than the others. I was wondering how i could possibly get the game to run at the same speed on all computers. I am using allegro to code the game. The solution that i had thought of was to assign a certain time to complete each 'cycle' and if the computer finished in less time, then get it to wait for the remaining cycle time. but then the problem i have with that is then the people with higher computers with have a lower framerate than is potentially possible, which could possibly make the game less enjoyable. does anyone have a better solution? possibly one that will not lower framerates. Thanks in advance, Dino Miniutti