/FizzyFacepunch

A transport for Mirror using Steam / Facepunch

Primary LanguageC#MIT LicenseMIT

FizzyFacepunch

This is an alternative version of FizzySteamworks that uses Facepunch instead of Steamworks.NET.

Mirror docs and the official community Discord.

FizzyFacepunch brings together Steam and Mirror . It supports both the old SteamNetworking as well as the new SteamSockets.

Dependencies

Both of these projects need to be installed and working before you can use this transport.

  1. Facepunch FizzyFacepunch relies on Facepunch to communicate with the Steamworks API. Requires .Net 4.x
  2. Mirror FizzyFacepunch is also obviously dependant on Mirror which is a streamline, bug fixed, maintained version of UNET for Unity.

Setting Up

  1. Install Mirror (Requires Mirror 35.0+) from the official repo Download Mirror.
  2. Install FizzyFacepunch unitypackage from the release section.
  3. In your "NetworkManager" object replace "Telepathy" script with "FizzyFacepunch" script.
  4. Enter your Steam App ID in the "FizzyFacepunch" script.

Note: The default 480(Spacewar) appid is a very grey area, technically, it's not allowed but they don't really do anything about it. When you have your own appid from steam then replace the 480 with your own game appid. If you know a better way around this please make a Issue ticket.

Host

To be able to have your game working you need to make sure you have Steam running in the background.

Client

  1. Send the game to your buddy.
  2. Your buddy needs your steamID64 to be able to connect. The transport shows your Steam User ID after you have started a server.
  3. Place the steamID64 into "localhost" then click "Client"
  4. Then they will be connected to you.

Testing your game locally

You cant connect to yourself locally while using FizzyFacepunch since it's using steams P2P. If you want to test your game locally you'll have to use "Telepathy Transport" instead of FizzyFacepunch.