snecs
esper
Our great sponsors
snecs | esper | |
---|---|---|
2 | 7 | |
15 | 519 | |
- | - | |
0.0 | 7.5 | |
almost 2 years ago | 3 months ago | |
Python | Python | |
Mozilla Public License 2.0 | MIT License |
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.
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.
esper
-
RoguelikeDev Does The Complete Roguelike Tutorial Starting July 4th 2023
That's cool, I didn't realize you had implemented an ECS library for tcod. At first glance it seems a bit more featureful than esper. The tags and relations functionality seem particularly useful for queries. l'll consider using it for the tutorial.
- what is the best way to learn pygame from 0?
-
does an ECS system need unique identifier ( uuid ) ?
If you don't mind the broken type hinting then you could go with Esper.
-
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.
-
Trying to get the camera to track the player using esper.py in pygame. Getting a black screen instead.
I've been attempting to do this using an entity-component-system (specifically the Esper system). The difference being that I'm trying to explain my processors in separate documents first.
-
Small game I'm currently working on
Not much to see/to do yet. I just wanted to try Esper and LDtk.
What are some alternatives?
ecs_pattern - ECS pattern (Entity Component System) for creating games on python
pyglet - pyglet is a cross-platform windowing and multimedia library for Python, for developing games and other visually rich applications.
Summoing Pixel Dungeon - The expansion for Shattered Pixel Dungeon
Pygame - 🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
gamma - A simple ECS game engine for Python, built on Pygame, with an emphasis on ease of use.
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
Eggster - A game made for the Pygame Community Easter Jam 2023
steamsky - Mirror of a roguelike in sky with a steampunk setting
EuroRogue - ASCII Roguelike with Euro Strategy Board Game Influences
advent-of-code-2022 - Repo containing solutions for Advent of Code 2022
ecs-faq - Frequently asked questions about Entity Component Systems