iOS Control Systems with Swift Sprite Kit
4.4 (24 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.
307 students enrolled
Wishlisted Wishlist

Please confirm that you want to add iOS Control Systems with Swift Sprite Kit to your Wishlist.

Add to Wishlist

iOS Control Systems with Swift Sprite Kit

A quick start guide to programming one of the hardest elements of any game, controlling your characters.
4.4 (24 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.
307 students enrolled
Created by Justin Dike
Last updated 1/2017
English
Current price: $10 Original price: $25 Discount: 60% off
1 day left at this price!
30-Day Money-Back Guarantee
Includes:
  • 6.5 hours on-demand video
  • 2 Articles
  • 2 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Programmably control characters using Swift 1.2 and Sprite Kit
  • Get experience working with many SKActions
  • Make a sprite follow a path.
  • Control objects using the Accelerometer
  • Use every type of gesture recognizer to move or rotate sprites
  • Create a virtual joystick or directional pad to move a side scrolling, top down or isometric character
  • Create an aim and release type world to slingshot a character
View Curriculum
Requirements
  • Some prior familiarity with Swift or any programming language is preferred
  • Have a Mac with Xcode 6.3 Installed
Description

****INCLUDES UPDATED SOURCE FILES FOR SWIFT 3

This seven hour tutorial series has one main aim to it: give you a quick start guide to programming one of the hardest elements of any game, controlling your characters. Most programmers begin a new app by prototyping the controls. It's just a natural starting point for production, and it can be one of the biggest stumbling blocks for new developers. With a dozen example projects and 24 videos, you can start wherever you like and implement any of the control systems below…

  • Accelerometer controls
  • Simple touches, taps and swipes
  • Rotation, pan, pinch, and long press gestures
  • Path-based movements
  • Aim and release slingshot style controls
  • Directional pad controls
  • Virtual joystick controls in a top-down flying game
  • Virtual joystick controls in an isometric-viewed world
  • Virtual joystick controls in a traditional side scroller/ platform world
  • Attacking, jumping and double-jumping with virtual buttons

This series was developed with Swift 1.2 and uses Apple's very own Sprite Kit game engine. While you master the control methods above, you'll also learn the basics of game development: animating texture atlases, creating classes for players and collision objects, working with physics, creating world nodes, and countless other nuggets of know-how for making an awesome game with Xcode.

Who is the target audience?
  • New Xcode programmers focused on game development using a Mac.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 32 Lectures Collapse All 32 Lectures 06:22:55
+
Tap to Move Controls using Swift and Sprite Kit
5 Lectures 33:56
+
Making Objects Follow a Path
2 Lectures 25:15
Make an Object Follow a Path with SKActions
15:07

Make Multiple Objects Follow a Path (Centipede style)
10:08
+
Using the Accelerometer to Control Movement
2 Lectures 31:35
Accelerometer Basics in Swift
19:26

Accelerometer on Both X and Y in Swift
12:09
+
Gestures Recognizers
7 Lectures 01:22:23
Animated Textures - Prequel to using Gesture Recognizers
08:47

Animated Textures (continued)
13:25

Taps and Rotation Gesture Recognizer Tutorial
12:09

Rotating and Moving a Ship and Target
15:22

Swipe Gestures and Rotating Based on Degrees
09:58

Pan Gestures vs touchesMoved and convertPointFromView
11:31

Pinch and Long Press Gesture Recognizers
11:11
+
Virtual Joysticks
2 Lectures 38:20
Initial Setup of a Virtual JoyStick with Swift and SpriteKit
20:18

Top Down Movements and Speed Based Controls using a Virtual Joystick
18:02
+
Virtual Joystick in a Side Scroller Style Level
10 Lectures 02:06:07
Modifying the Scene for Side Scroller Play and Creating the Player Class
12:31

Player Class (continued)
11:48

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

Object Class (continued)
09:13

Using the SKPhysicsContactDelegate to detect contact between Player and Object
09:38

Walking, Idling and Attacking with Joystick Controls Tutorial
15:26

Walking, Idling and Attacking (Continued)
15:47

Jumping with Joystick Controls Introduction
02:39

Jumping with Joystick Controls Tutorial
17:22

Jumping Continued
18:05
+
Aim and Release Sling Shot Style Controls
1 Lecture 23:31
Sling Shot Style Controls Tutorial
23:31
+
Isometric Controls with a Joystick and Directional Pad
3 Lectures 21:52
Isometric Controls Tutorial
08:27

Isometric Controls Tutorial with a Directional Pad
13:21

Feel free to ask any questions, and you might see it get answered with a video!

Conclusion
00:04
About the Instructor
Justin Dike
4.3 Average rating
564 Reviews
40,342 Students
24 Courses
CartoonSmart / Owner / Leader Developer and Instructor

Justin Dike is the founder of CartoonSmart one of the internet's first video training websites. He is a long-time illustrator and animator, focusing mostly on Adobe Flash, and experienced programmer with Swift, Sprite Kit, Actionscript 3, Objective C and Cocos2d. For CartoonSmart he has recorded hundreds of hours of video tutorials and recently published his first full length book titled iOS Programming with Xcode and Cocos2d available in the iBookstore. Justin has also developed many iOS games, including a side scrolling game engine.