Mail Archives: djgpp/1997/05/22/15:49:05
"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 -