Skip to content

Lockstep support, or deterministic calculations. #1166

@Eragon-Brisingr

Description

@Eragon-Brisingr

Can Flecs support Lockstep network synchronization? I've noticed the use of some floating-point numbers in the systems, which is unacceptable for deterministic calculations.
The Lockstep scheme needs to synchronize an initial world state to the client. Can Flecs serialize the state of the world into binary and then deserialize it on another end? What solutions can ensure that the deserialized result is consistent with the server's state, such as the order of components and the execution order of systems?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions