pygamelib
A (not so) small python library for console (as in terminal) game development. It is developed as a framework to help learn development and python in an entertaining way. (by pygamelib)
pygame_examples
A repository for short pygame drafts, examples, tutorials and more! (by rbaltrusch)
pygamelib | pygame_examples | |
---|---|---|
1 | 6 | |
58 | 23 | |
- | - | |
7.7 | 5.6 | |
2 days ago | 5 months ago | |
Python | Python | |
GNU General Public License v3.0 only | 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.
pygamelib
Posts with mentions or reviews of pygamelib.
We have used some of these posts to build our list of alternatives
and similar projects.
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.
What are some alternatives?
When comparing pygamelib and pygame_examples you can also consider the following projects:
evennia - Python MUD/MUX/MUSH/MU* development system
pygbag - python and pygame wasm for everyone ( packager + test server + simulator )
python-bootcamp - Learn to code python in just 6 months
gamma - A simple ECS game engine for Python, built on Pygame, with an emphasis on ease of use.
example-fine-grained-authorization - Leverage actions, custom metadata, and claims for attribute-based access control