How to Create iOS 2D Games with SpriteKit and Swift 4
4.3 (558 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,700 students enrolled

How to Create iOS 2D Games with SpriteKit and Swift 4

SpriteKit: Learn to Build 2D Games by Creating a Real World Arcade Game from the iOS App Store.
Bestseller
4.3 (558 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,700 students enrolled
Created by Brian Advent
Last updated 8/2017
English
English [Auto-generated]
Current price: $125.99 Original price: $179.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4 hours on-demand video
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Build 2D Games with SpriteKit
  • SpriteKit Fundamentals
  • Create and Work with Game Scenes
  • Create Cool Animations
  • Deal with Collisions and Physics
Course content
Expand all 41 lectures 04:01:05
+ What is SpriteKit?
5 lectures 30:48
Important SpriteKit Classes
08:38
Create a SpriteKit Game Project
08:38
Create Your First Scene
07:17
+ The Game Setup
4 lectures 14:38
Game Design and Mechanics
04:11
Prepare Graphic and Sound Assets
01:22
Setup the Game Project
02:31
Create the Main Game Scene
06:34
+ SpriteKit Basics & First Game Logic
6 lectures 25:47
Add the Player
03:42
Detect Touches
03:27
Add Touch Based Verticle Game Control
03:29
Animations & the Rendering Loop
04:22
Animate the Player Horizontally
06:00
+ SpriteKit Particle Emitter
4 lectures 13:21
How to Create Particle Emitters
02:17
A Pulsing Player
05:51
Add the Pulse Animation to the Player
02:35
+ Create and Spawn Enemies
3 lectures 27:01
SKShapeNodes as Enemies
09:11
Random Enemy Parameters
09:24
Move and Remove Enemies
08:26
+ Collisions and SKPhysicsBody
5 lectures 43:15
The SKPhysicsBody Class
08:30
Bitmasks and Collisions
09:55
Sample App: Bitmasks and Collisions
11:00
Add Categories and Collision Settings
06:54
Take Action based on Collisions
06:56
+ Refine Gameplay
6 lectures 40:37
Velocity for the Player
06:34
Define What Happens After Collisions
06:53
Add Sound Effects
03:47
Add a HUD: Game Timer and Score
09:54
Create Power Ups
06:35
+ Multiple Scenes and Moving Background
5 lectures 40:07
Add Start and Game Over Scenes
07:08
An Infinite Moving Background
12:30
Game Over
05:39
Handle Game Data with Singleton
09:20
Finishing Touches
05:30
Requirements
  • You should know the basics of Swift 3 or 4
  • You should know the basics of Xcode
  • Mac with Xcode 8 or later
Description

Five of the top ten highest grossing apps on the iOS App Store are games. If you ever had an idea for an amazing game but didn’t know how to create it, then this course is for you. Apple provides great game frameworks for every developer. One of these frameworks for 2D games is SpriteKit.

This course is going to take you through the process of creating a 2D arcade game step-by-step. Not only will you have finished a complete game project after taking this course, you will also get profound theoretical knowledge about the SpriteKit Framework and many of its important classes.

I am Brian Advent and I am running one of the largest youtube channels on iOS development. I am also organising the annual Swift Tutorial Conference and with my 17 years of development experience I am offering you a course with a great combination of theory and practice. 

A Real World Project

This course is centred around a real world arcade game called Color Trek. You can download it on the App Store for free and you will create this game from start to finish in this course. In that process you will put all the theory that you are going to learn into practice right away.

How and what you are going to learn

SpriteKit is a huge framework, which is why you are going to start your journey with an overview about the most important classes that you are going to encounter. 

You will then create your first game world and your first animations to familiarise yourself with the tools provided by Apple. 

After these first steps you are going to start creating a real game from start to finish, starting with the project setup, the integration of game assets and the creation of the main game scene. 

Among other things you are then going to learn both theory and practice about:

  • touch gesture detection
  • object movement and animation
  • how to create animations and how to use particle emitters for animations
  • game physics and collisions
  • how to use the power of random 


If you have never created a game before, then you will also enjoy my detailed explanations on collision detection, which is one of the most important aspects of 2D game development.

I designed this Swift course to be easily understandable for any iOS Developer who has a beginner or intermediate knowledge about the Swift programming language and the Xcode IDE.

This course comes with extensive exercise files (code files and assets) for every video, with a begin and end state of all projects. You'll be able to work alongside the instructor and will receive a verifiable certificate of completion upon finishing the course.

Who this course is for:
  • iOS Developers who want to learn how to create 2D Games with SpriteKit