0.0.3 Sep 1, 2019
0.0.1 Sep 1, 2019


Used in 2 crates (via sardonyx)

MIT/Apache

170KB
3K SLoC

sardonyx Networking

Build Status Latest Version docs.rs Join us on Discord MIT/Apache

The networking crate for the sardonyx game engine. This crate provides the API and functionality which application developers will normally use to develop multiplayer games. The main engine can be found at https://sardonyx.rs.

This project is still at an early stage. We are currently designing and implementing a fast/robust networking system on top of specs. To exercise our implementation, we are creating a small test game which we will make public when we feel it's in a good place. Eventually, as we gain more confidence in our solution, we will move stable functionality over from that game to sardonyx network.

Currently, sardonyx network supports:

  • Reliable (ordered, sequenced) UDP.
  • Unreliable (sequenced) UDP.
  • Connect/Disconnect events from clients.
  • Automatic creation of NetConnection on client connect.
  • Automatic Fragmentation of big packets

We use laminar as the application layer communication protocol.

Contribution

Unless you explicitly state otherwise, any Contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

For more information or help, please come find us on the sardonyx discord server's #net channel. We are working on architecture, design, and roadmaps and can definitely use some helping hands, don't hesitate :).

License

Licensed under either of

Dependencies

~15MB
~288K SLoC