bitECS icon indicating copy to clipboard operation
bitECS copied to clipboard

Component sizes, multiple worlds

Open n3vrax opened this issue 2 years ago • 1 comments

I plan to build sort of an engine on top of this. The main concept is the idea of Scenes, which I decided to represent IWorld on their own. I'm having some difficulties settings world sizes and component store sizes the same, especially if components are defined in a separate package. These leads me wondering if is bitECS actually meant to be used this way, and what would be the best approach in setting up multiple worlds and components to be reused across those. Still a bit confused about how component data is stored per world context.

Any suggestions would be greatly appreciated. Thanks!

n3vrax avatar Dec 01 '23 10:12 n3vrax

Could resizeComponents be exported at least, so that we can adjust the sizes later on(after engine initialization)?

n3vrax avatar Dec 21 '23 13:12 n3vrax