Skip to content

Health Ecs Component - #3562

Draft
Crepestrom wants to merge 2 commits into
PixelGuys:masterfrom
Crepestrom:Health-Esc
Draft

Health Ecs Component#3562
Crepestrom wants to merge 2 commits into
PixelGuys:masterfrom
Crepestrom:Health-Esc

Conversation

@Crepestrom

@Crepestrom Crepestrom commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Healthbar Ecs component
a component storing
max health
health

Also adds a method for the client to send arbritary binary data to the server and vice versa to be interpreted by components

Next to implement:
proper death
death messages

@IntegratedQuantum

Copy link
Copy Markdown
Member

please don't bypass the sync system, component updates should be synced properly.

@Crepestrom

Copy link
Copy Markdown
Contributor Author

should i also remove transmit change?
its a legacy function that overwrites the clients copy of the component with the servers when (currently only used by model)
the modifyComponent function can do all the same functionality

@Crepestrom

Copy link
Copy Markdown
Contributor Author

Removing it will also remove the entity component update protocall and move it over to sync

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants