2023-11-26 06:10:07 +00:00
# Lyra ECS
An ECS for the Lyra game engine.
## Why does it exist?
I couldn't find anything that fulfilled my needs, specifically an ECS that can store arbitrary components without knowing about the types. This makes it easier to implement into a scripting engine that has the ability to create its own components.
## Features
- [ ] Archetypes
- [x] Spawning entities
2023-11-27 02:05:35 +00:00
- [x] Despawning entities
- [x] Delete entities from archetypes
- [x] Find some way to fill in the gaps in component columns after entities are deleted
* This was done by moving the last entity in the column to the gap that was just removed.
- [x] Grow archetype as it fills up
- [ ] Borrow safety of components inside Archetypes
* Its wonk right now; a component can be borrowed mutably from a non-mutable reference.
2023-11-26 06:10:07 +00:00
- [ ] Querying components from archetypes
- [x] Views
- [ ] Mutable views
- [ ] Resources
- [ ] Relationships (maybe this can be done through queries, idk)
- [ ] Dynamic queries
* Needed for scripting engines that can create their own components that Rust does not know the types of.
- [ ] Systems
- [ ] Dispatchers/Executors
2023-11-27 02:05:35 +00:00
< br >
2023-11-26 06:10:07 +00:00
To be honest, the name may change at some point