Page 1 of 1

drawing grid using tilemap2d help

Posted: Thu Oct 10, 2013 12:56 pm
by dnasello
I am using tilemap2d and I am trying to draw the grid (10x10 grid) because it is easy to mount characters to the grid (translate to tile etc). however, the tile grid gets rendered right in the middle of the screen. is it possible to get the tiles render on the top left corner of the screen? the point is i want to build a mobile game, there for i need to have the tile map on the top left corner. also the tile map will be the entire world (just the viewport size) i wont make use of the tracking camera.
the point is, I want the tile map to start rendering the grid on the top left corner of the screen, or a way that i can bring the camera to start at the top left of my screen, so i can have a fixed view port (since mobile is small).

also , is there a way for my globals to calculate from the top left of the screen rather than the center? i understand why it starts in the center and goes +- from there, however, for the type of game im making it would be much easier to start from the top left corner of my screen