Tile Maps in Sprite Kit?

What is the best way to make levels in sprite kit? I need a way I can set up 50 or so "walls", "enemies" , and "player" objects without adding them programatically. Does anyone have a recommendation for a way I can do this? Thank you!


- Coleman

Answered by Nightmare_82 in 85979022

You can do everything with the included Scene Editor. In the new XCode version you can also use reference nodes which allows you to store templates like a wall in a seperate scene and place references of these walls in another scene.


Another approach is to use the free Tilemap Editor "Tiled" to create tilemaps. To use that you could use the Opensource class JSTileMap or the project TileMapKit.

Accepted Answer

You can do everything with the included Scene Editor. In the new XCode version you can also use reference nodes which allows you to store templates like a wall in a seperate scene and place references of these walls in another scene.


Another approach is to use the free Tilemap Editor "Tiled" to create tilemaps. To use that you could use the Opensource class JSTileMap or the project TileMapKit.

Awesome! Thank you!

Tile Maps in Sprite Kit?
 
 
Q