Moonwards-Virtual-Moon
Moonwards-Virtual-Moon copied to clipboard
Create a system for managing entity components & modifying them at runtime
Given Moonwards will have persistent worlds, we'll need a way to set player components from persisted data of previous sessions.
The requirement is that we gain the ability to mix and match different compatible components on a per entity basis, have the ability to do so at run-time, and be able to (de)serialize this into meaningful data that can be persisted.
This also links into NPCs and the ability to generate them based on pre-made configs.
- [ ] Research
Possibly have a pool of components available at runtime, and a manager to handle it & add to entities from it, using component names or IDs.