recatek / gecs

a generated entity component system 🦎

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example of a simulation using this?

jkelleyrtp opened this issue · comments

Love the crate.

ECS for simulations on a budget

Do you have a simple simulation example to guide the best structure for a new project?

Good question! The docs for the ecs_world!, ecs_find!, and ecs_iter! macros show the basic setup and query structure for an ECS world, and discuss some of the strengths and limitations. That said, I don't have a more real-world example scenario or anything like that at the moment. It would be a good thing for me to work on going forward though. Currently I'm using this for a personal game project, but that isn't open source for now.