Just been trying to do Retina TMX tiled maps myself, can’t get it working in Cocos2d-x (v 1.0.0-x-0.9.0).
I’ve posted screen shots of the normal mode map being displayed (this is what the Retina one should look like too a tree and a bix X in front of the Cocos logo), the Retina mode map, and another Retina mode with a modified TMX file.
Editing my HD “map1-hd.tmx” file and changing all tilesizes to their low res value 32 (they should be 64 for my 64x64 tiles) I get a “better” looking result (see TMX_Retina_with_Tilesizes_32.jpg). Of course changing these values is actually wrong and stops it loading into Tiled editor.
Have also attached the progect source file, it is the Helloworld sample. You will see there is a “map1.tmx”, “map1.png”, “map1-hd.tmx”, “map1-hd.png” in the resources. And the only lines of code added are in “bool HelloWorld::init()” which are:
// Set retina display mode
(comment out that line to test low res mode on an iPhone 4) and…
// Load in the TMX tile map
//Map = CCTMXTiledMap::tiledMapWithTMXFile(“map1.tmx”);
Map = CCTMXTiledMap::tiledMapWithTMXFile(“map1.tmx”);
addChild(Map, 0, 1 /*kTagTileMap*/);
Soooo.. am I doing something wrong or is this a bug?