realbasic-games
[Top] [All Lists]

tiles and Sprite Surface & Draw

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: tiles and Sprite Surface & Draw
From: Eric <cire- at prodigy dot net>
Date: Sun, 27 Jul 2003 11:51:00 -0500
> Subject: Re: tiles and Sprite Surface
> From: "Seth Willits" <seth at freaksw dot com>
> Date: Sat, 26 Jul 2003 16:16:36 -0700
>
> On Saturday, July 26, 2003, at 03:45  PM, Eric wrote:
>
> >   g.drawPicture
> > Tiles(game_Map_Layers(5).Get_Tile_ID(ypos+1,xpos+1)).Get_TileImage,ypos
> > ,xpos
>
> Are you sure you want to draw the tile at (ypos, xpos)? Shouldn't it be
> (xpos, ypos)?
>
> Seth Willits

Normally yes...but when I did that the tile were not drawn at the right place.
When I flip xpos and ypos around the tiles were drawn at the right place.
I think I did something wrong when loading the tiles or maybe its
something with the map...

Question - X = Height = Column   and  Y = Width = Row?

Thanks
Eric


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