realbasic-games
[Top] [All Lists]

Re: whats the fastest way?

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: whats the fastest way?
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Tue, 22 Jul 2003 10:45:03 -0700
At 7:37 PM +0200 7/22/03, p_mueller1 at gmx dot ch wrote:

 > What sort of game do you want to make?

I wanna make a 2d-Game. I use a unmodeled Canvas as engine because I wanna
use masks. Its like the game "Deimos Rising".

I'm not familiar with that one -- is it related to Mars Rising?

OK, in this case you're going to have a pretty big screen with a lot of stuff moving around on it. You really won't get good performance out of a Canvas with that. The SpriteSurface would be quite appropriate (see my "Centauri" demo on the CD for a similar example), but if you need 8-bit masks, then I'd recommend using an Rb3DSpace.

If you have issue 1.1 of RB Developer (http://www.rbdeveloper.com), you'll find an article called "Three Ways to Animate" which compares the three approaches and shows how to use the Rb3DSpace as a fancy SpriteSurface.

You can also find some info on that in the Rb3D FAQ, at <http://www.strout.net/info/coding/rb/>.

HTH,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

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


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