iOS Game Development

Video description

Delve into the world of 2D game development on the iOS platform using the SpriteKit framework

About This Video

  • A practical tutorial to help iOS Developers build their own games using the Apple SpriteKit framework
  • Covers iOS Game development with fully up-to-date techniques and code examples
  • Gain detailed insights into game development using SpriteKit

In Detail

Mobile gaming is one of the fastest-growing industries. The SpriteKit framework is part of the native SDK from Apple and enables developers to get into 2D game development without unnecessary overhead and a long learning process.

This course shows you how to build a game from start to finish. This is a classic cat and ball game, where the cat tries to catch a ball to earn points and to avoid danger balls. The course will show you how to add actions to your game such as moving your sprite (cat) from one location to another, detecting collisions, and adding animations to your game. You will learn how to add real-world physics, sounds and background music, start and end game scenes, labels, and actions to your games. The course will show you how to add launch screens and app icons and publish your course to App Store Connect.

By the end of the course, you will have learned to build a fully functional game in iOS using the SpriteKit framework. All the code and supporting files for this course are available on GitHub at

Table of contents

  1. Chapter 1 : Getting Started with SpriteKit Framework
    1. The Course Overview 00:05:16
    2. Creating a SpriteKit Project 00:04:30
    3. Creating an Xcode Project for Our SpriteKit Game 00:06:23
    4. Add SKSpriteNode to the Scene 00:05:59
    5. SpriteKit Coordinate System 00:08:58
    6. Arranging Nodes By E-Position 00:04:43
  2. Chapter 2 : Add Actions to Our Game
    1. Move SKSpriteNode to Touch Location 00:04:04
    2. Run SKAction on a Sprite 00:06:01
    3. Run Action Sequence 00:05:00
    4. Use Timer to Add Sprites Periodically 00:03:51
    5. Randomize the Origin of the Sprite Node 00:04:12
  3. Chapter 3 : Start and Game Over Scenes
    1. Create a Start Game Scene 00:05:42
    2. Anchor Point Values 00:05:41
    3. Animate Images with SKTexture 00:05:40
    4. SKSpriteNode Click Event and Transition Effects 00:05:45
    5. Game Over Scene and SKLabelNode 00:03:58
    6. Present the Game Over Scene 00:04:20
  4. Chapter 4 : Understanding Game Physics
    1. Introduction to Physics Body 00:06:01
    2. Dynamic and Gravity Property of a Physics Body 00:04:42
    3. Collision and Contact 00:07:37
    4. Detecting a Contact Between Physics Bodies 00:04:49
    5. Remove a Sprite Node Upon Contact 00:04:36
  5. Chapter 5 : Scores and Sounds
    1. Add and Increase Game Scores 00:03:45
    2. Play Collision Sound 00:05:13
    3. Add Background Music 00:03:03
    4. Mute and Unmute Game Music 00:07:18
    5. Present the End Game Scene 00:04:48
  6. Chapter 6 : Adding More Features to the Game
    1. Persist Data - Show the Last Score 00:04:31
    2. Danger Ball 00:03:48
    3. Add a Blinking Effect 00:04:36
    4. Add Cat Lives 00:05:30
    5. End the Game When All Lives Are Used Up 00:04:10
  7. Chapter 7 : Prepare the Game for the App Store
    1. Create Graphics for the Game 00:05:37
    2. Add a Launch Screen 00:03:37
    3. Add an App Icon 00:05:11
    4. Create an iTunes Connect App 00:04:02
    5. Upload the Game to iTunes Connect 00:05:58

Product information

  • Title: iOS Game Development
  • Author(s): Dee Aliyu Odumosu
  • Release date: September 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789134162