Giter Site home page Giter Site logo

jaxter184 / bevy_replicon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from projectharmonia/bevy_replicon

0.0 0.0 0.0 1.07 MB

ECS-focused high-level networking crate for the Bevy game engine.

Home Page: https://crates.io/crates/bevy_replicon

License: Apache License 2.0

Rust 100.00%

bevy_replicon's Introduction

Bevy Replicon

crates.io docs.rs codecov

ECS-focused high-level networking crate for the Bevy game engine using the Renet library.

Features

  • Authentication and encryption, using renetcode.
  • Packet fragmentation and reassembly.
  • Support for client and server both in one App and in separate.
  • Customizable transport layer. Right now only Netcode is supported, but Steam, WebTransport, and memory channels are on the way (new Renet release is needed).
  • Component-oriented world state replication.
  • Events-based messaging API with different guarantees (reliable, reliable unordered, and unreliable).
  • Control over client visibility of entities and events.
  • Replication into scene to save server state.
  • API focused on writing logic once that automatically works for singleplayer, client, server, and listen server (when server is also a player).

Prediction and interpolation are not implemented in this crate and are considered out of scope. But the idea of the crate is to provide an extensible core, so if your game needs something, you can implement it on top. Also check out related crates.

Getting Started

Check out the quick start guide.

See also examples.

Related Crates

  • bevy_timewarp - a rollback library that buffers component state. See this instruction about how to integrate.
  • bevy_replicon_snap - a snapshot interpolation plugin.
  • bevy_replicon_attributes - adds ergonomic visibility control through client attributes and entity/event visibility conditions. An extension of this crate's raw client visibility API.
  • bevy_replicon_repair - preserves replicated client state across reconnects.

Bevy compatibility

bevy bevy_replicon
0.12.1 0.18-0.21
0.11.0 0.6-0.17
0.10.1 0.2-0.6
0.10.0 0.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.