#bevy #gamedev

bevy_simple_networking

Simple authoritative server networking library for Bevy

5 unstable releases

Uses new Rust 2021

0.3.0 Jan 29, 2022
0.2.0 Oct 13, 2021
0.1.2 Oct 12, 2021
0.1.1 Oct 12, 2021
0.1.0 Oct 12, 2021

#260 in #bevy

22 downloads per month

Apache-2.0

25KB
276 lines

Bevy Networking Plugin

version downloads

This is a simple networking plugin for the Bevy game engine. This plugin provides the building blocks which game developers can use to develop online multiplayer games using the authoritative server model.

Currently, this plugin provides full connection life cycle management over UDP.

By default, idle connections are dropped after 5 seconds, but this can be configured by changing the value of a NetworkResource's idle_timeout parameter.

Clients using the ClientPlugin automatically send a heartbeat packet every few seconds to keep the connection alive.

License

See LICENSE.

Dependencies

~11–17MB
~347K SLoC