Player vs Player Games

Battle your friends and learn how to program apps with external controllers!

Player vs Player tvOS Video Tutorials

Sprite Kit Banner for Video Tutorial Technology Taught

Learn more about Sprite Kit

Sprite Kit is a 2d game engine for creating apps for iOS, tvOS, and Mac OS devices. Sprite Kit comes included with Xcode and since it is developed by Apple, developers can be assured that future versions of the iOS, tvOS and Mac OS support their past projects.

Swift Video Tutorial - Technology Taught

Developed with Swift 2

This course teaches Xcode development using Swift 2, Apple’s latest programming language. Swift can be used to create both iOS and tvOS Apps to sell through the App Store, or Mac OS apps to sell through the Mac App Store.

Tank Game tvOS Demo App

Classic Tank Battle Anyone?

This course inspired our Tank Battle app in the tvOS Store. Or was it the other way around? The tank game inspired our lesson. Meh, we’ll probably never know. But a tank game does make for a great lesson. Especially when the first half discusses plugging in external game controllers, like the Nimbus Steel Series that Apple is getting into the hands of many, many new Apple TV users. We recommend you get a hold of one too, and really have some fun this lesson.

Nearly 6 hours of tvOS training…

Learn how to program up to two extra game controllers for apps on the new Apple TV, then have two players go head-to-head in any kind of battle arena. In the first half of the series, we’ll focus on getting everything connected. In versus games, one player can use the new Apple TV remote while another plays with one of the many bluetooth game controllers on the market today. Or if game owners have two external controllers, they can connect both and really battle it out in classic style. We’ll discuss how to detect which controller is moving which sprites in the game.

In the second half of the series, we will program a complete game where two players can battle it out to the death (or until one loses all their lives). This involves detecting physics collisions between the tanks, bullet classes, walls, etc. We’ll also program a Pause screen and make it possible to start the game from a main menu, with settings to launch the game in 2 player mode, or 1 player mode where the second tank is controller by the CPU. So there’s plenty to learn in this essential new course for Apple TV apps!  As usual, all code is written with Swift and Sprite Kit.

Player vs Player tvOS Game Tutorial using External Controllers

Watch gameplay from our demo app for this lesson…

Students will learn how to….

  • Connect an Extended (or Standard) GamePad Controller

  • Connect the Micro Gamepad Controller (the new Apple TV remote)

  • How to move sprites using directional controls

  • Rotate sprites with either the Extended or Micro Gamepad

  • Fire projectiles in a specific direction (36o degrees)

  • Handle up to two Extended controllers

  • Set up specific player classes and control each through a controller

  • Initiate either a 1 or 2 player game from the start menu

  • Add a pause screen to go back to the main menu

  • Detect physics collisions between projectiles and players

  • Animate explosions or other image sequences

  • Lose lives and progress to different levels

Universal Purchases

Want to speed up production?…

This course along with our Learn tvOS for Game Development series culminated in the creation of our Platform Games Starter Kit for iOS and tvOS development. So while we always recommend learning as much as possible, if you’re chomping at the bit (or 8-bit) to get something in either the iOS or tvOS store, we recommend signing up for our Yearly Subscription to get access to EVERY course and Starter Kit.

Player vs Player tvOS video tutorials Box

Learn tvOS for Game Development

Two affordable purchasing options…

Purchase Option 1 - Lifetime Access

Get Lifetime Access to this course for a one-time purchase price. You can download (or stream) the movie files and download any source projects.

Already have Lifetime Access? You can get started watching the video tutorials from right here.

Purchase Option 2 - Subscription Access

Both Monthly and Yearly Subscribers can stream every video tutorial on the site. Yearly subscribers get access to the latest version of every starter kit whenever they want, plus access to hundreds of dollars worth of royalty free game art (yes, it’s an amazing deal). You can cancel your Monthly or Yearly subscription anytime directly through Paypal.

Browse All Courses 
  • Billed monthly until cancelled

  • Billed yearly until cancelled

Buy Now

Already a Subscriber? Get started on the course from right here.