
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.
Set up a tvOS game project by creating a home and standings class, size the game scene to 1920 by 1080 for tv, and configure assets with remote testing.
Create a simple tvOS two-button menu with two labels and a movable box, using swipe and tap gestures to switch between play and features and a pressed select action.
Implement robust sprite kit scene transitions by guarding against double taps with a transition in progress flag, cleaning up gesture recognizers and actions, and safely loading new scenes with SKTransition.
Create a five-button, multi-directional SpriteKit tvOS menu using a selection dictionary and swipe controls to navigate home, features, standings, store, and play.
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.
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.
Store and retrieve game data across screens using NSUserDefaults, saving used cards and team scores as keys, and update standings by reading defaults in the standings view.
Learn to create and present a tvOS alert with UIAlertController, add two actions, and dismiss the alert to test user choices.
Use NSNotificationCenter to post and observe events in a tvOS game view controller, pass data with a userInfo dictionary, and control background audio with AVFoundation.
Reset the game by renaming the menu label to start over, pressing play to set team scores to zero and clear the cards array, creating a fresh multiplayer tvOS template.
Set up a tvOS side-scroller in Xcode 7.1, import assets with a texture atlas, and configure physics, gravity, and moving platforms using SK actions.
Create a custom player class in SpriteKit for tvOS, texture the player, animate with textures, and configure a circular physics body with gravity and show physics bodies.
Learn to create and manage character animations in tvOS game development by setting up texture atlas animations, idle, walk, jump, and dead states with SKAction.
Master initial character controls on tvOS by using swipe gestures to set a direction type and current speed, then update the player's position each frame.
Learn to implement physics contact delegates in a tvOS game, create a platform class with category and contact masks, and test player interactions with platforms and grounds.
Fine-tune tvOS game controls with a double jump using is double jumping and is jumping flags, and adjust friction and restitution on platforms.
Set up a camera and attach labels to follow the player as the character moves, creating a Mario-like scrolling feel with a custom font on-screen label aligned to the camera.
Create a custom pole class with a rectangular SK physics body, set category and contact masks, and use didBegin/didEnd contacts to enable swipe up and down climbing.
Learn to implement moving poles in a tvOS game by subclassing the pole, adding move amount and range, and updating swing behavior per frame.
Create pipes that transport the player between sides, then build portals to load the next level with scene transitions, using collision checks and camera options.
Explore implementing tvos and iOS code in a single universal iOS project or separate projects, and adapt game scenes, assets, and targeting for iPad and iPhone.
Add a tvOS target to an existing iOS project and share resources. Set up assets and game scenes, test on the tvOS simulator.
Learn to manage tvOS game levels by using a property list to store level data, including the camera follow boolean, and load levels using user defaults via a helper parser.
Design and implement two moving platforms (x and y) with update logic and didBeginContact handling to smoothly carry the player and prevent jitter on a tvOS game.
Implement a dead zone to kill the player, manage lives, and reset to the start location using SKAction and level logic in tvOS game development.
Add a coin object that awards an extra life on collision, update the current lives and the lives label, and remove the coin.
Introduce a heat monster enemy with a physics body, six animated frames looping, and player collisions to lose life or kill the enemy by jumping on top.
Refine player animation by consolidating frames, add climbing frames, manage animation actions with keys, introduce is_climbing state, and implement jump sounds to enhance tvOS game development.
Learn how to refresh levels and restart from specific points in a tvOS game, by using per-level properties for boundary flips and death-based level resets, with smooth transitions.
Learn to implement parallax effects in tvOS game scenes by moving background layers at fractions of the player's speed, creating a layered depth during each update.
Learn to implement a tvOS score label by duplicating the lives label, enumerating scene children, updating the score with a function, and saving it with a score key.
Implement a dramatic death in a tvOS game by replacing lose life with a kill player with sound, add death visuals, and manage an isDead flag to prevent repeated triggers.
Create a projectile class as a runtime sprite with a texture, size, and physics body, then fire bullets from the player, handling collisions with platforms and enemies and remove bullets.
Learn to implement a bullet pickup system in tvOS game development, including an inventory label that shows ammo, a bullet pickup class, collision handling, and saving ammo counts between levels.
Wrap up by importing the AVFoundation audio session to keep music playing during gameplay, and simplify moving platform logic for diagonal motion in a retro 2D tvOS game.
Set up a tvOS SpriteKit project, import assets, build a scene with focusable buttons and placeholders, and implement touch handling to highlight and scale the focused sprite.
Clean up the code by safely unwrapping button nodes, aligning placeholders, and wiring tap gestures for tvOS, then explore swipe and directional gestures with scene transitions using SKTransition.
***** 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!