sidshekar / Swift-Game-Development-Third-Edition

Swift Game Development Third Edition, published by Packt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift Game Development

This is the code repository for Swift Game Development, published by Packt.

Learn 3D game development for iOS 12 using SceneKit and Swift

What is this book about?

Swift is the perfect choice for game development. Developers are intrigued by Swift and want to make use of new features to develop their best games yet. Packed with best practices and easy-to-use examples, this book leads you step by step through the development of your first Swift game.

This book covers the following exciting features:

  • Deliver powerful graphics, physics, and sound in your game by using SpriteKit and SceneKit
  • Set up the scene using the new capabilities of the scene editor and custom classes
  • Maximize gameplay with little-known tips and strategies for fun and repeatable action
  • Make use of animations, graphics, and particles to polish your game
  • Understand the current mobile monetization landscape

If you feel this book is for you, get your copy today!

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

import SpriteKit

class Coin: SKSpriteNode, GameSprite { 
var initialSize = CGSize(width: 26, height: 26) 
var textureAtlas: SKTextureAtlas = 
SKTextureAtlas(named: “Environment”) 
var value = 1

Following is what you need for this book: If you wish to create and publish iOS games using Swift, then this book is for you. No prior game development or experience with Apple ecosystem is needed.

With the following software and hardware list you can run all code files present in the book (Chapter 1-17).

Software and Hardware List

Chapter Software required OS required
1-17 Xcode (10.0 +) Mac OS X

Related products

Get to Know the Authors

Siddharth Shekar is a game developer and teacher with over 5 years of industry experience and 12 years of experience in C++ and other programming languages, and is adept at graphics libraries like OpenGL and Vulkan and game engines such as Unity and Unreal. He has also published games on the iOS and Android App Stores. Siddharth has also authored 4 books including Mastering Android Game Development with Unity and Learning iOS 8 Game Development Using Swift, all published by Packt Publishing He currently lives in New Zealand and is a lecturer in the Games Department at Media Design School. He teaches graphics programming, PlayStation 4 native game development and mentors final year production students

Stephen Haney has written two books on iOS game development. He began his programming journey at the age of 8 years on a dusty, ancient laptop using BASIC. He has been fascinated with building software and games ever since. Now well versed in multiple languages, he enjoys programming as a creative outlet the most. He believes that indie game development is an art form-- an amazing combination of visual, auditory, and psychological challenges--rewarding to both the player and the creator.

He enjoyed writing this book and sincerely hopes that it directly furthers your career or hobby.

Other books by the authors

Suggestions and Feedback

Click here if you have any feedback or suggestions.


Swift Game Development Third Edition, published by Packt

License:MIT License


Language:Swift 63.6%Language:Objective-C 36.4%