Mail Archives: djgpp/1998/01/25/05:48:31
o_marciano AT ibm DOT net wrote:
> Im am trying to create a tile based game. I am planning on using a
> 640x480 resolution with a 1024x1024 virutual screen. I will scroll
> using the mouse. Even with the 1024x1024 virtual screen, that really
> doesnt give that much room to scroll around.
>
> Recall games such as Civ2, Warcraft, CC. This games have maps that
> are more than 3-4 times the size of the physical screen (whatever the
> resolution may be). Is there some other scrolling/virtual screen
> technique that they are using to accomplish this. Or is it possible
> that they are using a resolution lower 640x480 (it doesnt seem that
> this is the case because everything looks to clear to be using a
> resolution such as 320x200)
You could consider using a memory bitmap as a virtual screen. This would be
a sort of modified double-buffer. You simply do whatever you would normally
do on a virtual screen on the bitmap instead, and then blit the relevant
portion to your screen bitmap.
HTH!
Tom Cook
- Raw text -