pygame-ce
pygame-ce copied to clipboard
🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
I wanted to see what would happen if we generate coverage in our CI, so let's see what happens lol
Implements https://github.com/pygame-community/pygame-ce/issues/3049. Stubs, docs, tests included. I chose the non-verbose constant names following SDL.
This PR would potentially implement https://github.com/pygame-community/pygame-ce/issues/1682 As the title says, this PR adds the `typing` module to pygame. I've made some libraries myself and I often wanted to annotate properly...
- Deprecte `getResource()` Reasons: - `pkg_resources` lib is out dated. - Most of use cases in our c code only need the resource path. Why not return a path directly...
This PR tries to simplify and improve geometry docs a bit. **What I tried to achieve:** - Lessen word repetition - Remove obvious statements - Remove self references when describing...
In `get_surface`, a strong reference was being incref-ed before being returned (double incref issue) In `set_mode` there was a decref followed by an incref, which is technically wrong (I suppose...
Fixes #2961 @ankith26 figured out that it was an `int` overflow when multiplying `surf->pitch` by `y`
Continuing my SDL3 patch series. This takes a look at all "version getters" from SDL and satellite libraries in one go, since they've all consistently updated.
Make `Group.has()` return `True` instead of `False` when no sprites (empty list, no arguments, etc.) are given. Closes #2993 This is *potentially* a breaking change. Might not get approved. See...
A little while ago @ankith26 changed something to make pytest work better with out test suite. I like the output of pytest so I was trying it out today and,...