realbasic-games
[Top] [All Lists]

Re: Changing Resolution

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Changing Resolution
From: Martin Fitzgibbons <martin at rushsoftware dot com dot au>
Date: Sat, 12 Feb 2005 14:13:10 +1100
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <1grsvfh dot 5m6rl3r6dkemM%support at monkeybreadsoftware dot de> <83042b5e4680715943d5bac12cd368fb at chaoticbox dot com>
Thanks Frank,

It's mainly for students developing games for their senior high school projects so it should be fine.

============================
Martin Fitzgibbons
Kiama High
http://www.rushsoftware.com.au
http://www.crosswordwizard.com.au
On 12/02/2005, at 9:33 AM, Frank Condello wrote:

On 10-Feb-05, at 9:39 PM, Christian Schmitz wrote:

Martin Fitzgibbons <martin at rushsoftware dot com dot au> wrote:

What would be the neatest and easiest way to have your app change the
resolution of the client computer automatically to your window size?

...

PS: Of course the MBS Plugins include resolution change classes.

Just be careful with the MBS methods in Mac builds 'cause they'll re-arrange and/or resize any open windows, and the desktop items. This is a touchy subject with many gamers, and it's generally considered bad form to mess with other applications unless your app is specifically designed to do so.

I wrote the Display Overlord plugin (available here: <http://developer.chaoticbox.com/>) to avoid this problem, but it uses a nasty hack in OS X in order to get RB windows to sit on top of the coregraphics shielding window. Apple specifically warns that this is unsupported functionality, so there's no guarantee it'll work in future versions of OS X.

NOTE: MBS has CoreGraphics methods that allow you to capture a screen on OS X much like Display Overlord does on that platform, but I wouldn't place that route in the "neatest and easiest" category, and you're still faced with the problem that no RB windows will actually be visible after the fact.

To sum up: MBS is probably easiest for Win32, Display Overlord is probably easiest for Mac OS 8/9, and it also currently works on OS X, but in the end there's no "safe" way to get an RB window to draw on a captured OS X display no matter how you go about it.

Frank.
------------
Open Source RB Plugins and Classes
<http://developer.chaoticbox.com>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



============================
Martin Fitzgibbons
Rush Software
http://www.rushsoftware.com.au
http://www.crosswordwizard.com.au

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>