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.
It is easy to obtain a point of overlap between sprites/masks, but obtaining e.g. the right-most point of overlap specifically can be quite challanging. By default with pygame, as I...
As I said on discord, `pygame.display.get_desktop_sizes` exist but doesn't take in consideration the taskbar or any other OS reserved space. The SDL function for it exists, so it makes sense...
Some parts of the docs had smaller errors. Some parts were basically lying. Big methods and the constructor where very convoluted throwing information randomly. I didn't change everything, but rephrased...
Fix #3412 When using NaN as argument, skip the drawing (of that part of function)
**Environment:** ``` pygame-ce 2.5.5 (SDL 2.32.6, Python 3.13.1) Platform: Linux-6.1.0-38-amd64-x86_64-with-glibc2.36 System: Linux System Version: #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) Processor: SSE2: Yes AVX2: Yes NEON: No Architecture: Bits: 64bit...
I'm doing a thing, this version of the pull supersedes #3475
- display index compat code - fullscreen compat code unified - syncwindow calls so that changes take immediate affect like sdl2
This is a draft mega PR where I will test all my SDL3 related runtime fixes in integration. Once this PR is done from my side, I will break this...
- A few abstractions were improved. `PG_ConvertSurface` now takes a surface as its second argument so it can copy the palette from it, to compat for the SDL2 path already...