Table of Contents What’s New Swift 5 Support tvOS Support Performance Increases Effects Rendering Support for Tiled Templates General Improvements OS Compatibility API Changes GameplayKit New Object Types Tile Objects Text Objects Custom Classes Getting Started Requirements Installation Framework Installation Carthage Installation CocoaPods Installation Building the Demo Projects Building the Documentation tvOS Support A Note About 4K Adding Tiled Assets to Xcode Referenced Assets Setting Up Your Scenes SKTilemapDelegate Protocol Scene Setup Custom Tile Objects SKTilesetDataSource Protocol Tiled Scene Tiled Scene Camera Adding Delegates Loading External Content Working with Maps Loading a Tilemap Tile Rendering Full & Dynamic SpriteKit Actions Manually Starting & Stopping Tile Render Flags Effects Rendering Shaders & Filters Tile Cracking Camera Zoom Clamping Working with Tilesets Preloading Tilesets Accessing Tile Data Updating Tile Data Updating Spritesheets Working with Layers Parents & Children Creating New Layers Replacing Tile Data Tile Coordinates Group Layers Working with Tiles Tile Render Mode Querying Tiles at Location Querying Tiles with ID Global ID Local ID Find Tiles of Type Find Tiles with Property Adding and Removing Tiles Tile Shapes Animated Tiles Updating Tile Animation SpriteKit Actions Physics Tile Overlap Coordinates Coordinate Conversion User Interaction Coordinate Offsets & Hints Working with Objects Object Types Tile Objects Text Objects Text Object Attributes Dynamics SKTiled Properties Querying Properties Object Types Querying Properties Custom Properties Extending SKTiled Custom Objects Tiled Object Types A Note on Subclassing GameplayKit Integration Building Graphs Navigation Key Custom Graph Nodes Debugging the Graph Debugging Debug Draw Options Visualizing Objects Highlighting Tiles Map Statistics Troubleshooting Tile Cracking Camera Zoom Clamping XML Parsing Errors External Tileset Errors Code Signing Errors Carthage Problems Home What's New Getting Started Scene Setup Working with Maps Working with Tilesets Working with Layers Working with Tiles Coordinates Working with Objects Tiled Properties GameplayKit Extending SKTiled Other API Features Debugging Troubleshooting