iOS Game Development in Swift 2

Learn to create a 'tripeak solitaire' card game
3.9 (47 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.
4,692 students enrolled
Start Learning Now
  • Lectures 27
  • Length 3.5 hours
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2016 English

Course Description

Lead instructor at, Sabatino Masala will teach you how to create an entire Tripeaks Card game in Apple's 2D gaming framework called SpriteKit.

Sabatino trained over 900 students in person and improved his teaching approach over the years so students could strengthen their programming skills in an effective and fun course.

2016 marks his 10th year of being a game developer and over the years he released over 27 games, 18 of which reached over 1 million unique players!

All that attention didn't go unnoticed, because recently, one of the biggest companies in the gaming industry reached out to him, and that company was Nintendo. They made him a certified Nintendo developer, so you can rest assured you're in the right hands for learning a thing or two about game development.

This course is meant for students with some prior experience in (app) programming and want to start learning game development in iOS. This course will provide the source of every step in the lectures, so no need to worry when you're stuck somewhere!

All the assets will be provided and you're free to use them in any other project.

What will I learn in this course?

  • The Model View Controller (MVC) pattern
  • The Swift programming language
  • SKScenes for managing the menu and game scene
  • SKNodes and SKSpriteNodes
  • SKTransitions for transitioning between scenes
  • UIMotionEffects for parallax effects
    • Creating delegates and subclasses to communicate effectively between UIKit and Spritekit
  • Dazzling animations in SpriteKit using SKActions
  • Cross-device compatibility (we'll support all iPhones starting from iPhone 4 as well as the iPad)
  • Keeping your code structured and organized
  • The entire game mechanics for creating a Tripeak Solitaire game
  • Solving issues that have origins in the Swift compiler
  • Squatting bugs in a timely matter
  • Focussing on an impeccable user-experience

The ideal student has...

  • ... some prior experience with Xcode
  • ... some programming experience in Swift or Objective-C
  • ... a big interest for game development and isn't afraid to get its hands dirty when experiencing an issue

What are the requirements?

  • iOS development is only possible on a Mac
  • Students need to download XCode 7 or higher (free in the Appstore)

What am I going to get from this course?

  • Create a game in SpriteKit using Swift 2.0
  • Work with SKNodes and SKSpriteNodes
  • Understand the entire game mechanics behind a Tripeak Solitaire game
  • Keeping their code structured & organized
  • Create parallax (motion) effects in SpriteKit
  • Create amazing animations using SKActions
  • Create a cross-device game (iPhone 4 - iPhone 6+ and iPad)

Who is the target audience?

  • This course is meant for students with a small level of experience in iOS development

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Before we start
A quick overview
Section 2: Basics
Starter project overview
How to add a card on screen
How to create a peak
How to create 3 peaks
How to create the last row of cards
Section 3: Interaction & peak logic
How to create the back of the card
How to receive taps on the card
How to work with card managers
How to create a flipping animation
Section 4: Game Logic
How to create the deck
How to create the main game logic
How to keep the score
How to display the score
How to add a started / game over state
How to add overlays
Section 5: Extras
How to animate the dealing
How to add the background
How to add sound effects
Section 6: Menu & timed mode
How to create the menu scene
How to create the buttons
How to add configuration
How to add timed mode
Section 7: Finishing touches
How to pause the game
How to add a parallax effect on the background
Section 8: Multi-device support
How to manage layouts
How to support multiple devices

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Sabatino Masala, iOS developer

Sabatino is an indepentent web, game & iOS developer, with complimentary skills in serverside development.

He started out as a game developer nearly 10 years ago, developing & publishing over 20 games, most of which racked up over 1 million unique players!

Besides writing code, Sabatino enjoys teaching and training others and he never stops exploring what's beyond his comfort zone.

Ready to start learning?
Start Learning Now