realbasic-games
[Top] [All Lists]

Re: Changing Resolution

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Changing Resolution
From: Frank Condello <developer at chaoticbox dot com>
Date: Fri, 11 Feb 2005 17:33:29 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <1grsvfh dot 5m6rl3r6dkemM%support at monkeybreadsoftware dot de>
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>

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