Skip to content

Add default fields for all entities in extractor#571

Closed
SelfMadeSystem wants to merge 12 commits intovalence-rs:mainfrom
SelfMadeSystem:fix-extractor
Closed

Add default fields for all entities in extractor#571
SelfMadeSystem wants to merge 12 commits intovalence-rs:mainfrom
SelfMadeSystem:fix-extractor

Conversation

@SelfMadeSystem
Copy link
Contributor

@SelfMadeSystem SelfMadeSystem commented Oct 19, 2023

Objective

Solution

  • Get the defaults of every entity and use them
  • Remove defaults for individual fields
  • Sort everything by id

@SelfMadeSystem

This comment was marked as outdated.

@SelfMadeSystem
Copy link
Contributor Author

perhaps not as crazy as I initially thought

@SelfMadeSystem SelfMadeSystem marked this pull request as draft October 21, 2023 01:54
@SelfMadeSystem SelfMadeSystem marked this pull request as ready for review October 21, 2023 16:08
Copy link
Member

@rj00a rj00a left a comment

Choose a reason for hiding this comment

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

Nice work!

I suspect bevy is not going to be happy about the huge number of systems being scheduled now. Each system has some constant overhead, especially with the multithreaded executor. You could try merging the systems together, but this is one problem I'm trying to address with my new ECS library.

@SelfMadeSystem SelfMadeSystem marked this pull request as draft October 24, 2023 17:28
@SelfMadeSystem SelfMadeSystem marked this pull request as ready for review October 25, 2023 19:16
@SelfMadeSystem SelfMadeSystem requested a review from rj00a October 25, 2023 19:16
rj00a added a commit that referenced this pull request Feb 16, 2024
Fixed some bugs and added proper default values for fields. Partially
adapted from #571.

Co-authored-by: SelfMadeSystem <sms@shoghisimon.cc>
@SelfMadeSystem SelfMadeSystem closed this by deleting the head repository Feb 17, 2025
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