Skip to main content

Crate synctick_bevy

Crate synctick_bevy 

Source
Expand description

Bevy integration for deterministic sessions.

The worker owns a separate simulation App and deterministic schedule. Presentation uses typed command/status resources and an owning session guard. Install an idle plugin for menus, then attach through SessionController.

Structs§

BevySimulation
Worker-owned simulation constructed by GameAdapter.
GameAdapter
Adapt a BevyGame to the engine-independent Game session API.
SessionCancellation
Cancellation control for the currently attached session.
SessionCommands
Typed command submission for the currently attached session.
SessionController
Attach sessions after a menu selection without replacing the Bevy App.
SessionGuard
Retain this guard outside App::run: Bevy consumes/replaces the original App. Dropping the guard cancels and joins even if the runner retains its World.
SessionPlugin
Presentation-side session resources and lifecycle systems.
SessionState
Latest coalesced session status, refreshed during PreUpdate.
SimStep
Deterministic gameplay schedule, run once per live or replayed tick.
TickDuration
Fixed simulation interval recorded in the session metadata.
TickInputs
Participant-tagged commands in authoritative order for the current tick.
TickNumber
Framework-assigned tick currently being simulated; zero before the first tick.

Traits§

BevyGame
A game’s Bevy simulation construction and presentation hooks.