#client-server #shared #voxel #game-server #voxel-game #perovskite #constants

perovskite_core

Multiplayer voxel game written in Rust - Implementation details shared between client and server

3 releases

0.0.3 Feb 24, 2024
0.0.2 Dec 31, 2023
0.0.1 Sep 3, 2023

#344 in Games

Download history 9/week @ 2023-12-30 143/week @ 2024-02-17 213/week @ 2024-02-24 32/week @ 2024-03-02 13/week @ 2024-03-09 3/week @ 2024-03-16 46/week @ 2024-03-30 5/week @ 2024-04-06

56 downloads per month
Used in 3 crates

Apache-2.0

45KB
889 lines

This crate contains core definitions shared between Perovskite clients and servers. It doesn't make sense to use on its own, unless you're writing some kind of middleware, loadbalancer, custom client, protocol translator, etc.

The constants and definitions will generally offer a somewhat stable API; the network protocol may evolve quickly, with protocol version mismatches mediated by logic in the client and server crates.

However, its definitions are useful in conjunction with the APIs in either perovskite_game_api (if you want to write game content) or perovskite_server (if you need lower level engine access).

Please see the perovskite_game_api and perovskite_client crates to run a game server and join a game, respectively.

Dependencies

~9–18MB
~216K SLoC