- 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.

“I love you too.” - last words of Wanda Roy

Edgar Reynaldo
Major Reynaldo
May 2007

Hey, Max - why don't you try 1280 x 800 (or the users desktop size) with ALLEGRO_FULLSCREEN_WINDOW? That at least lets you minimize and maximize the window easily.

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: