nitro icon indicating copy to clipboard operation
nitro copied to clipboard

Examples for AutoQuery and System run()

Open etcimon opened this issue 11 years ago • 2 comments

I started reading about ECS since I found nitro and I'd like to evaluate if it can simplify development for my vibe.d framework. Being a little new to entity component systems I'd have a few questions

  • Do you consider components having any methods or are they simply labels in this library?
  • Should the run() function be in an event loop? How can nitro fit into vibe.d?
  • What exactly goes into a system run() method? Would there be a simple example like a ball bouncing?
  • Do the entities replace delegates/event handlers? Is there a way to stop relying on event handlers and callbacks with them?
  • Are there a lot of concepts you suggest me to read about that aren't yet implemented but should be necessary?

etcimon avatar Feb 01 '14 01:02 etcimon

Nitro ist about a week from a stable release including speed improvements, restructuring and an extensive readme.

FIrst two good souces to learn about ECS:

  • http://www.richardlord.net/blog/what-is-an-entity-framework
  • http://t-machine.org/index.php/2007/09/03/entity-systems-are-the-future-of-mmog-development-part-1/

I suggest reading a little bit and waiting until I published the new readme, after that I'll answer all open questions.

PaulFreund avatar Feb 01 '14 14:02 PaulFreund

My framework has these collections: https://github.com/GlobecSys/w3Vibe/tree/master/w3v/system/collections

Do you recognize new "good practices" with ECS around these?

etcimon avatar Feb 01 '14 14:02 etcimon