Log In  

I've been writing an archetype-based ecs (entity-component-system) library for picotron and i put it up on github!


It keeps component values in picotron userdata so that for simple cases like velocity / acceleration, you can use userdata operations to make it very fast! As a result it is probably slightly harder to use than the other ecs libraries available for picotron right now (which use tables to represent entities), but should allow some pretty good optimizations.

you can see the example from the readme running here:


and my plink cart also uses it, though it doesn't really need the optimization:


P#146986 2024-04-20 00:13

[Please log in to post a comment]