[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Resolution for a 2d game



By no means do I hold up my effort as the best way (LOL not even close), just a way to handle some of this... of course Biagini you would see I'm not addressing the most interesting parts of your question...

http://www.pygame.org/project-Pythentene-1787-3113.html

About the only thing I would (will, when the time comes) do differently is to see if 800x600 is available and expect to be able to use it safely if supported. As it stands now, the game starts at 640x480 windowed and expects the user to figure out how to bump up the resolution (and/or select fullscreen).

On Mon, May 16, 2011 at 1:59 PM, Christopher Arndt <chris@xxxxxxxxxxxxx> wrote:
On 16.05.11 17:37, James Paige wrote:
> On Mon, May 16, 2011 at 07:25:02AM -0400, R. Alan Monroe wrote:
>>
>>> Please don't force a fullscreen resolution. It doesn't restore properly on
>>> dual-head setups.
>>
>> Agreed. Even on single screens it often repositions other running apps'
>> windows. A real nuisance.
>
> Another big advantage of NOT automatically forcing forcing fullscreen,
> is that it makes it very easy for you as the developer to test various
> resolutions that are smaller than your desktop size.

I never said he should *force* fullscreen. I usually just bind switching
to fullscreen mode to F11, but if you want to get fancy, make an option
menu and an option whether to start in fullscreen mode or not.

Christopher Arndt schrieb:
>> Just make your game fullscreen and choose a fixed resolution that
>> will fit on the smallest supported monitor.
> On 15.05.11 19:47, BIAGINI wrote:
> So my game will run in 640*480... I m not sure to understand. I really
> want to make my game is an higher resolution than 640*480.

The important word here is *supported*. You decide which is the smallest
screen size you want to support. If you decide to leave out users with
only a 640*460 screen (even smart phones have a higher resolution today)
out in the rain, it's your choice.

Besides, the smaller the screen surface, the faster your game graphics
are potentially. I personally think that 800*600 is a good compromise
between enough resolution and compatibility/speed.

Chris