Loading a tiled map with "collision" bodies? Possible to do?

Is it possible to load a map from "Tiled" map editor that has certain physics attributes based on each tile? I can't figure out how to do it (in Swift)

I think there's no native support for third-party tool like Tiled in swift.

We can only load up a scene from built in editor in Xcode directly.

There are two solutions, to my knowledge:

  1. Look into the output structure of Tiled and implement the loading into SpriteKit app ourselves
  2. Use other engines like Cocos 2D, which have better support for third-party tools

I saw a few posts on google that show you can load a .tmx file into your scene in SpriteKit. It's only of use to me if I can actually determine which tiles in the map the player will "collide" with.

Loading a tiled map with "collision" bodies? Possible to do?
 
 
Q