Very simple texture packer for cocos2d-x/tiled combination