Hi,
I am new to Unity and 2D Toolkit, with a lot of experience with C#. I am working on a top down 2D game, using tile maps and sprites. I have setup the following:
Camera: 16 pixels per meter, zoom factor of 1.
Tile Sprite / Collection: 16 pixels per meter, tiles are 128x128 pixel.
Tile Map: 15 columns, 15 rows.
Using GuiLabel, I have the following info on screen:
Tile Size X: 6.4, Y: 6.4 - This is calculated using tile map data. I'm not sure if 6.4 is in units/meters. If I multiply it by 16, is that my tile map bounds?
Cam Max X: 38.4 Y:54.4 - If I remember correctly this is from the Camera instance's screen extents.
I am having some trouble getting the camera to stay within the tile map bounds. Can someone please point me in the right direction?