amethyst / amethyst/specs

FAQ for common scenarios

Ouverte
#623 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
feature-request
Langage dominant
Rust
Étoiles
2.6k
Forks
215
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Just having a bit of trouble understanding the API... the tutorial and cargo docs are great but I feel I need to do a bit of head-scratching to figure out some things like this:

* how to get all entities that have a certain component?
* how to get all entities that do not have a certain component?
* how to get a specific component from an entity?
* can I have multiple dispatchers (e.g. to run at different frequencies)?
* if I'm not using parallel, should I use dispatchers anyway if I have multiple systems?
* can entities have multiple instances of the same component (like two Transforms) ?

Maybe there can be a FAQ style page in the docs that asks and answers these (and more)...

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.