Learn tvOS for Game Development

Program a 2D-Side Scroller tvOS App for the New Apple TV
4.9 (4 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.
108 students enrolled
$19
$40
52% off
Take This Course
  • Lectures 42
  • Length 9.5 hours
  • Skill Level Beginner 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

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

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

About This Course

Published 10/2015 English

Course Description

How to Create a tvOS Template for any SpriteKit Game

In the first section we will create a tvOS template for navigating between scenes (Home, Features, Team Standings), and discuss ways to pass data around classes, save data using NSUserDefaults, swipe between menu options and much more. By the end of this course you will have a template you can begin any of your future tvOS apps with.

How to Create a Side Scroller Game for tvOS or iOS - Session 1

In this series you will learn how to create a retro 2d-style side scroller game from scratch for the new tvOS or for iOS. The project will be initially developed using the tvOS template, then you'll see how to take most of the same code and use it for an iOS app. We'll cover all the essentials to making a side scroller: building a physics-based environment (with platforms, vines, pipes, collectibles), programming a an easy character to move using swipes, adding the HUD (for things like Score or a Lives label), sound and much, much more. Toward the end of this session we'll also discuss how to add a tvOS target to an existing iOS project and share code / assets between the two targets.

How to Create a Side Scroller Game for tvOS or iOS - Session 2

The epic saga continues in this second session all about how to make a 2D side scroller for tvOS or iOS. We'll look at turning our GameScene into more of a "game engine" by incorporating a property list to change variables on a per-level basis. We'll also talk about scoring, moving platforms (that carry the player), "dead zones" to kill the player, restarting from continue points, inventory, and much more!

What are the requirements?

  • Some basic Swift 2 and Sprite Kit knowledge (via our free course)

What am I going to get from this course?

  • Create a Side Scrolling game for the tvOS or iOS App Store.
  • Create a template to use for future Swift 2 and SpriteKit based tvOS apps

What is the target audience?

  • New or old iOS developers looking to expand into tvOS

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.

Curriculum

Section 1: How to Create a tvOS Template for any SpriteKit Game
Introduction
Preview
01:40
Project Files
Article
Initial Setup and Custom Classes
Preview
10:30
Simple Two Button Menu Tutorial
Preview
18:15
Transitioning Sprite Kit Scenes
12:40
Multi-Directional SpriteKit Menu for tvOS
15:57
Adjusting / Saving Color Schemes for the optimal TV experience
26:11
Passing data between classes (for example, already played cards from a deck)
15:19
NSUserDefaults and Team Standings
19:18
Alert Windows
06:34
NSNotifications and playing audio from the View Controller
19:59
Clearing the Defaults for a New Game and Wrap Up
01:33
Section 2: How to Create a Side Scroller Game for tvOS or iOS - Session 1
Initial Setup
Preview
13:06
Custom Player Class
Preview
13:22
Animating Textures
18:50
Initial Character Controls
14:22
Physics Contacts
19:08
Double Jumping, Fine-tuning Friction and Restitution
13:14
Making the Camera and GUI Follow the Player
11:36
Climbable Poles or Vines
16:00
Hanging onto Moving Poles or Vines
14:19
Pipes and Portals to Other Levels
18:19
Using the same code in a Universal iOS Project
18:51
Adding a tvOS Target to an Existing iOS Project
10:17
Project files for Session 1
Article
Section 3: How to Create a Side Scroller Game for tvOS or iOS - Session 2
Adding a Property List for Level Data
20:26
Moving Platforms that Carry the Player
16:16
Losing Lives
21:00
Collecting Coins to Add Lives
08:27
Enemies
08:19
Refining Player Animation and Adding Sounds
14:49
Refreshing Levels and Restarting Back Levels
10:19
Parallax Effects
05:08
Score Labels
06:34
Dramatic Deaths
10:42
Firing Projectiles
16:35
Collecting Inventory (Bullets) to Use
17:55
Project Files
Article
Conclusion
06:26
Section 4: Bonus - Our "First Look" Videos at the tvOS
Initial Setup and Gestures for tvOS - Part 1
46:37
Initial Setup and Gestures for tvOS - Part 2
25:58
Project Files
Article

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Justin Dike, 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.

Ready to start learning?
Take This Course