pygbag
youre-the-os
pygbag | youre-the-os | |
---|---|---|
6 | 2 | |
271 | 1,719 | |
3.0% | - | |
9.1 | 8.2 | |
5 days ago | 22 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
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.
youre-the-os
What are some alternatives?
gamma - A simple ECS game engine for Python, built on Pygame, with an emphasis on ease of use.
quiz - A simple TUI trivia game that uses the Open Trivia API.
pygame_examples - A repository for short pygame drafts, examples, tutorials and more!
poo-pygame - tutorial de pygame e oo
bansoko - Space-themed :rocket: Soko-Ban :video_game: clone created in Python using Pyxel.
PyGameExamplesAndAnswers - Summary of answers to pygame questions posted on stack overflow
Hilbert-Curve-space-filling-with-pygame - Hilbert Curve Fractal with pygame (python)
pygame-projects - This repository includes my PyGame projects, ranging from Button Demo, Aerial Evader, and Py-Man, whose respective data structures and algorithms have varying time complexities between linear, O(n), and constant, O(1) times, respectively. It is subject to periodic updates.
HeartbeatEngine - A Visual Novel / Dating Sim game engine written in Python using Pygame, with a full editor written in PyQt5
pyrasterize - A software 3d rasterizer for pygame (no other dependencies, e.g. numpy)
archives - archived prebuilts
Pydash - Python implementation of Geometry dash, a rhythm based platformer game, using Pygame, an interactive graphics library for python