Thursday Discount - Lifetime Access for $20!!!! - Click Here!

Swift and Sprite Kit Control Systems Index

    Login               Join          





Swift and Sprite Kit Control Systems

In this series of videos we will be exploring ALL sorts of ways to control characters in your game. These lessons will each stand on their own merit, so you don't have to muscle through a lot of previous videos to implement the type of control system you're most interested in. So we'll look at the simplest of movements, to virtual controls pads to using the accelerometer and so on.

Created by: Justin

😍 1   👍 0   😐 0




Get full access...


Lifetime Access!

Get access to everything forever. Yes, everything. Yes, forever. Our best deal for sure! Need a coupon? Skip googling for one...

Activate a 24hr promo for first time visitors


Subscribe Yearly

Yearly subscribers get access to everything! Auto-cancels after two billings, at which point you qualify for a free Lifetime Membership!
Compare All Options


Purchase just this!

Get lifetime access to this course / product. 90% of the sale price goes to the author!



Want to feel warm and fuzzy??

If found us through one of our creator's links they'll get 50% of the sale!! That's how much we love our contributers!



Section 1

Tap to Move Controls using Swift and Sprite Kit

In these videos we will look at simple tap to move controls.



Swift 2.2 and Swift 2.0 Notes

Login to Mark Progress

Control Systems Project – Touch to Move

Login to Mark Progress

How to Tap Relative to the Character to Move

Login to Mark Progress

Control Systems Project – Touch to Move with SKActions from Point A then to Point B

Login to Mark Progress

Smooth Movements with SKActions

Login to Mark Progress

SKActions (continued) Moving to Point A, then to Point B

Login to Mark Progress


Section 2

Making Objects Follow a Path

In these video tutorials we will discuss how to make a sprite follow a path. This could be useful for tower defense style games or classic-style arcade games like Space Invaders. And believe it or not, Sprite Kit actually has an SKAction specifically for following a path!



Follow Path Project Files

Login to Mark Progress

Make an Object Follow a Path with SKActions

Login to Mark Progress

Make Multiple Objects Follow a Path (Centipede style)

Login to Mark Progress


Section 3

Using the Accelerometer to Control Movement

These tutorials will focus on using the Accelerometer with Swift and Sprite Kit to control a character (or do things like balance / roll a marble).



Accelerometer Project 1 Files

Login to Mark Progress

Accelerometer Basics in Swift

Login to Mark Progress

Accelerometer Project 2 Files (Movement on both X and Y)

Login to Mark Progress

Accelerometer on Both X and Y in Swift

Login to Mark Progress


Section 4

Gestures Recognizers

These video tutorials will look at how to use gesture recognizers with Swift and Sprite Kit. We will start off though by looking at how to animate textures (image sequences) using a .atlas folder in Xcode. Tap gestures will trigger the animation. We will then create a project where a ship spins around using the rotation gesture, and aims toward a target that is also rotated in line with it



Gestures Recognizers – Project Files

Login to Mark Progress

Animated Textures – Prequel to using Gesture Recognizers

Login to Mark Progress

Taps and Rotation Gesture Recognizer Tutorial

Login to Mark Progress

Rotating and Moving a Ship and Target

Login to Mark Progress

Swipe Gestures and Rotating Based on Degrees

Login to Mark Progress

Pan Gestures vs touchesMoved and convertPointFromView

Login to Mark Progress

Pinch and Long Press Gesture Recognizers

Login to Mark Progress


Section 5

Virtual Joysticks

These video tutorials will look at how to create a virtual joystick with Swift and Sprite Kit.



Virtual Joystick – Project 1 (the project after the next two videos)

Login to Mark Progress

Initial Setup of a Virtual JoyStick with Swift and SpriteKit

Login to Mark Progress

Top Down Movements and Speed Based Controls using a Virtual Joystick

Login to Mark Progress


Section 6

Virtual Joystick in a Side Scroller Style Level

In these iOS video tutorials we will continue working with our virtual joystick from the previous section, and extend the functionality to a side-scroller style level. This will involve creating a physics based Sprite Kit world, with classes for the Player and Object. We will fine tune the level of player control with each video.



Virtual Joystick – Project 2 – Side Scroller Style (the project after the first three videos)

Login to Mark Progress

Modifying the Scene for Side Scroller Play and Creating the Player Class

Login to Mark Progress

Creating an Object Class from SKNode and Using a Dictionary to Initialize It

Login to Mark Progress

Using the SKPhysicsContactDelegate to detect contact between Player and Object

Login to Mark Progress

Virtual Joystick – Project 3 – Side Scroller Style (the project after adding Walk, Idle and Attack actions)

Login to Mark Progress

Walking, Idling and Attacking with Joystick Controls Tutorial

Login to Mark Progress

Virtual Joystick – Project 4 – Side Scroller Style (Jumping Added / Finished)

Login to Mark Progress

Jumping with Joystick Controls Introduction

Login to Mark Progress

Jumping with Joystick Controls Tutorial

Login to Mark Progress


Section 7

Aim and Release (Sling Shot style) Controls

In this iOS video tutorial we will modify the previous Joystick Project (Project #2, the first one with a Side Scroller setup) to sling a character forward from a set position in an aim and release fashion. Ahem, think, Angry Birds. We will also look at how to add the character and platforms into a "worldNode" which will get moved as the character is slung so it doesn't go out of view.



Sling Shot Project

Login to Mark Progress

Sling Shot Style Controls Tutorial

Login to Mark Progress


Section 8

Isometric Controls with a Joystick and Directional Pad

In these two iOS video tutorials we will modify our joystick controls to work with an isometric level and then convert that project to use a virtual directional pad instead.



Isometric Projects (Joystick and Directional Pad)

Login to Mark Progress

Isometric Controls Tutorial

Login to Mark Progress

Isometric Controls Tutorial with a Directional Pad

Login to Mark Progress





Category: Game Development  -   Primary Software: Xcode  -  
Tags:   gestures - recognizer - swift - control - game development - accelerometer - skaction - path - follow -











Get a Free account...

Sign up for a FREE user account below. No payment info required.
We'll even send a Limited Time Discount Code for half off our Lifetime Membership!















Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!