#bevy-networking #bevy #gamedev

bevy_simple_networking

Simple authoritative server networking library for Bevy

6 releases (3 breaking)

0.4.0 Sep 5, 2024
0.3.0 Jan 29, 2022
0.2.0 Oct 13, 2021
0.1.2 Oct 12, 2021

#470 in Game dev

Download history 1/week @ 2024-07-01 55/week @ 2024-07-29 124/week @ 2024-09-02 7/week @ 2024-09-16 7/week @ 2024-09-23

138 downloads per month

Apache-2.0

33KB
332 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

~23MB
~423K SLoC