For a very specific game, I need every client to act just like a remote controller, ie nothing is computed locally, and there is no display : they just see arrows and buttons they can press.
Those controls move a character on the server only. There is nearly nothing going from server to client (except some basic info like “it’s your turn”). And absolutely nothing from one client should go to another client.
My first idea was to Network.Instantiate a “controls” prefab on each client, and synchronize the keypress actions. But this seems a bit stupid : other characters will Instantiate the controls too, which isn’t needed, and they will even be Synchronized… Maybe I could limit this problem with groups, or with SetReceivingEnabled…
The other solution I thought of would be to have only one NetworkView, shared by everyone, and work with RPCs. But I don’t know if those are meant to be heavily used like this, sending player input whenever a control is pressed/released. I’m also a bit concerned with delay here (though this game will probably be played on a local network).
Which solution seems best to you ? Can RPC be used that way ? Is there a way to prevent Clients to synchronize networkview among them ?
Thank you !