Is there a (preferably easy) way to load a .tmx file in iOS 7's Sprite Kit? If not, are there any alternatives?
you should use JSTileMap that is designed to work with Sprite Kit
and load a map with:
JSTileMap *tiledMap = [JSTileMap mapNamed:@"mapFileName.tmx"]; if (tiledMap) [mySKNode addChild:tiledMap];
Here is the source: https://github.com/slycrel/JSTileMap
Good Luck!!
1.4m articles
1.4m replys
5 comments
57.0k users