
04-20-2011, 04:36 AM
|
One More Time
|
 |
Join Date: Aug 2010
Location: TN, USA
Posts: 631
|
|
Quote:
Originally Posted by fowlplay4
player.level.tilelayers[n].tiles[x, y].type()
You should really figure out what the actual value for the top-left tile on the tileset is before you make the assumption that it's 0. In the Tile Format it shows up as AA. Checking for 0 might be fine...
|
Value wise it is 0...
Also using type on any layer but 0 returns -1 |
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
|
|
|