Different Graphics Modes

Blitz3D Forums/Blitz3D Beginners Area/Different Graphics Modes

Mimi(Posted 2004) [#1]
Is there any easy way to program a 2D game for different graphics modes, say for 1024x768 and 800x600 full screen mode? It should run in a optimized pixel resolution and adapt automatically to the available screen mode, of course.

I can always define objects, text, background a.s.o in different adapted sizes, but that's a lot of effort. Is there an easier way?


Stevie G(Posted 2004) [#2]
Why not just scale all the images after they are loaded based on graphics mode used.

If you've got B3d you may want to check out some of the 2d in 3d libs - there's quite a few kicking about.


Mimi(Posted 2004) [#3]
thanks stevie

the problem is that I use a lot of geometric "objects" which are defined in the game, not loaded as pictures. But of course, I can scale them.
thanks


eBusiness(Posted 2004) [#4]
Many games allow a bigger playing field with higher resolutions, so nothing is scaled, personally I find that quite nice, but I don't know if it will fit for your game.