Moonwards-Virtual-Moon icon indicating copy to clipboard operation
Moonwards-Virtual-Moon copied to clipboard

Create a system for managing entity components & modifying them at runtime

Open Reousa opened this issue 4 years ago • 1 comments

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

Reousa avatar Apr 19 '20 19:04 Reousa

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.

Reousa avatar May 19 '20 07:05 Reousa