- Online Community Forums » The Depot » PixelBots Combat Prototype 1

This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
PixelBots Combat Prototype 1
Neil Roy
Member #2,229
April 2002

I found 1280xwhatever to be quite nice. It is supported in various resolutions. For me, 1280x720, my wife's screen, 1280x1024. In one of my programs I took the desktop resolution, figured out the ratio then multiplied 1280 by that ratio to fit it to the screen (or just use the desktop resolution).

On my current game it is in 800x600, which is simple to use in windowed mode and for full screen I set it to a fullscreen window the size of a desktop resolution, and then stretch everything to fit using ALLEGRO_TRANSFORM.

Edgar Reynaldo
Member #8,592
May 2007

Max Savenkov
Member #4,613
May 2004

Because current UI can't handle resolution changes. It could only scale using ALLEGRO_TRANSFORM, but scaling usually hurts fonts readability.

I'm already working on UI that will try to fit any resolution by repositioning & stretching, and when I'm done, I will do exactly what you are proposing: use desktop's resolution or FULLSCREEN_WINDOW.

 1   2   3 

Go to: