ecx
ecx copied to clipboard
ECX is Entity Component System framework for Haxe
There may be a more elegant solution but this fixes the Null should be String error I had when trying to compile to swf the Asteroids example eliasku provided in...
This happens occasionally depending on what frameworks you're working with. It is definitely related to this library, and could be related to macro changes in haxe 4. Currently running haxe...
Hi All, What targets you use with `ecx` or `hotmem`? What game Frameworks? Please share! I plan reduce supported targets implementations and tests. For example maybe it's time to drop...
Minimal reproduction: ```haxe package; import ecx.common.EcxCommon; import ecx.WorldConfig; import ecx.World; import ecx.Entity; import ecx.Engine; class Main { private var _world:World; public static function main() { new Main(); } public function...
It seems that when doing `world.invalidate` nothing gets updated immediately, I have to manually add `_component.has(entity)` checks in systems to make sure component was removed. Any ideas how to circumvent...
I recently stumbled upon the following, when i defined a `Family` in a `Service` by accident (should have been a `System`), the field was never was initialized and accessing it...
Literally 😅 I'm not sure what's involved to properly clean up a world to issue a PR.
Trying something out "funky", to avoid using an object/class wrapper to hold primitive data, but store data entirely as a non-object-based data type in array if it only consist of...
Haxe 3.3 doesn't have this issue. Looks like type-completion is completely broken in Haxe 3.4. You have to use Haxe 3.3 for now. In Haxe 3.4, eg. `var gun =...
Also, how to add/remove Systems? Based on the architecture of ECX, i'd assume you have to set the system flags to use SystemFlags.IDLE or not, right? But how to do...