Take the 2-minute tour ×
CCTMXTiledMap *map = [CCTMXTiledMap tiledMapWithTMXFile:@"mapTmx.tmx"];
CCTMXLayer *layer = [map layerNamed:@"Layer 0"];
[layer setTileGID:10  at:ccp( 0, 0 )];

How can I save "CCTMXTiledMap *map" to "mapTmx.tmx" file?

share|improve this question
add comment

1 Answer

This default functionality doesn't exist. You could export a tmx through Tiled to one of the text formats and cobble together your own exporter. Not the answer you wanted, but it's a start.

share|improve this answer
add comment

Your Answer


