GLBasic forum

Main forum => Bug Reports => Topic started by: spacefractal on 2012-Jan-12

Title: MacOS: Fullscreen not work.
Post by: spacefractal on 2012-Jan-12
On Mac OS v10,6,8 (I cannot use . here because this forum just change them to a smiley which is very annoyring):

SETSCREEN x,y,1 only set a window in the maximum possible size, but does not enter exclusive fullscreen. This mean you lost around 40pixels on the bottom, because you cannot check the windowsize of it...... Then I would do that in as a workaround.

Title: Re: MacOS: Fullscreen not work.
Post by: Kitty Hello on 2012-Jan-12
use the project options to set the fullscreen flag. Don't use SETSCREEN on the Mac. It's a bug/issue with the SDL library.
Title: Re: MacOS: Fullscreen not work.
Post by: spacefractal on 2012-Jan-12
That works, but its have one very big limit:
- You can only use one resolution and its that one you set in option.

I more prefer to use the desktop resoulution for fullscreen, which you cannot do that (and yes setting resoulution like 9999x9998 crashed). I would more like the bugged fullscreen window and then detect the windows size of it, so you can enjoy nearly fullscreen.

so its would been very nice to let possible to start a glbasic in a fullscreen in the desktop resoulution (adding a "Desktop Resolution" in option would been great).
Title: Re: MacOS: Fullscreen not work.
Post by: spacefractal on 2012-Jan-12
alternative is its possible to change a setting file in the package, so the game can been started in next start in fullscreen and in the desktop resolution or what user prefer to been used? This can been the next best thing.
Title: Re: MacOS: Fullscreen not work.
Post by: MrTAToad on 2012-Jan-12
Its a shame as screen resolution change was possible in 10.4 and 10.5

What I would do (and a lot of commerical games do this anyway), is display a message after the user has selected a new resolution that says something like "the new resolution will only come in affect when the game/program/utility is restarted".

Title: Re: MacOS: Fullscreen not work.
Post by: spacefractal on 2012-Jan-12
Extracly if possible? By now, there is no config to been used external outside binary file. If that was/is possible to do, I would doing that for MacOS.

And yes its a shame, but I seen it as a SDL bug (steam games is no problems), which only can been workaround than a app restart requirement.

By now I just use a window mode instead of fullscreen and then use DESKTOP resolution minus some pixels (in both x and y), so the bottom pixels is not hidden. Works nice for a workaround for this kind of game.
Title: Re: MacOS: Fullscreen not work.
Post by: Kitty Hello on 2012-Jan-13
I "think" you can un-fullscreen with SETSCREEN later. I'm uncertain, but it might be worth a try.
Title: Re: MacOS: Fullscreen not work.
Post by: spacefractal on 2012-Jan-13
I can first check that after a week vaccation. I then try that.

I do still wonder why we cannot select the user desktop resolution in setup. Its a little big ugly you first see a little window before setting a fullscreen (on Windows). Same on MacOS. Would rather been nice if its could been hidden in someway?

but anyway I cant test that right now, see you