Mail Archives: djgpp/1997/08/20/08:50:03
From: | davin AT cosc DOT canterbury DOT ac DOT nz (Davin Pearson)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Glitch-free scrolling under Win95?
|
Date: | 18 Aug 1997 02:21:21 GMT
|
Organization: | University of Canterbury
|
Lines: | 20
|
Message-ID: | <5t8bj1$c91$1@cantuc.canterbury.ac.nz>
|
NNTP-Posting-Host: | 132.181.12.74
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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 -