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.
fixes #2780
I added the functions in the title + stubs, tests and docs. I also added 2 function to the C API and I documented them. I looked at the same...
I tried to fix issue https://github.com/pygame-community/pygame-ce/issues/2849 and I tested locally that surfaces with either width == 0 or height == 0 won't raise a misleading error message. I also moved...
This PR adds the Circle.contains() method for checking when a shape (Rect/Frect/Circle for now) or point falls completely inside the circle. I have also made a ltl program to test...
**Description** I propose adding three new methods to either the Surface class or the transform module (names aren't final since this is just a functionality suggestion): - [ ] `Surface.set_hue()`...
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.17.0 to 2.18.0. Release notes Sourced from pypa/cibuildwheel's releases. v2.18.0 ✨ Adds CPython 3.13 support, under the prerelease flag CIBW_PRERELEASE_PYTHONS. This version of cibuildwheel uses 3.13.0b1. Free-threading...
**Environment:** - **Operating system** Windows 7 - **Python version** 3.9.2 - **SDL version** 2.28.5 - **pygame-ce version** 2.4.1 - **Relevant hardware** N/A **Current behavior:** When a 0-by-0 surface is passed...
Issues: https://github.com/pygame-community/pygame-ce/issues/2719 Branch removed: #2720 @Starbuck5 **I made the missing adjustments. In any case, I am at your disposal for further adjustments.**
### This pull request resolves the enhancement issue #1527 (previously #3011) about implementing the border radius for pygame.draw.polygon # Overview - Added a new parameter _border_radius_ to the **_pygame.draw.polygon_** function...
### Optimizing Multi Image Blitting In a typical blit sequence, we often need to draw the same surface at multiple positions. The current approach is: ```Py screen.fblits([ (surf, pos1), (surf,...