Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn tvOS for Game Development
Rating: 4.8 out of 5(6 ratings)
150 students

Learn tvOS for Game Development

Program a 2D-Side Scroller tvOS App for the New Apple TV
Created byJustin Dike
Last updated 1/2017
English

What you'll learn

  • 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

Course content

4 sections42 lectures9h 24m total length
  • Introduction1:40

    Learn tvOS for game development by adapting familiar SpriteKit and Swift code, create wrappers for menus and standings, and get your game ready for store launch on day one.

  • Project Files0:02
  • Initial Setup and Custom Classes10:30
  • Simple Two Button Menu Tutorial18:15
  • Transitioning Sprite Kit Scenes12:40
  • Multi-Directional SpriteKit Menu for tvOS15:57

    Create a five-button, multi-directional SpriteKit tvOS menu using a selection dictionary and swipe controls to navigate home, features, standings, store, and play.

  • Adjusting / Saving Color Schemes for the optimal TV experience26:11

    Define a shared tvOS color palette and save the current color with user defaults to persist across app launches, enabling dynamic background and text color changes for all scenes.

  • Passing data between classes (for example, already played cards from a deck)15:19

    Learn to pass around an array of used cards across tvOS game components to prevent repeats, implement random card selection, and update the next card label.

  • NSUserDefaults and Team Standings19:18
  • Alert Windows6:34
  • NSNotifications and playing audio from the View Controller19:59
  • Clearing the Defaults for a New Game and Wrap Up1:33

Requirements

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

Description

***** ALL SOURCE PROJECTS HAVE BEEN UPDATED FOR SWIFT 3

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!

Who this course is for:

  • New or old iOS developers looking to expand into tvOS