- Home /
Use smartphone as joystick on the Web Player
Hi everyone. First of all I'm sorry for my grammatical errors, english is not my native language. I'm working on a racing web game developed with Unity. I'm wondering how I can use the smartphone as joystick while the game is running on the web player.
This is a great example: multeor.com
In my racing game you can control the Player with the accelerometer, use objects with a button, see the number of laps, and other stuffs.. The idea is to display this kind of stuffs on the smartphone display and keep the game main window clear.
How can I send parameters from the smartphone (like the accelerometer values) to the Web Player? What is the scripting language to do so? Do you think that the latency would be too high?
Thanks for the attention, best regards, Giulio