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.
The short description of the two events doesn't give more information : WINDOWFOCUSGAINED Window gained focus WINDOWTAKEFOCUS Window was offered focus And the word TAKE give "was offered" ? What...
I wrote the following code. It works in my windows with python 3.11. It also worked when i use "python for android" to compile the android apk. But the apk...
On reading https://pyga.me/docs/ref/sprite.html#pygame.sprite.Sprite: > When subclassing the Sprite, be sure to call the base initializer before adding the Sprite to Groups. For example: I expected the immediately following example to...
Blitting with the CPU is expensive. While some workarounds exist to maintain optimal performance for certain visual effects, many scenarios leave little room for improvement. ### TL;DR This Issue proposes...
I've noticed when running the tests locally that we've built up some spammy warnings, particularly deprecation warnings from our own code that is making it harder to spot other warnings...
Thread safety is a big topic like SDL3 porting, so I think a github issue can be helpful to discuss it, as discord messages get lost quickly.
Pygame is a binding to SDL, which has functionality to query opengl procedure addresses (https://wiki.libsdl.org/SDL2/SDL_GL_GetProcAddress) however this does not appear to be visible in pygame. why itโs important: currently pygame...
One of the SDL folks mentioned they could use some additional testing on SDL2-compat as SDL3 gets closer to release, I think one really comprehensive way to do that would...
I've been working on a project that needs to read from the mixed audio stream to be sent to ffmpeg for streaming. However, the only function I found fit is...
When calling pygame.event.get() with a sequence of event types using the eventtype keyword the return values are sorted by event type rather than preserving their order in the queue. This...