Player vs Player tvOS Games Index

    Login               Join               Free user account          





Player vs Player tvOS Games

Learn how to program for external controllers on the tvOS, then have two players go head-to-head.

Created by: Justin

😍 0   👍 0   😐 0




Get full access...


Lifetime Access!

Get access to everything forever. Yes, everything. Yes, forever. Our best deal for sure! Need a coupon? Skip googling for one...

Activate a 24hr promo for first time visitors


Subscribe Yearly

Yearly subscribers get access to everything! Auto-cancels after two billings, at which point you qualify for a free Lifetime Membership!
Compare All Options


Purchase just this!

Get lifetime access to this course / product. 90% of the sale price goes to the author!



Want to feel warm and fuzzy??

If found us through one of our creator's links they'll get 50% of the sale!! That's how much we love our contributers!



Section 1

Swift Programming for External Controllers on tvOS

This tutorial you'll learn how to find connected controllers, define which buttons do what, set player indexes (i.e. Player 1, Player 2, etc) and work with a basic character.



Player vs Player tvOS Games – Introduction     FREE!

Login to Mark Progress

Player vs Player tvOS Games – Connecting an Extended GamePad Controller

Login to Mark Progress

Player vs Player tvOS Games – Connecting Standard and Micro Gamepad (the remote) Controllers

Login to Mark Progress

Player vs Player tvOS Games – Project 1

Login to Mark Progress

Player vs Player tvOS Games – Moving Player 1 with the Extended or Micro Gamepad

Login to Mark Progress

Player vs Player tvOS Games – Rotating with the Extended and MicroGamePad

Login to Mark Progress

Player vs Player tvOS Games – Wrapping up One-Player Controls with Firing

Login to Mark Progress

Player vs Player tvOS Games – Project 2 (end of session)

Login to Mark Progress


Section 2

Player vs Player with Multiple Controllers

In this section you'll learn the Swift / Sprite Kit code to work with multiple Extended / Standard Gamepad controllers (as well as the Micro Gamepad controller), to go head to head versus players in the same room. After we look at the finer points of connecting and disconnecting controllers and getting each in the right player slot, we'll discuss how to control who is who in any type game, and even go into a one-player mode where the CPU takes control of the second player. This way your two-player game can also be enjoyed by single players. We'll also discuss adding a Pause menu to your game, where players can go back to a Main menu or keep on playing.



Player vs Player tvOS Games – Handling Multiple Controllers with tvOS

Login to Mark Progress

Player vs Player tvOS Games – Project (Before Second Player Added)

Login to Mark Progress

Player vs Player tvOS Games – Setting up the Second Player (and Creating a Custom Tank Class)

Login to Mark Progress

Player vs Player tvOS Games – Setting up the Second Player (continued)

Login to Mark Progress

Player vs Player tvOS Games – Firing from the Second Player

Login to Mark Progress

Player vs Player tvOS Games – Adding a One-Player Mode with CPU Controlled Second Player

Login to Mark Progress

Player vs Player tvOS Games – Going Back and Forth Between 1-Player and 2-Player Modes

Login to Mark Progress

Player vs Player tvOS Games – Pause Screens with Options to Resume or go to the Main Menu

Login to Mark Progress

Player vs Player tvOS Games – Adding a Main Menu

Login to Mark Progress

Player vs Player tvOS Games – Project (End of Session 2)

Login to Mark Progress


Section 3

Player vs Player Gameplay

Now that we've covered all our bases in terms of controlling each player and dealing with controllers disconnecting and reconnecting, it's time to have some fun. This session we'll loosen things up a bit and just talk game play. Topics include collision detection, decrementing health, losing lives / restarting rounds, and other topics worthy of a good two-player game!



Player vs Player tvOS Games – Detecting Physics Collisions

Login to Mark Progress

Player vs Player tvOS Games – Creating a Bullet Class

Login to Mark Progress

Player vs Player tvOS Games – Animated Explosions and Tank with Tank Bumping

Login to Mark Progress

Player vs Player tvOS Games – Tank with Bullet Collisions and Losing Lives

Login to Mark Progress

Player vs Player tvOS Games – Loading New Levels and Adding a Lives Label

Login to Mark Progress

Player vs Player tvOS Games – Making the Camera Track a Central Point Between Players

Login to Mark Progress

Player vs Player tvOS Games – Adding Walls to Ricochet or Remove Bullets

Login to Mark Progress

Player vs Player tvOS Games – Conclusion

Login to Mark Progress

Player vs Player tvOS Games – Project (end of Session 3)

Login to Mark Progress





Category: Game Development  -   Primary Software: Xcode  -  
Tags:   external controllers - tvOS - two players - iOS - Swift - sprite kit - game development - side scroller - top down











Get a Free account...

Sign up for a FREE user account below. No payment info required.
We'll even send a Limited Time Discount Code for half off our Lifetime Membership!















Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!


Uh oh, missing your affiliate ID. Create one real quick