What is DarkRift?
DarkRift Networking is a fast and flexible networking solution for server - client model multiplayer games.
DarkRift takes a lower level approach to networking in Unity than RakNet but still hides you from the complexity of the underlying sockets. Messages are sent between the server and clients in an email like fashion using a tag and subject to identify the message content meaning the bandwidth used is kept to a minimum.
For advanced users you can embed your server into Unity builds to utilise Unityās physics and pathfinding or any other asset you want. Fancy running it on Linux as well? We support that!
How about an authoritative server?
Running server side code is as easy as dropping a .dll file into a folder. If we donāt already have a plugin that fits your needs in the plugins thread then you can delve into our serverās inner workings and rig one up in no time at all. It only takes 20 minutes to complete our plugin tutorial.
If you need persistent storage for your game then DarkRiftās database integration will make your job much faster. Add the database connector plugin for your choice of DB and your plugins will be able to run SQL commands through the generic wrapper without even adding another reference to your code.
What about underneath?
Serialisation is completely automated in DarkRift using .NETās powerful BinaryFormatter meaning you can send any serialisable object across the network in a single line of code. However, if you feel you need more control over whatās sent then you can use DarkRiftās new manual serialisation system to easily choose exactly what is sent and bypass the automated serialisation.
Both the client and server APIs are simple and lightweight. If you want to receive data then you latch onto an event, if you want to send data you call a method, if you want to know when someone disconnects then thereās an event for that, if you want to kick someone off because you donāt like them: thereās a method for that too!
Whatās new with DarkRift 1.3?
-
Official Linux support via Mono!
-
Unity embedding so you can use Unity physics and pathfinding in your servers!
-
Comments in configuration files (finally).
-
Multithreading in the client API!
-
Bug fixes.
-
Added new demo of custom serialisation.
Where can I get it?
DarkRift is available free on the Asset Store Here up to 20 users, if you want more then get a Pro or Extreme license.
Read a great review and comparison of networking solutions here!
If you have any questions Iāll happily answer them
More help!
There is also community run Discord channel that everyone is welcome to join here!
Jamie