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: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Mon, 27 Jun 2005 12:48:17 -0500
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>
At 12:41 PM -0400 6/27/05, Troy Rollins 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.

Best,
- Joe

--
Joe Strout                          REAL Software, Inc.

Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
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>