Mail Archives: djgpp/1997/11/12/03:46:10
Alistair Bain wrote:
>
> In article <01bcee43$9495dc40$0c2331ce AT pentium>, RL <jate AT ionsys DOT com>
> writes
> >Does anyone know any tricks to get allegro/djgpp to create smooth
> >screen scroll (ie. not skipping by 4 pixels) in high resolution?
> >In other words, not using modex.
My game Mythos smoothly scrolls a 640x480x256 screen using compiled
sprite tiles. Using compiled sprites was the fastest way I could think
of to scroll such a large screen. The only speed drain is that although
the compiled sprites are drawn quickly to an invisible screen, the
invisible screen has to be blit()ed to the video screen. All the
drawing and scrolling is done through software, but the frame rate is
still very good on a fast computer (my system is 120Mhz Pentium). The
blit of a 640x480x256 regular Allegro bitmap is the only slow part of
the entire algorithm.
E-Mail me if you want to try the executable on your system for a speed
trial.
- Raw text -