Learning iOS 8 Game Development Using Swift

Create robust and spectacular 2D and 3D games from scratch using Swift – Apple's latest and easy-to-learn programming language
Preview in Mapt

Learning iOS 8 Game Development Using Swift

Siddharth Shekar

Create robust and spectacular 2D and 3D games from scratch using Swift – Apple's latest and easy-to-learn programming language
Mapt Subscription
FREE
$29.99/m after trial
eBook
$20.00
RRP $39.99
Save 49%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$20.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learning iOS 8 Game Development Using Swift Book Cover
Learning iOS 8 Game Development Using Swift
$ 39.99
$ 20.00
iOS 10 Programming for Beginners Book Cover
iOS 10 Programming for Beginners
$ 39.99
$ 20.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781784393557
Paperback366 pages

Book Description

Game development has been simplified with Apple's new programming language—Swift. If you're looking to start learning iOS development then you'll get everything you need - from the absolute basics such as the Xcode interface and takes you all the way to Swift programming.

You will take a walk through the creation of 2D and 3D games followed by an introduction to SpriteKit and SceneKit. The book also looks at how game objects are placed in 3D scenes, how to use the graphics pipeline, and how objects are displayed on mobile screens. You will also delve into essential game concepts such as collision detection, animation, particle systems, and scene transitions. Finally, you will learn how to publish and distribute games to the iTunes store.

Table of Contents

Chapter 1: Getting Started
Downloading and installing Xcode
Creating an iOS developer account
Introducing Swift
Introducing Playground
Exploring SpriteKit
Exploring SceneKit
Understanding 3D objects
2D and 3D coordinate systems
The basics of SceneKit
Introducing Metal
The graphics pipeline
Summary
Chapter 2: Swift Basics
Variables
Operators
Statements
Arrays
Dictionary
Functions
Classes
Optionals
Summary
Chapter 3: An Introduction to Xcode
Xcode application types
The Xcode interface
The Utility panel
The Single View Project
Running the app on the device
Summary
Chapter 4: SpriteKit Basics
Introduction to SpriteKit and SKScene
Adding a main menu scene
Adding a gameplay scene
Adding a background and a hero
Collision detection
Keeping score
Displaying the game over screen
Adding the main menu button
Saving the high score
Resetting the high score count
Summary
Chapter 5: Animation and Particles
Sprite sheet animation
Basic SpriteKit animation
Exploring Texture Packer
Creating the hero spritesheet
Animating the hero
Particle systems
Creating particle effects
Adding a particle system to the game
Summary
Chapter 6: Audio and Parallax Effect
Audio file formats
Downloading and installing Audacity
Converting the audio format
Adding sound effects
Adding background music
Parallax background theory
Implementing the parallax effect
Summary
Chapter 7: Advanced SpriteKit
Lighting and shadows
Sprite Illuminator
Physics
Objective-C in Swift
Glyph Designer
Skeletal animation
Summary
Chapter 8: SceneKit
Creating a scene with SCNScene
Adding objects to the scene
Importing scenes from external 3D applications
Adding objects and physics to the scene
Adding an enemy node
Adding a SpriteKit overlay
Adding touch interactivity
Finishing the game loop
Adding wall and floor parallax
Adding particles
Summary
Chapter 9: Metal
Overview
The graphics pipeline and shaders
The basic Metal project
The colored quad project
The texture quad project
Summary
Chapter 10: Publishing and Distribution
Getting Ms. tinyBazooka ready
Generating the distribution certificate
The iTunesConnect portal
Creating the app
Creating an ad hoc app
References
Alternative frameworks/engines
Final remarks
Summary

What You Will Learn

  • Learn Apple's latest programming language—Swift
  • Acquaint yourself with the Xcode interface
  • Create stunning games with SpriteKit and SceneKit
  • Understand the basics of graphics programming
  • Intensify your gameplay experience by learning how to add customized sound
  • Develop highly interactive games using animation, sound, collision detection, particle systems, and shaders
  • Package and publish games on the Apple App Store

Authors

Table of Contents

Chapter 1: Getting Started
Downloading and installing Xcode
Creating an iOS developer account
Introducing Swift
Introducing Playground
Exploring SpriteKit
Exploring SceneKit
Understanding 3D objects
2D and 3D coordinate systems
The basics of SceneKit
Introducing Metal
The graphics pipeline
Summary
Chapter 2: Swift Basics
Variables
Operators
Statements
Arrays
Dictionary
Functions
Classes
Optionals
Summary
Chapter 3: An Introduction to Xcode
Xcode application types
The Xcode interface
The Utility panel
The Single View Project
Running the app on the device
Summary
Chapter 4: SpriteKit Basics
Introduction to SpriteKit and SKScene
Adding a main menu scene
Adding a gameplay scene
Adding a background and a hero
Collision detection
Keeping score
Displaying the game over screen
Adding the main menu button
Saving the high score
Resetting the high score count
Summary
Chapter 5: Animation and Particles
Sprite sheet animation
Basic SpriteKit animation
Exploring Texture Packer
Creating the hero spritesheet
Animating the hero
Particle systems
Creating particle effects
Adding a particle system to the game
Summary
Chapter 6: Audio and Parallax Effect
Audio file formats
Downloading and installing Audacity
Converting the audio format
Adding sound effects
Adding background music
Parallax background theory
Implementing the parallax effect
Summary
Chapter 7: Advanced SpriteKit
Lighting and shadows
Sprite Illuminator
Physics
Objective-C in Swift
Glyph Designer
Skeletal animation
Summary
Chapter 8: SceneKit
Creating a scene with SCNScene
Adding objects to the scene
Importing scenes from external 3D applications
Adding objects and physics to the scene
Adding an enemy node
Adding a SpriteKit overlay
Adding touch interactivity
Finishing the game loop
Adding wall and floor parallax
Adding particles
Summary
Chapter 9: Metal
Overview
The graphics pipeline and shaders
The basic Metal project
The colored quad project
The texture quad project
Summary
Chapter 10: Publishing and Distribution
Getting Ms. tinyBazooka ready
Generating the distribution certificate
The iTunesConnect portal
Creating the app
Creating an ad hoc app
References
Alternative frameworks/engines
Final remarks
Summary

Book Details

ISBN 139781784393557
Paperback366 pages
Read More

Read More Reviews

Recommended for You

iOS 10 Programming for Beginners Book Cover
iOS 10 Programming for Beginners
$ 39.99
$ 20.00
Swift 3 Game Development - Second Edition Book Cover
Swift 3 Game Development - Second Edition
$ 31.99
$ 16.00
iOS Game Development By Example Book Cover
iOS Game Development By Example
$ 35.99
$ 18.00
Swift: Developing iOS Applications Book Cover
Swift: Developing iOS Applications
$ 71.99
$ 36.00
iOS Game Programming Cookbook Book Cover
iOS Game Programming Cookbook
$ 39.99
$ 20.00
Learning iOS UI Development Book Cover
Learning iOS UI Development
$ 23.99
$ 12.00