Web Controllers For Unity by AngeloYazar - 1


Web Controllers for Unity

Unknown VersionUnknown LicenseUpdated 7 years agoCreated on July 29th, 2013
Go to source

Web Controllers for Unity

This in an experiment I cobbled together to see if it was possible to connect a phone to Unity to be used as a controller without downloading an app.

It accomplishes this by directing the phone to a website with a QRCode. The local IP of the computer running the game is included in the URL, so the controller can connect over the local network with a websocket.

The input lag is slightly too high for use in an action game, but it does demontrate that this is possible. I have not yet tried it on an OUYA, only in Unity.

The goal is to enable OUYA games to support a large number of players, without too much headache for the players.

Currently it only supports mobile safari, version 6.0 and above. This is because the websocket server it uses only supports RFC 6455

Resources used in the project:

alt text In this screenshot, the colored cubes are the ‘players’ displaying the last input they got from the controller.

Show all projects by AngeloYazar