setting the screen resolution

BlitzMax Forums/BlitzMax Beginners Area/setting the screen resolution

Ryan Burnside(Posted 2006) [#1]
How can you set the resoultion? I would like to run my game in 320x240 for an old style feel.


GfK(Posted 2006) [#2]
Graphics w,h,d,hz,flags

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


Ryan Burnside(Posted 2006) [#3]
Right, but how do I stretch it across the screen without anti aliasing?


tonyg(Posted 2006) [#4]
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


H&K(Posted 2006) [#5]
In with Tony, 320/240 is normal aspect


amonite(Posted 2006) [#6]
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.


Ryan Burnside(Posted 2006) [#7]
Tyhank you that looks great!
Any link to your game I would like to try it as I'm a HUGE fan of shmups.


amonite(Posted 2006) [#8]
http://perso.orange.fr/blitzmaxdoc.fr/Hiryu.rar
thanks for your interest !

Benyboy aka Neji.