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.
**Environment:** - **Operating system**: Ubuntu 20.04 LTS - **Python version**: 3.8.10 - **SDL version**: 2.28.5 - **pygame-ce version**: 2.4.0 (just installed from pip) - **Relevant hardware**: - **Current behavior:** This...
Please ignore, testing how MSVC handles this in the CI
Most of pygame game types consist of pixel art, which oftentimes utilizes colokey blitting for effective use of pixel assets. This PR optimizes that with AVX2/SSE2 significantly. This strategy is...
Implementd `image.load_animation()` and some basic functions of `pygame.AnimatedSurface` Issues: #1054 #2181 This PR requires a **SDL_image 2.6.0+** ~~You can build it by your self or use my pre-built version.~~ Pre-built...
Currently passing `parent_window=None` to `message_box` raises a `TypeError`. This should fix that. What exactly does the `parent_window` even do? The SDL docs don't really explain it either from what I...
Currently, pygame has very little to no support for keyboard layouts besides English. For example, on a French keyboard, the typical WASD is ZQSD and on my layout (German), the...
I feel like I used to see docstrings in my dev environment (VS code), but I don't see them now. All I see right now is the type information, for...
**Environment:** - `pygame-ce 2.4.1 (SDL 2.28.5, Python 3.12.0)`: **Current behavior:** Consider this code: ```py import pygame as pg s = pg.display.set_mode((250, 250)) # draw the outline where other circles will...
pygame.gfxdraw.aapolygon() is giving a pygame.error with invalird 'renderer' parameter https://user-images.githubusercontent.com/3368535/228190179-6bca8b64-b27d-4677-86d6-1dfcf7438c42.png
The `Surface` class has many getters and setters. Some of them are very commonly used and I feel that their verbosity can be cumbersome. I'm thinking of ```py .get_size() .get_width()...