Introduction to Sprite Kit with Swift 3 – Part 5

Cross Platform Projects

Introduction to Sprite Kit with Swift 3 video tutorials 5

Short Interlude to look at a Cross Platform Project

We’ll take a short break from the previous project and explore the Cross Platform Sprite Kit template included with Xcode. This is a project that has an iOS, tvOS, WatchOS and MacOS Target. The neat thing about this template is all four device types use the same GameScene.swift and GameScene.sks files. So ideally, you can code once and deploy to all those devices. We’ll also look at how to add files to a particular device Target after they’ve already been imported or created (this is done in Xcode’s Build Phases tab)