Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Swift By Example
  • Table Of Contents Toc
Swift By Example

Swift By Example

By : Giordano Scalzo
4 (2)
close
close
Swift By Example

Swift By Example

4 (2)
By: Giordano Scalzo

Overview of this book

This book is intended for those who want to learn to develop apps in Swift the right way. Whether you are an expert Objective-C programmer or new to this platform, you'll learn quickly, grasping the code of real-world apps to use Swift effectively. Prior experience in development for Apple devices would be helpful, but is not mandatory.
Table of Contents (10 chapters)
close
close

Chapter 7. Cube Runner

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

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

That might 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 simulation, and multipass rendering. It was added to iOS 8, allowing the community of iOS developers to implement 3D applications using a model similar to Sprite Kit and UIKit in general.

In this chapter, after a brief introduction to SceneKit using Playground, we'll implement an iOS clone of a fun Flash game.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Swift By Example
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon