setting the screen resolution

BlitzMax Forums/BlitzMax Beginners Area/setting the screen resolution

How can you set the resoultion? I would like to run my game in 320x240 for an old style feel.

Graphics w,h,d,hz,flags

If your graphics card doesn't directly support 320x240, you could use a higher resolution together with SetScale.

Right, but how do I stretch it across the screen without anti aliasing?

I must be missing something but isn't it simply
Graphics 320 , 240?
Maybe you're looking at somethign a bit more complicated so might need Indiepath's Projection Matrix

In with Tony, 320/240 is normal aspect

you could set your resolution like :

Graphics 320, 240, 16, 60

i recently used that mode for a small Shmup game i wrote and it performed rather well using GLMax2DDriver on the tested configs.
To give it an old school feel you could also use some scanline effect.
Also not quite sure about what you mean by
without anti aliasing
.
To me it will do aliasing when you just set the game to full screen.

Tyhank you that looks great!
Any link to your game I would like to try it as I'm a HUGE fan of shmups.

http://perso.orange.fr/blitzmaxdoc.fr/Hiryu.rar
thanks for your interest !

Benyboy aka Neji.