Steam Network Messages Framework
A downloadable tool for Windows
I'll keep it brief.
What is this?
This is a networking system built on top of Steamworks.net. It was originally built to be used in Unity, but can easily be de-coupled and used elsewhere (uses NOTHING Unity-exclusive except for a few Debug.Log()s).
This package only contains 6 files and needs almost no setup to use.
It works out of the box for P2P in Unity.
Great to test network functionality or even build your whole game on top of!
What does it do?
It's built to streamline the process of sending network messages to a connection.
Just call one method and everything else is taken care of for you behind the scenes.
This uses 2 separate threads to send/ receive and also comes with its own serialization/deserialization systems.
You'll have to create or join a Steam lobby beforehand, but this package has you covered and streamlines this process too!
A couple other Steam utility classes are included aswell.
How do I use it?
Check the README.txt inside the download, it contains everything you need to know.
Just a headsup: if you're doing anything that's not pure P2P in Unity you'll have to get your hands a little dirty and go mess with the code.
Even then, they'll probably be relatively easy tweaks.
I can't guarantee complete support and updates/fixes for non-P2P or non-Unity usage.
What if I have a problem with it?
Reach out to me and I'll be happy to help you figure out stuff or fix bugs you encounter!
Really, I mean it! If the guide isn't that clear or something's missing from the dowload, let me know and I'll fix it asap!
Discord: clancini
Can I use this for commercial projects?
Yes!
Great but does it work well?
I've optimized it as much as I could, using multithreading and memory pools.
During my tests I've noticed no memory leaks and no fps drops under normal conditions.
Stress tests (500 messages in a single frame with a responde for each being sent back) only caused a few frames to drop for about one second.
What this is not
This DOES NOT include Steamworks.net itself so you'll have to download it for yourself. It is REALLY easy, just click here to get started.
By purchasing this, you agree to this.
Purchase
In order to download this tool you must purchase it at or above the minimum price of $20 USD. You will get access to the following files: