How to Create iOS 2D Games with SpriteKit and Swift 4
4.7 (28 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
221 students enrolled
Wishlisted Wishlist

Please confirm that you want to add How to Create iOS 2D Games with SpriteKit and Swift 4 to your Wishlist.

Add to Wishlist

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.
Best Seller
4.7 (28 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
221 students enrolled
Created by Brian Advent
Last updated 8/2017
Current price: $12 Original price: $180 Discount: 93% off
3 days left at this price!
30-Day Money-Back Guarantee
  • 4 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion

Training 5 or more people?

Get your team access to Udemy's top 2,000 courses anytime, anywhere.

Try Udemy for Business
What Will I Learn?
  • Build 2D Games with SpriteKit
  • SpriteKit Fundamentals
  • Create and Work with Game Scenes
  • Create Cool Animations
  • Deal with Collisions and Physics
View Curriculum
  • You should know the basics of Swift 3 or 4
  • You should know the basics of Xcode
  • Mac with Xcode 8 or later

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 is the target audience?
  • iOS Developers who want to learn how to create 2D Games with SpriteKit
Compare to Other Sprite Kit Courses
Curriculum For This Course
41 Lectures
2 Lectures 03:35
What is SpriteKit?
5 Lectures 30:48

Important SpriteKit Classes

Create a SpriteKit Game Project

Create Your First Scene

The Game Setup
4 Lectures 14:38
Game Design and Mechanics

Prepare Graphic and Sound Assets

Setup the Game Project

Create the Main Game Scene
SpriteKit Basics & First Game Logic
6 Lectures 25:47

Add the Player

Detect Touches

Add Touch Based Verticle Game Control

Animations & the Rendering Loop

Animate the Player Horizontally
SpriteKit Particle Emitter
4 Lectures 13:21

How to Create Particle Emitters

A Pulsing Player

Add the Pulse Animation to the Player
Create and Spawn Enemies
3 Lectures 27:01
SKShapeNodes as Enemies

Random Enemy Parameters

Move and Remove Enemies
Collisions and SKPhysicsBody
5 Lectures 43:15
The SKPhysicsBody Class

Bitmasks and Collisions

Sample App: Bitmasks and Collisions

Add Categories and Collision Settings

Take Action based on Collisions
Refine Gameplay
6 Lectures 40:37
Velocity for the Player

Define What Happens After Collisions

Add Sound Effects

Add a HUD: Game Timer and Score

Create Power Ups

Multiple Scenes and Moving Background
5 Lectures 40:07
Add Start and Game Over Scenes

An Infinite Moving Background

Game Over

Handle Game Data with Singleton

Finishing Touches
1 Lecture 01:56
Next Steps
About the Instructor
Brian Advent
4.5 Average rating
484 Reviews
3,393 Students
6 Courses
iOS Developer and Trainer

I wrote my first line of code at the age of 10 by creating the simplest form of a Hello World Application within the Visual Basic Editor of Microsoft Word. For many years, programming was completely about the journey for me.

Starting off with Visual Basic and earning money by creating Access Databases for many clients was nice, but not the driving force behind my wish to know more about creating software.

After switching to the Mac, I started developing with Java, C++, and later ActionScript 3.0. After school I used my expertise in different scientifically used big data applications. My work was all about visualisation of large amounts of data and therefore creating the best user experience possible.

Although I do love programming, I chose a different path for my professional carrier. By becoming an educator I could follow my second passion which is sharing knowledge. Today and especially since the release of the iPhone SDK in 2008 my interest in programming mainly is focused on creating iOS Apps for educational use and finding ways to create software that can be used in classroom, at universities and by students themselves to make learning a great experience. Although my passion lies in educational software, I am also doing client work from time to time, which does not only include the development of iOS Applications but also the implementation of different iOS development trainings.