ChiraEngine icon indicating copy to clipboard operation
ChiraEngine copied to clipboard

Serialize Entity Trees to/from JSON

Open craftablescience opened this issue 3 years ago • 0 comments

Component to Improve

Core Engine

Describe Your Suggestion

reflect/Props.h has a rudimentary reflection system.

  • [ ] Should we be using a proper library like RTTR instead? This would help with scripting too
  • [x] ~~The current system doesn't work with inheritance, this is a critical flaw~~ Fixed, works with single inheritance
  • [ ] Entities should be recursively serialized and saved to a scene JSON file
  • [ ] Scene files can be loaded to restore the scene

craftablescience avatar Aug 13 '22 14:08 craftablescience