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.
P#88957 2021-03-14 11:38 ( Edited 2022-04-19 01:50)

1

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!
P#110440 2022-04-19 01:52
[Please log in to post a comment]