realbasic-games
[Top] [All Lists]

Re: Tiles, Maps and Sprite Surface

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Tiles, Maps and Sprite Surface
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 24 Jul 2003 20:23:37 -0700
At 9:23 PM -0500 7/24/03, Eric wrote:

So now the question is how do I or how should I display the
tiles according to the map layer data in Sprite Surface?

You should draw them in the PaintTile event. That gives you the row and column of the tile that needs to be painted; so all you have to do is look up the corresponding map data and draw the appropriate graphics.

Have you looked at the examples on the CD? It sounds like Platform Demo would be very similar to what you want to do, as would the RPG Demo.

Cheers,
- 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>