Have a personal or library account? Click to login
Swift 3 Game Development Cover

Swift 3 Game Development

Build iOS 10 Games with Swift 3.0

Paid access
|Sep 2025
Product purchase options

Embrace the mobile gaming revolution by creating popular iOS games with Swift 3.0

Key Features

  • Create and design games for iPhone and iPad using SpriteKit and Swift 3.0
  • Learn the core fundamentals of SpriteKit game development and mix and match techniques to customize your game
  • This step-by-step practical guide will teach you to build games from scratch using little-known tips and strategies for maximum fun

Book Description

Swift is the perfect choice for game development. Developers are intrigued by Swift 3.0 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 starts by introducing SpriteKit and Swift's new features that can be used for game development. After setting up your first Swift project, you will build your first custom class, learn how to draw and animate your game, and add physics simulations.

Then, you will add the player character, NPCs, and powerups. To make your game more fun and engaging, you will learn how to set up scenes and backgrounds, build fun menus, and integrate with Apple Game Center to add leaderboards and achievements. You will then make your game stand out by adding animations when game objects collide, and incorporate proven techniques such as the advanced particle system and graphics. Finally, you will explore the various options available to start down the path towards monetization and publish your finished games to the App Store.

By the end of this book, you will be able to create your own iOS games using Swift and SpriteKit.

What you will learn

  • Deliver powerful graphics, physics, and sound in your game by using SpriteKit
  • 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 to choose the best option for your own situation
  • Integrate your game with Game Center so that your players can share their high scores and achievements
  • Publish your game to the App Store and enjoy people playing your games

Who this book is for

If you wish to create and publish fun iOS games using Swift, then this book is for you. You should be familiar with basic programming concepts. However, no prior game development or Apple ecosystem experience is required.

Table of Contents

  1. Designing Games with Swift
  2. Sprites, Camera, Action!
  3. Mix in the Physics
  4. Adding Controls
  5. Spawning Enemies, Coins, and Power-Ups
  6. Generating a Never-Ending World
  7. Implementing Collision Events
  8. Polishing to a Shine
  9. Adding Menus and Sounds
  10. Standing Out in the Crowd with Advanced Features
  11. Choosing a Monetization Strategy
  12. Integrating with Game Center
  13. Ship It! Preparing for the App Store and Publication
https://github.com/packtpublishing/-swift-3-game-development
PDF ISBN: 978-1-78712-242-0
Publisher: Packt Publishing Limited
Copyright owner: © 2017 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 258