Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Program a pro iPhone memory game using swift and spritekit
Getting Started
Promo Video (1:22)
00 Download the Memory game source code iOS10+
01 Create the Memory Game project in xcode using Swift and SpriteKit (2:11)
02 Add images files to the xcasset folder (2:19)
03 Add sound files to the xcode project (0:40)
04 Clean up the blank game project (1:09)
05 Adding swift constants for image file names (3:14)
Coding the game main menu
06 Adding the background to the scene (4:05)
07 Fixing the blank spritekit swift project default frame settings (3:28)
08 Adding the game menu using sprite kit nodes (12:59)
09 Trigger code when a menu item is pressed using swift (6:57)
10 Code logic to fade menu in and out using swift (3:10)
Create the card board
11 Create variables to create the card board using swift (5:26)
12 Create card board swift code logic (13:21)
13 Create a random card sequence using swift swap array function and shuffle (6:36)
14 Fixing the back of the cards not showing (1:15)
15 Add variables to interact with the cards (2:37)
16 Getting a reference of the card that got pressed by the user (4:29)
Core logic to match cards
17 Writing logic to select the 2 cards in swift (7:06)
18 writing code logic when cards match or do not (9:07)
Score Board
19 add variables to create a scoreboard in swift (2:23)
20 Programming the display of the scoreboard using swift (11:14)
21 Load best score value fron nsuserdefault using swift (1:57)
22 Write method to check if game is over using swift (4:28)
23 Adding debug mode to test faster (3:00)
24 Reset the cards status using swift (3:01)
25 Testing the game over functionality in the simulator (1:18)
26 Code logic to move the score board using swift (5:35)
27 Update and save the best score using swift (3:25)
Program extra functionalities
28 Logic to create hide or show the finished flag (5:51)
29 fix the display of the flag skspritenode using swift (2:30)
30 Logic to increase attempt try count (1:24)
31 Write code logic to display the reset button (5:49)
32 Write code to reset game to default using swift (5:35)
33 Write logic when user plays game again using swift (2:14)
Sounds
34 Adding all sound effects using skactions and swift (8:56)
Leaderboard and Game Center
35 info about leaderboard rate app and iad banner (0:35)
36 Setting up leaderboard swift code (6:20)
37 Game center authentication (6:08)
38 Code logic to show game center leaderboard using swift (1:58)
39 Code logic to submit score to game center using swift (2:47)
40 Testing the leaderboard auth and show scores (3:00)
iAD advertising banner
41 Write code to ad the iad advertising banner and display it with swift (3:58)
Rate the Application
42 Rating the app logic - part 1 setup (4:14)
43 Create objectiveC to Swift bridge to use appirater to rate app (3:10)
Icons and launch images
44 Add iphone app icons (2:45)
45 Modify launch screens (2:01)
Optional: Setup iTunes Connect
46 Taking screenshots for all iphone sizes (3:55)
47 Create app in iTunes Connect (2:47)
48 Add icon, screenshots, and app details in iTunes (2:27)
49 Get the bundle app ID from iTunes Connect (0:41)
50 Create iTunes Connect leaderboard settings and connect to code (3:31)
40 Testing the leaderboard auth and show scores
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock