pygbag
gamma
pygbag | gamma | |
---|---|---|
6 | 10 | |
271 | 32 | |
3.0% | - | |
9.1 | 2.2 | |
5 days ago | 9 months ago | |
Python | Python | |
MIT License | 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.
pygbag
-
Playable Sandbox Now Available
Due to pygbag#16, the built-in function does not work correctly in the pygame-wasm environment. I noticed the patch to set_timer was buggy, so I made an improvement to the patch by handling other behaviors mentioned in the docs (e.g. disabling the timer and discarding an old timer for the same event).
-
Questions about pygame
Github for pygbag: https://github.com/pygame-web/pygbag
-
Getting a game using multiple libraries on a browser?
On pygbag, numpy(3.10) and pymunk(3.11) are supported but not on the same python version. for other packages have a look here https://github.com/pygame-web/archives/tree/main/repo/pkg and for missing ones make requrests here https://github.com/pygame-web/pygbag/issues/37 and possible add a use case to help with porting.
-
Running Pygame in the browser with Pygbag
if you need more modules just drop a note here https://github.com/pygame-web/pygbag/issues/37
-
How to host python game on website
Basically you can, recently a package that has also been added to `pygame/pygame-web` allows you to create all the necessary assets to be able to run a `pygame` game in a browser. The library is called `pygbag`: https://github.com/pygame-web/pygbag you can read about it there, it still is in a bit of an experimental stage so if you have questions, I'd suggest you joining the `pygame` discord server and ask questions in the `#pygame-web` channel. This is pretty exciting, you can see examples of this here: https://pmp-p.github.io/pygame-wasm/, these also have a console added and other stuff but it can be made to be a fullscreen thing too.
gamma
- 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?
pygame_examples - A repository for short pygame drafts, examples, tutorials and more!
ecs_pattern - ECS pattern (Entity Component System) for creating games on python
youre-the-os - A game where you are a computer's OS and you have to manage processes, memory and I/O events.
snecs - A straightforward, nimble ECS for Python
bansoko - Space-themed :rocket: Soko-Ban :video_game: clone created in Python using Pyxel.
brokentorus
Hilbert-Curve-space-filling-with-pygame - Hilbert Curve Fractal with pygame (python)
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:
archives - archived prebuilts