Player vs Player tvOS Games Index
    Login               Join           |
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... Subscribe Yearly Yearly subscribers get access to everything! Auto-cancels after two billings, at which point you qualify for a free Lifetime Membership! |
Section 1Swift Programming for External Controllers on tvOSThis 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. |
Section 2Player vs Player with Multiple ControllersIn 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. |
Section 3Player vs Player GameplayNow 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! |
Category: Game Development  -   Primary Software: Xcode  -   |
Get a Free account...