I am testing tiled-map game with cocos2d-x, and I want to know how we get the information from the map-level (from .tmx file created with Tiled, map editor tool) in code.
I read tutorial from http://www.raywenderlich.com/1163/how-to-make-a-tile-based-game-with-cocos2d at the setViewPointCenter() function, and saw that it used
to access the entire tilemap’s size
to access individual tile’s size.
Both are not available in cocos2d-x, but we still can access via other methods I believe. I also tried
to try and get the size (width) of entire tilemap, but no success. The same goes for tilemap’s size as I used
Any suggestion on how we get those property from .tmx file in code ?