acinis

Results 3 comments of acinis

Hi, _(Sorry if PRs without prior issue are not welcome here.)_ This PR adds phases to world processing feature. It allows to define custom flags via enum.IntFlag, and choose which...

```python # Example: Fixed update time step but with variable rendering class Phase(enum.IntFlag): PHYSICS = enum.auto() RENDERING = enum.auto() # TIME_PER_UPDATE is our fixed delta time TIME_PER_UPDATE = 16 #...

Well, I think it's not like contexts. From https://github.com/benmoran56/esper/blob/esper3/esper/__init__.py > Each World is a dedicated context, and does not share Entities, Components, etc. Phases *will* share everything, it's just a...