About ecs

Are user operation events also put into entity components in ecs architecture? And zay-es has no system. where can I find the learning materials or codes of ecs architecture design?

You can find some here:

But basically Zay-ES is just an implementation of the ECS concept. So probably a lot of the general ECS stuff also applies to it.

If an entity system requires that you implement some System interface to work then you can already know that their design is a bit broken.

Your code is the “system”. The ECS manages the entity and the components. Any code that uses those entities is a “system”.

In addition to the documentation that was already linked above, there are some examples.

A simple asteroids game that uses an ECS:

A real-time networked example that uses an ECS:

1 Like