esper
Eggster
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.
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.
Eggster
-
what is the best way to learn pygame from 0?
Also the changes I made were rather simplistic and the below repo was for a game I made for a game jam, but basically I simply abstracted the rendering logic under a single function such that I could swap it out easily if necessary, the group and entity stuff is also very simple, but it was enough for what I was making anyways. Probably could have even used pygame.sprite and subclassed Group for this tiny change, but as I mentioned, I just feel a bit more comfortable with writing my own implementation of sprite systems in my own games. https://github.com/Matiiss/Eggster
What are some alternatives?
snecs - A straightforward, nimble ECS for Python
ParticleOverdose - Stylish Slasher: Speed Run Edition, An RGB Action Platformer made with pygame-ce
pyglet - pyglet is a cross-platform windowing and multimedia library for Python, for developing games and other visually rich applications.
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.
Chess - A simple chess game made with Pygame
Summoing Pixel Dungeon - The expansion for Shattered Pixel Dungeon
EuroRogue - ASCII Roguelike with Euro Strategy Board Game Influences
ecs-faq - Frequently asked questions about Entity Component Systems
python-tcod-ecs - Python sparse-set ECS with strong type-hinting. Supports entitiy relations.
raylib-py - A Python binding for the great C library raylib.