Remote Play
Remote local multiplayer
Last updated
Remote local multiplayer
Last updated
Consider supporting us as a and get instant access to all our Unity assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
Valve's Steam Remote Play lets you make a local multiplayer game that is also network multiplayer. It works in a manner similar to Steam game streaming ... that is the ability to play a game that is running on your PC but on your TV or other Steam Link device.
With Steam Remote Play you are running the game and your guest is streaming your game in that Steam Link similar manner. As far as your game is concerned the guest is a local player.
The first step to getting a remote play session going is to send an invite to a friend. The friend does not require a license to the game so you can send this invite to any friend. They will be streaming the game you are playing so it's your license of the game they will be playing on.
With the session known, you can then
or
This is handled exactly as you do with a local player, as far as your game is concerned each of the "session guests" is a local player and is causing local inputs to occur e.g. controller input, keyboard/mouse input, etc. will all act as if local.
The whole idea of Steam's Remote Play is that if you created a local multiplayer game then this will simply work right out of the box with you needing to do nothing more than invite a player to remote play.
Once you have configured your game to work with Steam Remote Play you can use Heathen's to send invites, manage guests and generally make the most out of the feature in your game.
When / if the guest connects the event will be invoked letting you know what the session ID is
Once a user has connected you might want to know which user it is, what form factor they are playing in or even what resolution they are running at. The Remote Play API has all of these and uses the Session ID the told you about.