exp-ecs
exp-ecs copied to clipboard
Experimental macro-powered Entity-Component-System game engine
```haxe class TurretTarget extends Component { var target:Entity; @:of(target) var position:Position; } ``` Macro will transform `position` into `var(default, null)` and generate setters for `target` to populate `position`. I think...
Reproducible: Main.hx ```haxe package; import haxe.Timer; import exp.ecs.Engine; class Main { static function main() { var engine = new Engine(); engine.systems.add(new MovementSystem()); // run the engine new Timer(16).run = function()...
Hi, did you run any benchmarks against [ECX](https://github.com/eliasku/ecx) or [Edge (specifically this branch)](https://github.com/fponticelli/edge/tree/kedge)?