pygame_examples
A repository for short pygame drafts, examples, tutorials and more! (by rbaltrusch)
example-fine-grained-authorization
Leverage actions, custom metadata, and claims for attribute-based access control (by zitadel)
pygame_examples | example-fine-grained-authorization | |
---|---|---|
6 | 1 | |
23 | 3 | |
- | - | |
5.6 | 6.8 | |
5 months ago | 11 months ago | |
Python | Python | |
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.
example-fine-grained-authorization
Posts with mentions or reviews of example-fine-grained-authorization.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Securing an API with Fine-Grained Authorization
Source code: https://github.com/zitadel/example-fine-grained-authorization
What are some alternatives?
When comparing pygame_examples and example-fine-grained-authorization you can also consider the following projects:
pygbag - python and pygame wasm for everyone ( packager + test server + simulator )
gamma - A simple ECS game engine for Python, built on Pygame, with an emphasis on ease of use.