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
English
Current price: $12 Original price: $180 Discount: 93% off
3 days left at this price!
30-Day Money-Back Guarantee
Includes:
  • 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
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 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
04:01:05
+
Introduction
2 Lectures 03:35
+
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
+
Conclusion
1 Lecture 01:56
Next Steps
01:56
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.