realbasic-games
[Top] [All Lists]

tiles and Sprite Surface

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: tiles and Sprite Surface
From: Eric <cire- at prodigy dot net>
Date: Sat, 26 Jul 2003 17:45:43 -0500
Hi -

Ok in the PaintTile I have this
  g.drawPicture
Tiles(game_Map_Layers(1).Get_Tile_ID(ypos+1,xpos+1)).Get_TileImage,ypos,xpos

  g.drawPicture
Tiles(game_Map_Layers(2).Get_Tile_ID(ypos+1,xpos+1)).Get_TileImage,ypos,xpos

  g.drawPicture
Tiles(game_Map_Layers(3).Get_Tile_ID(ypos+1,xpos+1)).Get_TileImage,ypos,xpos

  g.drawPicture
Tiles(game_Map_Layers(4).Get_Tile_ID(ypos+1,xpos+1)).Get_TileImage,ypos,xpos

  g.drawPicture
Tiles(game_Map_Layers(5).Get_Tile_ID(ypos+1,xpos+1)).Get_TileImage,ypos,xpos

Ok that will display the tiles but it draws them to far apart. They
should be side by side.
Also they slant instead of going straight across and down.

Have I missed something?

Tile info
32x32

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>