realbasic-games
[Top] [All Lists]

Re: Carbon vs. Classic

To: "REALbasic Games" <REALbasic-Games at lists dot realsoftware dot com>
Subject: Re: Carbon vs. Classic
From: Chris Dillman <chrisd at plaidworld dot com>
Date: Sun, 29 Feb 2004 12:02:25 -0600
References: <13A919E0-6A2C-11D8-97BF-000A959BB33A at comcast dot net> <648550F7-6A41-11D8-9D50-000393B48432 at optonline dot net> <5F9A0644-6A96-11D8-ABE2-000A95CDD7B0 at ntlworld dot com> <43801FC6-6AC4-11D8-B8F3-000393B48432 at optonline dot net>
On Feb 29, 2004, at 4:05 AM, Nick Lockwood wrote:


On 28 Feb 2004, at 22:56, Daniel Lurie wrote:

Can someone explain this to me?

I am working on a little game. I'm using a canvas control for drawing. The Carbon build maxes at 30 fps, but the Classic one maxes at 45. Now, I have useoldrenderer set to true everywhere I could think of setting it. Is there anything else I could do to lessen the difference?

What are you doing in regard to double buffering? In classic you need to double buffer manually by drawing your graphics to a picture before displaying them in the canvas. In Carbon this is not necessary.


I do all my drawing to a picture called buffer, the I use drawpicture to draw it to the Canvas. When you say this isn't necessary in Carbon, do you Mean Carbon running under X only?

Yes

--
Email: chrisd at plaidworld dot com
iChat / AIM: crackbunny at mac dot com

Buy Art : http://www.starbounce.com
Listen to Music: http://www.trance-o-matic.com
Play Games: Plaid World Studios http://www.plaidworld.com
Learn game programming at http://www.idevgames.com
Day job: Software Engineer for http://www.riskwise.com, Part of LexisNexis




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

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

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