Comments (2)
Wouldn't you need to provide a way for Flecs to be able to serialize the struct? Now I'm not familiar with C++ nor have I used this feature myself, but I believe you use Flecs' meta addon to achieve this. There are some examples of how to do it as well.
from flecs.
Thanks! looks like this was the case, I assumed ecs_world_to_json is a out of box solution for primitives but it wasn't
from flecs.
Related Issues (20)
- runtime component c++ example bug maybe HOT 1
- ecs_struct gives error: xxx matches with actual type but alignment is different HOT 3
- ecs_get_mut will creates a new instance of shared component HOT 1
- component's type_entity is over 1<<32, and system will crash. HOT 1
- _::type_name<T>() is not thread-safe, that will cause memory error! HOT 1
- Child don't destroy when parent destroy. (child has a other relations(<256) with parent) HOT 1
- flecs compiled in windows debug mode crashes on world init HOT 2
- Consistency issues in multi-world applications due to global static variables, additional issues when multi-threaded HOT 15
- Various errors with flecs module registration when linked into a shared library in windows HOT 3
- Exclusive relationship in a prefab that's marked as an override is not overridden if the entity already has the relationship added HOT 4
- ecs_entity_init with empty separator fails when entity with that name already exists HOT 1
- Fatal errors when trying to integrate into Emscripten project HOT 3
- Bug: add enum to entity with existing components causes component data to change HOT 1
- Excessive Entities Registered During Enum Constant Registration on MSVC Compiler HOT 6
- Infinite recursion when adding component with cyclic `With` relationship HOT 1
- Query DSL - ECS_SYSTEM : [out] pair in empty entity with Sync Point HOT 1
- Emscripten to JS library? HOT 2
- The strings.flecs example shows error in the explorer HOT 1
- Abnormal CPU rise when observer HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flecs.