lucaspoffo / renet

Server/Client network library for multiplayer games with authentication and connection management made with Rust
Apache License 2.0
624 stars 67 forks source link

Configurable systems/event clearing #34

Closed Aceeri closed 1 year ago

Aceeri commented 1 year ago

Related issue: https://github.com/lucaspoffo/renet/issues/31

Somewhat follows bevy_rapier's example although I don't make entire stages since that seems a bit wasteful here. But this should also make it easier to add more systems without breakage in the future if needed.

lucaspoffo commented 1 year ago

Thanks! Sorry for the delay

Shatur commented 1 year ago

@lucaspoffo variable default_system_setup is used only do setup event clearing? Maybe rename into something related to events then?

lucaspoffo commented 1 year ago

@Shatur yeah, I've already done this on https://github.com/lucaspoffo/renet/commit/5ac53f7e30158c0dc2e316c7caa8570c2d5763eb, when documenting it I noticed also this.