pygame_examples
A repository for short pygame drafts, examples, tutorials and more! (by rbaltrusch)
gamma
A simple ECS game engine for Python, built on Pygame, with an emphasis on ease of use. (by rik-cross)
pygame_examples | gamma | |
---|---|---|
6 | 10 | |
23 | 32 | |
- | - | |
5.6 | 2.2 | |
5 months ago | 9 months ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
pygame_examples
Posts with mentions or reviews of pygame_examples.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Cloth simulation with custom physics (source in comments)
Feel free to try out the project - as always the code is fully available here.
-
Asynchronous event handling example
As always, the full source code for the mentioned event handling technique can be found here.
-
Evolution simulation (explanation and source in comments)
As always, the code is open source and available here
-
Played around with some light particles (source in comments)
A little while ago, I already wrote a little light source experiment (code here), and while that worked fairly well, I wanted something a little more sophisticated (both in looks and functions), so I decided to try out a simulated particle based approach. It turned out to look like a fairly standard particle effect, with some glow around the particle (plus collisions with the screen boundary), which is not completely what I wanted, but I am happy with it anyway (plus it ended up being fun to mess around with it, as I do here in the video).
-
Made an in-game command console
The source code is available here. The console uses a standard argument parser from the python standard library module argparse. When a command is entered, the argument parser parses the results and pumps an event out to the event queue. Any functions with subscribed to this event then get called.
-
Pygame music visualisation
This is just a short draft based on some particle system code. I might flesh it out a bit more by adding more live-performance elements, or may automate the performance bit by integrating it with some music-analysis code.
gamma
Posts with mentions or reviews of gamma.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-07.
- entity component example using pygame?
- How do RPG manage scenes?
- Gamma ECS Game Engine
-
Gamma engine - 'Collect the Coins' tutorial
Gamma ECS engine repository
-
Extending the pygame framework
I've been having a go at creating a framework called Gamma, but it's in very early development and focused on an ECS model for game development which I know is maybe a little niche.
- Inventory System
- Text Input UI
-
Gamma - Pygame ECS Engine
The engine can be found at https://github.com/rik-cross/gamma. The repository includes an 'examples' folder, showing how to use most of the above features.
What are some alternatives?
When comparing pygame_examples and gamma you can also consider the following projects:
pygbag - python and pygame wasm for everyone ( packager + test server + simulator )
example-fine-grained-authorization - Leverage actions, custom metadata, and claims for attribute-based access control
ecs_pattern - ECS pattern (Entity Component System) for creating games on python
snecs - A straightforward, nimble ECS for Python
brokentorus
HeartbeatEngine - A Visual Novel / Dating Sim game engine written in Python using Pygame, with a full editor written in PyQt5
openage - Free (as in freedom) open source clone of the Age of Empires II engine :rocket: