Skip to content

Bevy Replicon 0.40.0

Choose a tag to compare

@Shatur Shatur released this 17 May 14:15
· 6 commits to master since this release
8979925

Added

  • Shared messages and events via SharedMessageAppExt and SharedEventAppExt. Emitted as LocalOrRemote<M> on both the sender and the receiver to allow shared logic for client-side prediction.
  • iter_received and iter_sent methods on ClientMessages and ServerMessages to inspect inbound and outbound messages on a channel without consuming them.

Changed

  • ServerMessages::retain_sent is now public, allowing users to filter outbound messages before the backend drains them.
  • VisibilityFilter trait and related types moved to the shared::replication::visibility module and no longer feature gated by the server feature.
  • Replicated is no longer automatically inserted on clients, only Remote. scene::replicate_into will serialize all entities that have either Remote or Replicated.
  • Rename SendMode::Broadcast into SendTargets::All
  • Rename SendMode::BroadcastExcept into SendTargets::AllExcept
  • Rename SendMode::Direct into SendTargets::Single
  • Rename ToClients::mode into ToClients::targets