ECS implementation design #7
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Discussion
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Platform
All
Platform
Android
Platform
IOS
Platform
Linux
Platform
MacOS
Platform
Mobile
Platform
UNIX
Platform
Web
Platform
Windows
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Testing
Not needed
Testing
Required
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: nonsensical-dev/zenyx-engine#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We need to discuss how to layout the ECS and before implementing it.
I would opt for storing components independently of systems as described by the EnTT author1 and then transition into the grouping sorting as described in the same blog post.
We would have to have some kind of structure that keeps sparse sets of components around as well as stores entity Id, trigger events for systems, and handles parallelisation.
What are your thoughts on this?
https://skypjack.github.io/2019-03-07-ecs-baf-part-2/#independent-sparse-sets ↩︎
@bitsyndicate wrote in #7 (comment):
tl;dr looks good just make sure that the nuances are sorted out.
I'm inclined to agree as systems and components serve independent purposes. Systems provide a method by which to interact with components and modify them according to external inputs and inter-system interactions. On the other hand, components store information related to one or more entities through sparse sets.
I think the bigger question is how should systems, hooks, and inter and intra-system interactions be handled? The way systems function and interact is paramount to the utilization of components later on and becomes a question of flexibility.