Simple bevy application to demonstrates how you could replicate entities and send reliable messages as commands from the server/client using renet.
Bevy.Demo.webm
Running using the netcode transport:
- server:
cargo run --bin server --features transport
- client:
cargo run --bin client --features transport
Running using the steam transport:
- server:
cargo run --bin server --features steam
- client:
cargo run --bin client --features steam -- [HOST_STEAM_ID]
- The
HOST_STEAM_ID
is printed in the console when the server is started
- The
You can toogle renet_visualizer with F1
in the client.