Swift 3, Spritekit, iOS 10: Program an iPhone Memory game
4.4 (27 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.
282 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Swift 3, Spritekit, iOS 10: Program an iPhone Memory game to your Wishlist.

Add to Wishlist

Swift 3, Spritekit, iOS 10: Program an iPhone Memory game

Detailed video lectures that take you step by step through the process of creating a pro game using Swift and Spritekit
4.4 (27 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.
282 students enrolled
Created by Yohann Taieb
Last updated 10/2016
English
Current price: $10 Original price: $20 Discount: 50% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 3.5 hours on-demand video
  • 1 Article
  • 4 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Program using Swift: Learn the language used to develop all native iOS and Mac apps
  • Learn how to create world leaderboard, authenticate the user to the Apple Game Center, and submit best scores.
  • Learn the latest technology platforms from Apple - iOS 8 and xcode 6
  • learn how to use a third party Objective-C library that let the user rate and review your app, by creating a bridge from Objective-C to Swift.
  • Learn how to write code to ask players to rate and review the app.
  • Learn how to create custom launch screens using Apple’s graphical interface builder, the storyboard.
  • Learn how to store game data settings on your device and how to retrieve them.
  • Learn how to monetize your app or game using Apple iAD advertising banner
  • learn how to add your very own app icons
  • learn how to add sound files and play them
View Curriculum
Requirements
  • a MAC computer or a MAC virtual machine
Description

Update: Code updated for Swift 3 and the latest iOS 10

Our iOS courses teaches the complete process needed to develop a complete professional iPhone game using Swift language and SpriteKit . Along our journey, you will learn the syntax of Swift, the latest most-efficient language used to develop for iOS, as well as important design patterns and best practices. By the end of the course, you should be able to understand and recreate many of the features seen on popular iOS games and extend that knowledge to making apps of your own.

We believe students learn by building. That's why we have you build an entire game from scratch during the course, with the final app being a full featured memory card matching game.

Every single step in show to you in video lectures. We even provide you with the image and sound assets, and the final completed source code of the fully working iPhone memory game.

Topics Covered:

Swift: Learn the language used to develop all native iOS and Mac apps

GameKit: Learn how to create world leaderboard, authenticate the user to the Apple Game Center, and submit best scores.

iOS8 and XCode 6: Learn the latest technology platforms from Apple

Rate & Review App: learn how to use a third party Objective-C library that let the user rate and review your app, by creating a bridge from Objective-C to Swift.

Storyboard: Learn how to create custom launch screens using Apple’s graphical interface builder

Internal data storage: Learn how to store game data settings on your device and how to retrieve them.

iAD: Learn how to monetize your app or game using their advertising banner.

icons: learn how to add your very own icons

sounds: learn how to add sound files and play them

Who is the target audience?
  • programming students
  • people who want to make mobile games
  • people who want to learn swift while building a real professional app
Students Who Viewed This Course Also Viewed
Curriculum For This Course
51 Lectures
03:30:36
+
Getting started
5 Lectures 09:33

Learn how to add image files to the xcasset images folder in xcode.

Note: Please go to the download tab and download all the necessary project files.

Addendum: We have modified the code for the newer xcode v6.3. Download the Memory Game Xcode6 3.zip file as well.

Add images files to the xcasset folder
02:19

Learn how to add sound files to the xcode project.

Add sound files to the xcode project
00:40

In this lecture, we will clean up the default project off unecessary code and files.

Clean up the blank game project
01:09

In this lecture, you will learn how to create constant variables to reference asset files.

Preview 03:15
+
Coding the game main menu
5 Lectures 30:40

Learn how to add and display a background image using Spritekit and swift.

Adding the background to the scene
04:05

Learn how to adjust the default frame settings to render images correctly.

Preview 03:28

Learn how to create the in-game menu

Adding the game menu using sprite kit nodes
13:00

Learn how to trigger a piece of code whenever a menu item is pressed by the player.

Trigger code when a menu item is pressed using swift
06:57

Learn how to use the fade in and out skactions to hide or show the menu items.

Preview 03:10
+
Create the card board
6 Lectures 33:45

In order to create the card board, we need to declare variables.

Preview 05:26

Learn how to create a dynamic card board using spritekit and swift

Create card board swift code logic
13:22

Learn how to create a dynamically generated random card sequence so that every game is a new and unique one.

Create a random card sequence using swift swap array function and shuffle
06:36

Bugs are part of the programming process. You need to learn how to find them and fix them.

Fixing the back of the cards not showing
01:15

We want the player to be able to touch the cards. We are adding variables to prepare to do so.

Add variables to interact with the cards
02:37

Learn how to capture a reference to the card that the user just touched with his or her finger.

Getting a reference of the card that got pressed by the user
04:29
+
Core logic to match cards
2 Lectures 16:13

Learn how to code the logic to select 2 cards.

Writing logic to select the 2 cards in swift
07:06

Learn how to program the logic to find out if 2 selected cards match or do not match.

Writing code logic when cards match or do not
09:07
+
Score Board
9 Lectures 36:21

We need a way to display score. Learn how to add variables that will be used to create the score board.

Preview 02:23

Now that we've created the variables, we can create the scoreboard

Preview 11:14

Learn how to retrieve game data from the nsuserdefault using swift

Preview 01:57

Learn how to program the code that checks if the game is completed.

Write method to check if game is over using swift
04:28

Learn how to create a debug mode, also called a developer mode, in order to test the game without having to play the entire game, which would take too long

Adding debug mode to test faster
03:00

Once a game is over, we need to reset the cards statuses.

Preview 03:01

Learn how to the the game over functionality using the iPhone simulator.

Testing the game over functionality in the simulator
01:18

Learn how to shift the location of the scoreboard.

Code logic to move the score board using swift
05:35

Learn how to update and save the best score value to the default storage.

Preview 03:25
+
Program extra functionalities
6 Lectures 23:22

Program the logic to show or hide the finished flag that appears when the game is finished.

Preview 05:52

Learn how to find the flag display bug and how to fix it.

Fix the display of the flag skspritenode using swift
02:30

Get to program the logic to increase the attempt try count when both cards don't match.

Preview 01:24

Learn how to code the logic to display the reset button.

Preview 05:48

In this lecture, you will learn how to code the rest button logic in order to bring back the default settings prior to restarting a new game.

Preview 05:35

Learn how to write logic when user plays game again using swift

Write logic when user plays game again using swift
02:13
+
Sounds
1 Lecture 08:56

Learn how to add sound effects using SKActions with Swift language.

Preview 08:56
+
Leaderboard and Game Center
6 Lectures 20:48

Learn necessary information about the leaderboard, the rate app functionality and the iAD banner.

Note: If you want to do the publishing process to the itunes app store and use real settings, please refer to section 12: Optional: Setup iTunes Connect

Information about leaderboard rate app and iad banner
00:35

Learn how to set up the leaderboard using some swift code

Note: If you want to do the publishing process to the itunes app store and use real settings, please refer to section 12: Optional: Setup iTunes Connect

Preview 06:20

Learn how to code the authentication of the player to the game center.

Note: If you want to do the publishing process to the itunes app store and use real settings, please refer to section 12: Optional: Setup iTunes Connect

Game center authentication
06:08

Get to learn how to code the logic to show game center leaderboard using swift

Preview 01:58

Learn how to program the piece of code that is used to submit the best score to the game center leaderboard.

Code logic to submit score to game center using swift
02:47

In this lecture, you will learn how to test the leaderboard authentication and how to show the leaderboard world's best scores.

Testing the leaderboard authentication and show scores
03:00
+
iAD advertising banner
1 Lecture 03:57

Learn how to write the piece of code that will display the iAD banner.

Note: If you want to do the publishing process to the itunes app store and use real settings, please refer to section 12: Optional: Setup iTunes Connect

Preview 03:57
+
Rate the Application
2 Lectures 07:24

Learn the way to add the functionality to have the player rate and write a review for your game.

Note: If you want to do the publishing process to the itunes app store and use real settings, please refer to section 12: Optional: Setup iTunes Connect

Preview 04:14

Learn how to create a bridge from Objective-C to Swift in order to execute obj-C code in a Swift project.

Create objectiveC to Swift bridge to use appirater to rate app
03:10
2 More Sections
About the Instructor
Yohann Taieb
4.4 Average rating
2,587 Reviews
56,612 Students
77 Courses
Apps Games Unity iOS Android Apple Watch TV Development

Yohann holds a Bachelor of Science Degree in Computer Science from FIU University. He has been a College instructor for over 7 years, teaching iPhone Development, iOS 10, Apple Watch development, Swift 3, Unity 3D, Pixel Art, Photoshop for programmers, and Android. Yohann also has plenty of ideas which naturally turned him into an entrepreneur, where he owns over 100 mobile apps and games in both the Apple app store and the Android store.

Yohann is one of the leading experts in mobile game programming, app flipping and reskinning. His teaching style is unique, hands on and very detailed. Yohann has enabled more than 50000 students to publish their own apps and reach the top spots in iTunes App Stores, which has been picked up by blogs and medias like WIRED magazine, Yahoo News, and Forbes Online. Thanks to him, thousands of students now make a living using iOS 9, Swift 2, Objective C ( ObjC ), Android, Apple Watch ( watchOS ), Apple TV ( TVOS ), Unity 3D, and Pixel art animation