esper
esper copied to clipboard
An ECS (Entity Component System) for Python
Hello, i use esper for my roguelike game. I save entities in a sqlite database where i also save the entity id to have a relation between entities and the...
issue #71
Thanks for the nice library! As mentioned earlier, `get_components` has some type annotation issues. *First*, the `lru_cache` swallows the type annotation, see https://github.com/benmoran56/esper/issues/59. Let's assume the decorator is fixed/removed. *Second*,...
Readme: Readme needs rewritting and rewording. Multi-stage process and other parts of this issue are completed. Docstrings: Docstrings need to be reworded, rewritten, reformated, and in some cases, added. Might...
Hello, I need to create relationships between my entities in my project. I have read this thread (https://github.com/benmoran56/esper/pull/62) and I would like to propose a way to build them using...
- imports: Union and IntFlag - Processor.phases instance variable: allows IntFlag and bare int for default ~0 - World.add_processor method: new optional arg _phases - World._process method: new arg _phases...
**Describe the bug** When attempting to initialize a new world object using world = esper.World(), an AttributeError is raised indicating that the esper module has no attribute World. **To Reproduce**...
**Describe the addition or change you'd like to see.** Often we need to work on array of data (positions, quaternions, etc). It would be great to have a standard way...
**Describe the bug** Calling `remove_handler` does not remove a previously registered handler. **To Reproduce** Steps to reproduce the behavior, or sample code that shows the bug. ``` def test_remove_handler(): import...
I noticed v3.4 is released on PyPI but there is no corresponding tag. (I'm not concerned about GitHub releases, only the git tag)