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.
This PR should add the feature requested in #3019 I added the `project()` method to the `pygame.geometry.Line` object I added the docs and test for the method
Big pygame refactor
Running `pygame.tests.surface_test` under AddressSanitizer reports an illegal overlapping `memcpy()` in `scroll_default()` which was introduced in #2855. It seems like some of the new `memcpy()` invocations introduced there need to be...
Atm, surflock is empty module, without any function, also without documentation. However, it is needed for Surface. This PR removes the module, and moves the functionality to the surface. Python...
Since Python 3.13 PyModule_AddObject() is [soft deprecated](https://docs.python.org/3.14/c-api/module.html#c.PyModule_AddObject). This PR replaces it with newer function, PyModule_AddObjectRef(). It was changed following the way adviced in [the official documentation](https://docs.python.org/3.14/extending/newtypes_tutorial.html#the-basics) between versions 3.9 3.14...
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.23.2 to 2.23.3. Release notes Sourced from pypa/cibuildwheel's releases. v2.23.3 🛠 Dependency updates, including Python 3.13.3 (#2371) Changelog Sourced from pypa/cibuildwheel's changelog. v2.23.3 26 April 2025 🛠...
Everything is in the title. In my opinion we should either add a kwargs ``global_alpha`` to the method or make the function count the global alpha set on the surface.
Investigate a way to monitor timers from pump() instead of sdl thread (they rely on emscripten/setTimeout : not acceptable ) and send events in queue That way could work both...
**Environment:** ``` pygame-ce 2.5.1 (SDL 2.30.6, Python 3.12.5) Platform: Linux-6.10.8-arch1-1-x86_64-with-glibc2.40 System: Linux System Version: #1 SMP PREEMPT_DYNAMIC Wed, 04 Sep 2024 15:16:37 +0000 Processor: SSE2: Yes AVX2: Yes NEON: No...
ref: https://pyga.me/docs/ref/mixer.html What should this say? : _"The Sound object represents actual sound sample data. Methods that change the state of the Sound object **will the all** instances of the...