Skip to content

The great detanglement: switching from u32 to to main.entity.Entity for entityIds #2878

Closed

Description

@tillpp

For this player.id must be split between the players actual playerIndex and their entityId.

And we have to rework how things like health is transmitted:
If we move health to its own component, do we want to remove it from the sync code?
over the entityComponent protocol instead
(and energy and stuff)

Activity

  1. changed the title [-]switching from u32 to to main.entity.Entity[/-] [+]switching from u32 to to main.entity.Entity for entityIds[/+] on Apr 11, 2026
  2. changed the title [-]switching from u32 to to main.entity.Entity for entityIds[/-] [+]The great detanglement: switching from u32 to to main.entity.Entity for entityIds[/+] on Apr 11, 2026
  3. IntegratedQuantum commented on Apr 11, 2026

    @IntegratedQuantum
    Member

    If we move health to its own component, do we want to remove it from the sync code?

    Yes, but components need to be properly synced (and client-side predicted), so you will likely need to put them through the sync system in some way (at least for the player's own components)

  4. IntegratedQuantum commented on Sep 3, 2026

    @IntegratedQuantum
    Member

    fixed in #3193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions