realbasic-games
[Top] [All Lists]

Re: Canvases sometimes black

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Canvases sometimes black
From: Troy Rollins <troy at rpsystems dot net>
Date: Mon, 27 Jun 2005 13:58:37 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <BEE5084A dot DD9D%larsjensen at rcn dot com> <d2fcd18d080737fcded2aa9997cb617f at rpsystems dot net> <a06200716bee5c154d193 at [10 dot 10 dot 13 dot 4]> <9b6e354273e38aa2a38c0769ad2d5440 at rpsystems dot net> <a06200733bee5e1073fa8 at [10 dot 10 dot 13 dot 4]>

On Jun 27, 2005, at 1:48 PM, Joseph J. Strout wrote:

In my updateGameScreen, I am drawing to a buffer picture. At the end, I write that to my canvas. Using this technique, I am drawing a full frame image, every time the method runs.

That's a fine start. When you get to the point of doing optimizations, you'll want to keep track of which parts of the buffer have changed, and only draw those parts. But I'd suggest not worrying about it until you have the basic gameplay down.

OK.

Thanks for the tips everyone, I'm pretty well off and running at this point. At least until whatever the next hurdle is. ;-)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

_______________________________________________
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>