SpriteKit Introduction - iOS Game Development with Swift 3
5.0 (10 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.
65 students enrolled
Wishlisted Wishlist

Please confirm that you want to add SpriteKit Introduction - iOS Game Development with Swift 3 to your Wishlist.

Add to Wishlist

SpriteKit Introduction - iOS Game Development with Swift 3

Learn today how to code games for iPhone and iPad
5.0 (10 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.
65 students enrolled
Created by Christian Gesty
Last updated 11/2016
English
Curiosity Sale
Current price: $10 Original price: $50 Discount: 80% off
30-Day Money-Back Guarantee
Includes:
  • 4.5 hours on-demand video
  • 2 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • You will understand the basic from the Framework SpriteKit
  • At the End you have the skill to develop your own Games
View Curriculum
Requirements
  • Xcode (min. version 7.0)
  • macOS or OSX
Description

What is the course about?

In this course you will learn the basics about the framework SpriteKit. 

I going to explain some theory and some practice examples so that you know a lot more about SpriteKit after this course. In the first section you learn the theory about SpriteKit so you understand better what you develop.

At the second Section I will explain how physics in SpriteKit work because that one of the most important things in SpriteKit.

In the third section I show you a game from scratch. Also I will explain a lot what and why I'm doing the different steps.


Who should buy this course?

Everyone who has first experiences with Swift and Xcode and want to learn to develop own games.

Everyone who has first experiences with SpriteKit and want to learn more about the Framework SpriteKit 


Who is the target audience?
  • For anyone who has a experience with the programming language Swift
  • For anyone who has little knowledge about the Framework SpriteKit
Students Who Viewed This Course Also Viewed
Curriculum For This Course
35 Lectures
04:34:11
+
Introducation to this course
1 Lecture 02:33
+
How SpriteKit works?
4 Lectures 16:24

I will show you how the structure of SpriteKit is, so you understand the framework.This will help you later at coding


Preview 04:55

In this video I will show you about the render order in SpriteKit. This will help you later at coding

Rendering order of SpriteKit
04:41

In this video I will show how you position images in your game. This will help you later at coding

Positioning in SpriteKit
03:52

I will show you what die Superclass SKNode is. This will help you later at coding

What is the class SKNode?
02:56
+
Introduction Physics in SpriteKit
4 Lectures 42:01

In this second Section I will explain how the physics simulation in SpriteKit work, because this makes a game really awesome

Preview 11:24

We can only use physics simulation in our game when we at physics bodys to our nodes, that I show you here

Different physics bodys
13:44

The different between collision and contact
07:57

Make an own contact to decide what will be happen
08:56
+
Space Shooter Game
26 Lectures 03:33:13

Here we will create our startscene, so we have to press play to start the game

Create a mainmenu
11:06

Here we will make a transition from our startscene to our gamescene

Make a transition from mainmenu to our gamescene
06:39

We add a background image to our game

Lets build our gamescene we put a background image in
02:54

Now we will add our spaceship to the game and animate it

Animate our spaceship image
10:36

How me make a endless background, this you see here in this video

Background endless scroll
09:54

In this video I show you how me can move our spaceship with the function touchesMoved

Spaceship move
02:55

Now we will add randomly three different asteriod to our game and spawn them endless 

Add asteriod to gamescene
14:21

When we move our spaceship we shoot bullets, here we will make a function to shoot bullets if the user move our spaceship. We also use the class SKAction to move our bullets.

Add bullets, make the spaceship to shoot
05:28

Here we will add endless enemys, I show you also that spritekit work in radient and not in degree if you want for example change the direction of a image. We give the enemy actions and for that we use the class SKAction which can only be use by nodes.


Add enemyship
11:59

We have a enemy and now we want to animate it, so thats look better

Add animation to enemy image
03:19

I show you how we add music to our game, for this we use the Framework AVFoundation

Add backgroundmusic to our game
07:00

In this video we add a function to break the music and start it again if the user press on a sound ON/OFF button

Preview 09:16

We add hearts image to our game, we need this later as live for our spaceship

Give our spaceship some live
07:04

We add in this video a physics body to our nodes so our nodes can be affected by physics

Add physics body to game to simulate physics
10:44

We give in this video our physics body numbers so we can decide later which physics body interact each other

We give our physics bodys numbers to decide who can interact together
12:18

We implement the protocol SKPhysicsContactDelegate and that protocol has two functions that we can call if two physics bodys get in contact

Prepare for the first contact and what is a contact?
06:32

I show you what will happen if our physics body from spaceship and enemy get in contact for that we use the function didBegin() from the protocol SKPhysicsContactDelegate

Contact between spaceship and enemy
09:28

We add a score label from the class SKLabelNode so we see how many enemys we destroyed

Add a scorelabel to our game and let it grow up when we hit a enemy
08:13

If our bullet hit the enemy our enemy exploded in a fireball 

Preview 06:43

We add a new file to our game and make a new class which inherit from the class SKScene and this class is our gameover scene if we lose our spaceship lives

Gamerover scene we lost our 3 lives
06:28

We give our spaceship a shield, so now we have spaceship live and a shield before we are gameover

Create a shield for our spaceship
11:30

We greate a function to add live  for our shield and for this we use the class SKShapeNode

Display shield live
08:18

To get in physics simulation or interaction between physics bodys we have to add physics bodys to our nodes. In this video we give our shield a phyiscs body to get in interaction with our enemy

Add physics to our shield to interact with the enemy
08:11

We use the function didBegin from the  protocol SKPhysicsContactDelegate to decide what will happen if the enemy hit our shield

Preview 08:41

If we lost our shield we are angry and shoot now 2 bullets at same time 

We lost our shield lets shoot at twice
11:55
About the Instructor
Christian Gesty
4.8 Average rating
158 Reviews
1,310 Students
5 Courses
Dozent aus Leidenschaft.

Hallo,

ich heiße Christian und bin zurzeit noch Student. Neben dem Programmieren und dem Studium halte ich mich mit Sport fit. Beim Sport bin ich flexibel: ich mache Kraftsport und spiele Fußball in einer Hobby-Mannschaft.

Was meine Kurse auszeichnet?

Der Fakt, dass ich kein Profi bin. Ich kann mich in Deine Lage versetzten, weil ich ganz genau dastand als ich mit dem Programmieren angefangen habe.

Kurze Geschichte dazu: Im erstem Semester meines Studiums lernten wir die Programmier-Sprache C kennen. Da saß ich nun in der ersten Übungsstunde zu C und ehrlich gesagt hatte ich keinen Plan, was ich da mache.

Während der Professor vorne irgendetwas von Funktionen erzählte, war ich noch damit beschäftigt zu erörtern, warum genau an der Stelle jetzt eine Klammer steht.

Auch nach Recherche im Internet war ich nicht wirklich schlauer als vorher. Also dachte ich mir: Das muss doch irgendwie einfacher gehen.

Das war der Grundstein für meine Kurse.

Ich hoffe, dass ich Dir mit meinen Kursen diesen qualvollen Weg ersparen kann.

Ich möchte Dir Schritt für Schritt zeigen, wie Programmieren geht. So dass Du nach jedem Kapitel das Gefühl hast, dass Du alles verstanden hast und sich das Puzzle langsam aber sicher zu einem Ganzen fügt.

In diesem Sinne: ich freue mich auf Deinen Besuch :).

Viele Grüße und bis gleich

Christian