ecs_pattern
snecs
ecs_pattern | snecs | |
---|---|---|
3 | 2 | |
28 | 15 | |
- | - | |
7.8 | 0.0 | |
10 days ago | almost 2 years ago | |
Python | Python | |
Apache License 2.0 | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ecs_pattern
-
ECS in practice with python lib - ecs_pattern
A year ago I published the ecs_pattern library - an implementation of the ECS pattern. Since that time I used ecs_pattern in practice - I wrote a game for android.
-
ECS pattern for creating games on python
And I used it to create an example: the Pong game. The game uses pygame and my ecs_pattern library. https://github.com/ikvk/ecs_pattern/tree/master/examples/pong
I wrote my own implementation of the ECS pattern: https://github.com/ikvk/ecs_pattern https://pypi.org/project/ecs-pattern/
snecs
-
Sharing Saturday #443
I tried to use Snecs but its type-hinting was not robust enough for VSCode's Pylance. I had to throw it out and make my own simplified version of ECS. I can add single arbitrary components to entity objects but I don't have a global registry for them. Which is too bad since the global registry is a useful and important part of ECS.
-
Sharing Saturday #382
I've been closely looking at the Python ECS libraries Snecs and Esper. I was hoping I could use one of them to fix the Python tutorial without making the tutorial about writing an entity-component engine. What I actually want would be a Python ECS library with NumPy for static types, but a library I did find for that didn't have a good enough license for a tutorial. For now I'll be okay with dynamic types just so I can fix my current problems, and I'll think about performance some other time.
What are some alternatives?
Galaxy-Attack - An inspiration of the original Atari Space Invaders game built in pygame :space_invader: :video_game:
esper - An ECS (Entity Component System) for Python
gamma - A simple ECS game engine for Python, built on Pygame, with an emphasis on ease of use.
Summoing Pixel Dungeon - The expansion for Shattered Pixel Dungeon
turbobus - TurboBus is an opinionated implementation of Command Responsibility Segregation pattern in python.
Dead-End - This is a zombie survival game where you must make the best choices and decisions possible in order to live. As a survivor, you will encounter zombies, weapons, people, and a merchant to buy from with an in-game currency. Every decision you make has a cause and effect while some lead you to fortune and others lead you to death.
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala