3 releases (breaking)

0.3.1 Dec 15, 2024
0.3.0 Dec 13, 2024
0.2.0 Jul 24, 2024
0.1.0 Feb 20, 2024

#1168 in Game dev

Download history 1/week @ 2024-09-17 4/week @ 2024-09-24 1/week @ 2024-10-01 2/week @ 2024-10-08 5/week @ 2024-10-29 43/week @ 2024-11-05 30/week @ 2024-11-12 6/week @ 2024-11-19 267/week @ 2024-12-10 69/week @ 2024-12-17 8/week @ 2024-12-31

344 downloads per month

MIT license

42KB
430 lines

bevy_eventwork_mod_websockets (BEMW)

Following released Bevy versions crates.io docs.rs

A crate that provides a websocket networking transport layer for Bevy_eventwork that supports WASM and Native.

Supported Platforms

  • WASM
  • Windows
  • Linux
  • Mac

Getting Started

See Bevy_eventwork for details on how to use bevy_eventwork.

The only difference from bevy_eventworks getting started directions is to use this crates WebSocketProvider and NetworkSettings. Other than that the crate functions identically to stock bevy_eventworks. No features, changes, or manual shenanigans are needed to compile for WASM. It just works.

    app.add_plugins(bevy_eventwork::EventworkPlugin::<
        WebSocketProvider,
        bevy::tasks::TaskPool,
    >::default());

    app.insert_resource(NetworkSettings::default());

Supported Eventwork + Bevy Version

EventWork Version BEMW Version Bevy Version
0.10 0.3 0.15
0.9 0.2 0.14
0.8 0.1 0.13

Dependencies

~42–77MB
~1.5M SLoC