Repository navigation
ECS Part 3 | Entity loads/unloads components - #2674
Merged
IntegratedQuantum merged 25 commits intoApr 4, 2026
Merged
Conversation
tillpp
force-pushed
the
ECS_ServerEntityLoadsComponents
branch
from
March 11, 2026 18:32
f397bbb to
dde1d0d
Compare
Contributor
Author
|
Rebasing is actually doable (no raytracing) |
tillpp
commented
Mar 11, 2026
tillpp
left a comment
Contributor
Author
There was a problem hiding this comment.
change this please.
IntegratedQuantum
requested changes
Mar 11, 2026
Contributor
Author
|
Take your time reviewing it, |
tillpp
commented
Apr 4, 2026
| @@ -1 +1 @@ | |||
| pub const _template = @import("_template.zig"); | |||
| pub const @"cubyz:_template" = @import("_template.zig"); | |||
Contributor
Author
There was a problem hiding this comment.
Mods might add their own entityComponents here
IntegratedQuantum
requested changes
Apr 4, 2026
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
IntegratedQuantum
requested changes
Apr 4, 2026
IntegratedQuantum
requested changes
Apr 4, 2026
IntegratedQuantum
approved these changes
Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third step of splittig up the 3000 lines big PR: #2652
(depends on Part 2)
Entity loads/unloads components
Base64 Class and functionality that is
going to be used in the next partsis being used in this partcreated the beginning of an audience system,
depending on who you are, you get different information send.
.Disk = all information
.playerHimself = everything the player should now about themself (like energy and health)
.playerNearby = information for players in proximity ( like position )
.playerFaraway = less information: (no information about position, but name and playerIndex)
Note: those examples are not implemented in this PR, they only serve as a demostration what could be doing in the future. Only send limit information about enitites #2670
Each Component has an ID, just like the protocolIDs, but unlike protocolIDs ComponentIDs get stored, so to ensure compability with mods that add their own components or removing or adding components, the entityComponentPalette is introduced.