realbasic-games
[Top] [All Lists]

Ok...... tiles and Sprite Surface

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Ok...... tiles and Sprite Surface
From: Eric <cire- at prodigy dot net>
Date: Mon, 28 Jul 2003 13:11:23 -0500
>
>
> >Since I don't know much about SpriteSurface in's and out's would it not
> >be better for Spritesurface to draw at what ever the tiles size's are rather
> >than a set 64x64?
>
> No, since you don't know much about SpriteSurface in's ound out's, it
> would be much better for you to stick with 64x64 tiles rather than
> attempt something more complex.

Well what I meant was instead of spritesurface having a set 64 x64 tile, 
wouldn't
it be better to have  Sprite Surface not have a set tile size? I guess I don't
know why Sprite Surface is set at a 64 x 64.

>
>
> >So if I use 32x32 I would need to draw 4 for ever I tile of Sprite
> >Surface...ewe
>
> Yes.
>
> >That sounds very hard....
>
> Well, it won't seem so hard in another year or two, but yes, for now
> you should seize any opportunity to make it easier.
>

Well may in 10 to 20. ;-)

>
> >Well I check my cd no platform demo or any good examples or demos....
>
> What?  You should find quite a few.  Search for "Platform" and
> "Blasteroids" and "RPG"...  they'll all be there in a folder with my
> name on it.  :)  There are lots of other good examples too; poke
> around a bit.
>

My cd is old. I'm still in the stone age with my version of RB.
I did d/l them from your site though.
Endust! Endust!  Where is my Endust   ;-)


>
> You can also find some older versions of my code at
> <http://www.strout.net/info/coding/rb>.  But I don't update that as
> often as we update the CD, so they might be a little dusty.
>
> >Going from Canvas to Sprite Surface is bit of a pain. Drawing
> >the tiles in Canvas is easy.
>
> Overall the SpriteSurface is much (MUCH!) easier.  You just need to
> quit thinking of it like a Canvas.
>

Yeah its starting to get easier. Once you understand things...


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