Re: Vitrual screen pages

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 12 Mar 1997, Matt Sephton wrote:
>
> I'm looking to write some sort of game in 320x200x256 resolution but
> video_config() only reports 1 page (numbered 0) that I can work with.
> Will it make a difference if I use use_vesa(1)? Any ideas or tips?

That's right.  You get one and only one page to work with.  The best way
to work is to create a screen sized sequence (called a Virtual Screen) and
"draw" you images into it, then after all your sprites are drawn, you
update all the changed regions on the real screen by grabbing the
corresponding portions of the virtual screen and display_image()ing them.

My book, "The OidZone Programmer's Reference" explains this in gross
detail, as well as keeping track of hundreds of sprites at the same time.

Michael Packard
Lord Generic Productions
lgp at exo.com http://exo.com/~lgp
A Crash Course in Game Design and Production
http://exo.com/~lgp/euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu