pygbag
empack
pygbag | empack | |
---|---|---|
6 | 1 | |
271 | 16 | |
3.0% | - | |
9.1 | 7.0 | |
5 days ago | 11 days 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.
empack
-
Show HN: Classic FPS Wolfenstein 3D brought in the browser via Emscripten
emscripten-forge builds a ~condaenv of recipes with empack; like conda-forge: https://github.com/emscripten-forge/empack
There's not yet an SDL recipe yet:
What are some alternatives?
gamma - A simple ECS game engine for Python, built on Pygame, with an emphasis on ease of use.
wasmtime-py - Python WebAssembly runtime powered by Wasmtime
pygame_examples - A repository for short pygame drafts, examples, tutorials and more!
wolf4sdl - Emscripten-Port of Wolfenstein 3D and Spear of Destiny
youre-the-os - A game where you are a computer's OS and you have to manage processes, memory and I/O events.
bansoko - Space-themed :rocket: Soko-Ban :video_game: clone created in Python using Pyxel.
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
archives - archived prebuilts
archives - My cloud storage