4 ms·
Not sure about bevy specifically, but I know the rapier physics engine (which integrates with bevy) can serialize all of the physics state. Plus, in Rust, if y
by vlmutolo 6y ago
Not sure about bevy specifically, but I know the rapier physics engine (which integrates with bevy) can serialize all of the physics state.
Plus, in Rust, if you mark types as Serialize you can serialize nearly anything you want. And it seems like Bevy makes full use of the powerful Rust type system.
So I’d guess “yes, you can probably easily serialize the game state in most cases”.
- reitzensteinm 6y agoTo do edit and continue with it you're really going to want full serialization, so if you eg model events as a closure instead of plain data, you're toast (coming from an outsider's perspective). If the base engine supplies you with full serialization support for the inbuilt features and a list of rules to follow to maintain it, you're golden.