delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/22/15:49:05

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How fast can you get in 640x480? (allegro)
Date: 22 May 1997 04:44:15 GMT
Organization: The National Capital FreeNet
Lines: 22
Message-ID: <5m0iuv$m7j@freenet-news.carleton.ca>
References: <3382D395 DOT 118 AT canvaslink DOT com> <01bc6614$95f87b40$372f63c3 AT default>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet3.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Thomas Harte" (T DOT Harte AT btinternet DOT com DOT REMOVE_THIS_BIT) writes:
>> Another -very important- difference is that it totally helps to dword
>> align the x coordinates when you draw a sprite.  In other words, you
>> need to use multiples of four.  In 640x480 this really isn't that bad if
>> you do it right, and it brought my frame rate from around 20-30fps to
>> 60-70fps (!!!).
> 
> 	Excuse my ignorance, but - what? How do you do that then / what do you
> mean?
> 	Is that like only drawing sprites at x=0, x=4, x=8 . . . ?

Isn't this alignment thing only for Mode X? 640x480 Diamond Stealth sure
isn't Mode X. (I use off-screen areas and other clever tricks to get my
mode X game to take advantage of the latch registers without it scrolling
in four pixel lurches.)

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


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