Use iPhone app as control for tvOs app

Hi guys, In the presentation from Apple they showed the Crossy road game and the developers were playing through their iPhones. How did they do that? We have a great app in mind but it depends on that connectivity. I couldn't find any documentation or examples to connect both the iPhone and apple tv.

Replies

Yes, an iphone can be used as a controller w/ATV.


Most likely BT in that example, I think. See: Incorporating Controllers into Your Game

I am using the standard socket library to send upd packets 60 times per second over wifi in my racing game.

I've developed a framework that wraps Game Controller in a way that makes it easy to create an iOS-based game controller that appears as a MFi hardware-based controller: https://github.com/robreuss/VirtualGameController