delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/18/06:22:17

From: Gal <wribak AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Glitch-free scrolling under Win95?
Date: Mon, 18 Aug 1997 00:05:08 -0700
Organization: Spamless Society
Lines: 30
Message-ID: <33F7F424.1B7D@usa.net>
References: <5t8bj1$c91$1 AT cantuc DOT canterbury DOT ac DOT nz>
Reply-To: wribak AT usa DOT net
NNTP-Posting-Host: lap-ca1-24.ix.netcom.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Windows, as well as any other multitasking environment, splits up the
time interval in order to run other threads/process/programs at the same
time.  So you see, it flickers, or gets unsmooth scrolls because Windows
runs some other task.  Try not running anything at all in the
background.




Davin Pearson wrote:
> 
> I have just installed the Allegro libraries and demos and have noticed
> that my Win95 box makes some of the screen scrolling demos glitch
> about twice every second.
> 
> I used to program on the Amiga, where you could write a demo that
> scrolled around a huge bitmap with no glitches whatsoever.  Is such a
> thing possible on Win95?  If so, how do you do it using Allegro?
> 
> I am writing a car game, in which the view point of the cars is a
> birds-eye view, and so the graphics engine is simply a piece of code
> to scroll around a super bitmap (in main memory).  The problem is that
> glitches are much more noticable when you are scrolling a huge bitmap
> as opposed to moving sprites and pixels around the screen like
> all those asteroid-clone games.
> 
> If someone has written some Win95-glitch-free code under DJGPP, could
> they post a pointer to it?
> 
> ta, Davin.

- Raw text -


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