From the course: Apple watchOS App Development: Advanced APIs

Unlock the full course today

Join today to access over 24,000 courses taught by industry experts.

Challenge: SceneKit

Challenge: SceneKit

- [Instructor] You've added elements from frame-by-frame animation and through SpriteKit to your app. You can also add animation through the 3D cousin of SpriteKit, SceneKit. Like SpriteKit, adding an animation from the watchOS side of things is simply assigning the scene to a SceneKit interface. How to use SceneKit is another topic all together. You can check out several SceneKit videos in the library for more information about using it with iOS. I'm just going to show you how to take those scenes and put them on the watch. I've mentioned we need to burn this pizza to a crisp with an overdone interface. What better way than with fire. I've made a SceneKit particle file and a class for you that you can find in the exercises folder. The class has a scene property and a function to turn on and off the fire. Copy the files to the WatchKit extension, and see if you can make the fire burn only when we are baking the pizza. For the moment, stick the fire just below the sprite label in the…

Contents