Chapter 8. Cube Runner

In the last two chapters, we saw how easy it is to implement a 2D game using SpriteKit.

Most of you probably think that implementing a 3D game is something that only professional game developers can do because it requires a knowledge of 3D graphics, math, rendering, lights, and so on, as well as external tools such as Unity.

This may have been true until Apple released SceneKit, a really simple 3D rendering framework created mainly for hobbyists and casual game developers. First introduced in OS X Mountain Lion, it became even more powerful in 2014 with the addition of particle effects, physics simulations, and multipass rendering. It was added to iOS 8, allowing the community of iOS developers to implement 3D applications ...

Get Swift: Developing iOS Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.