I just wrote an article about implementing a basic AI in #eco2d.
It features basic hunger needs, #flecs, and other goodies!
https://blog.zakto.pw/articles/ce1856a/eco2d-creature-life-simulation
I just wrote an article about implementing a basic AI in #eco2d.
It features basic hunger needs, #flecs, and other goodies!
https://blog.zakto.pw/articles/ce1856a/eco2d-creature-life-simulation
In this article, I forgot to explain why we make an item entity spawner out of
ASSET_CREATURE
.Initially, I aimed to showcase how I spawn creatures by placing them (akin to Minecraft spawn eggs, I suppose?), but I changed my mind later and used debug code to generate 1000 entities at random places.
I'd also love to cover the asset database system more next time.