#netcode #multiplayer #authoritative-server

yanked lloth-core

Core layer for client-server netcode

0.1.0 Oct 19, 2021

#21 in #netcode

MIT/Apache

30KB
768 lines

lloth

crates docs actions MIT/Apache loc

Lloth provides basic building blocks to add networking capabilities to game engine.

Lloth supports:

  • Client-Server model with authoritative server

For client-server model lloth automatically performs state replication with delta compression from server to client
and commands replication from client to server.

Lloth makes no assumption of game loop and components used in game.
User needs to register lloth::server::Descriptor in server and lloth::client::Descriptor in client for components that need to be replicated. There's blanket implementation for components that are comparable for equality and serializable.

License

Licensed under either of

at your option.

Contributions

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.

Dependencies

~1–9.5MB
~88K SLoC