Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an ECS #1

Closed
Tracked by #3
rosalogia opened this issue Dec 18, 2021 · 0 comments
Closed
Tracked by #3

Use an ECS #1

rosalogia opened this issue Dec 18, 2021 · 0 comments

Comments

@rosalogia
Copy link
Owner

It's becoming increasingly difficult to manage the moving parts of the project without a way to conveniently say "well, all these things move in one of four directions so share this code between them, and all these things have health and take damage so share that code between them, ..."

A good solution to this problem is introducing an Entity-Component-System library, some good choices may be Legion or Specs. Legion is more up to date than Specs, but Specs is slightly more documented (in that there is a Specs book). Alternatively, we could roll our own, but we should figure out whether there's any real benefit to that before we decide to do so.

This was referenced Dec 18, 2021
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

No branches or pull requests

1 participant