Skip to content

ECS Part 8 | ModelComponent#2681

Merged
IntegratedQuantum merged 131 commits intoPixelGuys:masterfrom
tillpp:ECS_AddEntityModelComponent
Apr 26, 2026
Merged

ECS Part 8 | ModelComponent#2681
IntegratedQuantum merged 131 commits intoPixelGuys:masterfrom
tillpp:ECS_AddEntityModelComponent

Conversation

@tillpp
Copy link
Copy Markdown
Contributor

@tillpp tillpp commented Mar 6, 2026

Eights step of splittig up the 3000 lines big PR: #2652
(requires Part 7)

Adds the Entity components for models

Assigns you a random entityModel from {cubert,snale}, but you can't actually see it until ECS9
default player models can be edited in the world settings

Beginning of using main.entity.Entity instead of u32
#2878

tillpp and others added 23 commits March 6, 2026 10:35
Co-authored-by: careeoki <122191047+careeoki@users.noreply.github.com>
also renamed entity.zig -> clientEntity.zig to make it easier to distingues it from the already existing Entity.zig in server/
@tillpp tillpp changed the title ECS Part 8 | add entity component for models ECS Part 9 | add entity component for models Mar 6, 2026
Comment thread src/entity.zig Outdated
Comment thread src/entityComponent/_list.zig
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/server/server.zig Outdated
Comment thread src/server/world.zig Outdated
Comment thread src/server/world.zig Outdated
@IntegratedQuantum IntegratedQuantum moved this from High Priority to In review in PRs to review Apr 12, 2026
@tillpp tillpp force-pushed the ECS_AddEntityModelComponent branch from 55a7958 to fd70dc7 Compare April 13, 2026 14:07
Comment thread src/game.zig Outdated
Comment thread assets/cubyz/entityModels/cubert.zig.zon Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/entityComponent/model.zig Outdated
Comment thread src/server/server.zig Outdated
@IntegratedQuantum
Copy link
Copy Markdown
Member

Also please rebase to the new Zig version, so we don't get any accidental errors.

Copy link
Copy Markdown
Member

@IntegratedQuantum IntegratedQuantum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some small things, then we are good to go here.

Comment thread src/entityModel.zig Outdated
Comment thread src/entityModel.zig Outdated
Comment thread src/server/server.zig Outdated
Comment thread src/server/server.zig Outdated
Comment thread src/entityModel.zig Outdated
Comment thread src/entityModel.zig Outdated
@IntegratedQuantum IntegratedQuantum merged commit d8d75da into PixelGuys:master Apr 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants