Renet to Lightyear 1
Tags: rust bevy networking unfinished
Notes from my effort to replace bevy_renet with lightyear in my “WIP” game.
Renet is a popular server authoritative networking library for the Bevy game engine. I started using it for a new game I’m working on and really liked its simplicity from the start. Eventually though, I realized I wanted to target WASM for my game and Renet does not currently support websockets or webtransport. Another up and coming library is lightyear - its got a very active main contributor/maintainer in the Bevy Discord and it comes with support for WASM via websockets or webtransport and also supports crossplay between protocols as well as advanced replication features like client side prediction, rollback and snapshot interpolation, and many more!
Read more...