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

#796 in Game dev

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

~25MB
~468K SLoC