I’ve got a simple, one-button multiplayer game for which I need a wireless input device for each player.
Does anyone know a way I can set up a website so each player can visit the site with their phone and use it as their button? I’d need this to be low-latency.
I’m guessing the more common approach is input via a remote app that I develop and the players download, but I’m looking for the lowest-friction setup solution from the players’ perspective.
Yeah but “set up a website so each player can visit the site with their phone and use it as their button” implies you’re looking for a traditional website rather than a browser game technology like WebGL. Unity supports WebGL builds, though mobile browsers are specifically not supported (though it is possible for it to work with some mobile browsers).
But I thought you wanted this to be a button for use as an input device for some other build running somewhere else? Buttons work quickly in WebGL builds because they are all handled locally on the client rather than in a traditional website where it often loads another web page from the server on click. What are you trying to use this as an input device for exactly?
I have a four-player arcade game—each player has only one button. I’d like to allow the players to use their phones as their one-button input device. Players will usually be standing within ten feet of the machine.
I’m aiming for lowest-possible friction for players hopping into a game, which is why I want to avoid requiring players to download an app before playing. I’m also aiming for low latency.
Is it possible for a WebGL build running on a player’s phone to communicate with a desktop build on the same WiFi network?
I’m in the design phase on this, so I’m open to ideas.