Introducing PECS (PICO-8 Entity Component System)
✅ Small API
🏃♀️ Efficient even with lots of Entities
😀 Fun to say
🎈 Has a "lite" version for the token-conscious
Based on the fantastic Tiny ECS Framework by @KatrinaKitten 🙏
Full code & docs on GitHub: github.com/jesstelford/pecs
Here's a demo cart showing off some Particle Emitters using PECS v2.0.0:
Update 20210316: I have added a Camera Follow/Window example also:
Update 20220419: Released version 2.0.0 with renamed API methods.
![](/gfx/set_like0.png)
1
![](/gfx/top_drop.png)
![](/bimg/pi/pi28.png)
Version 2.0.0 has been released! Thanks to @josiebreck, this version is friendlier to use in he PICO-8 code editor (no capitals, single word API), and it saves another 9 tokens!
[Please log in to post a comment]