Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternative for Multipeer-connectivity tvOS swift

I have been looking around trying to figure out how crossy road developers and beat sports developers have made their remote controller "add-on." First I thought Multipeer-connectivity, but after trying to test it on the Apple TV realized the framework was not support, why? Makes no sense to me, but anyways. So my question is, does anyone know what cross road developers did?

Thanks in advance.

like image 844
Zander Avatar asked Jan 27 '26 03:01

Zander


1 Answers

If you only need to create a software-based game controller, you don't really need peer-to-peer. I've used NSNetService and made my framework available as open source: https://github.com/robreuss/VirtualGameController

Core Bluetooth would also work but will not give you the same performance as WiFi (NSNetService).

like image 59
Rob Reuss Avatar answered Jan 29 '26 20:01

Rob Reuss