1
Graphics / How do I organize my Tileset based on the Tile Map example
« on: June 03, 2014, 04:47:29 pm »
So I have a Tilemap, and it works... if I am only loading one Tile. As soon as I try to load more than one(Example 1 results in only one, very distorted, tile loading Example 2 results in crash), it doesn't work.
Here are two ways I thought would work, but aren't for me... any ideas?
Here are two ways I thought would work, but aren't for me... any ideas?
Code: [Select]
//Load First Tile
if (!Map.Load("Tile Location", Vector2u(32, 32), Level, 16, 16))
return -1;
//Load Second Tile
if (!Map.Load("Tile2 Location", Vector2u(32, 32), Level, 16, 16))
return -1;
Code: [Select]
//Load 1 Tile sheet, 256x256 //I Have also tried 256, 256 here
if (!Map.Load("Tileset Location", Vector2u( 32, 32), Level, 16, 16))
return -1;