Giving physics to tiles of SKTileMapNode in Xcode 8
I am learning Swift, and as a project I am working on a tile based 2D game similar to super mario where my character will walk and jump on tiles. The latest version of Xcode and Sprite Kit give the ability to create a Tile Map directly in Xcode. In the presentation of the new Xcode and Sprite kit, the guy demonstrates a game similar to what i am working on. https://developer.apple.com/videos/play/wwdc2016/610/ (around the 20th minute). He mentions giving Tiles user data properties which i did, and in code we search through all the tiles which have that user data and give them some physics