delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/28/22:30:19

From: wpp AT brinet DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Game loop
Date: Sat, 29 Aug 1998 01:33:06 GMT
Organization: http://extra.newsguy.com
Lines: 13
Message-ID: <35e75a04.3753803@cnews.newsguy.com>
References: <6s2mth$c70$1 AT towncrier DOT cc DOT monash DOT edu DOT au>
NNTP-Posting-Host: p-921.newsdawg.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 27 Aug 1998 04:22:09 GMT, preacher AT yoyo DOT cc DOT monash DOT edu DOT au (Robert
Clayton) wrote:

>I'm using the standard dos timing function to return a time at the
>start of my loop and then a time at the end of my loop.
>
>If not enough time has passed I wait.
>
>The problem is, one time unit is still too slow.  How can I test in
>smaller units?

The allegro library has great clock manipulation functions.
Very easy to use, and has many other game related features.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019