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.
Issue where I will track progress of porting video to C MERGED - [x] Add interface for _sdl2.video classes (#3317) TO DO - [x] Port Renderer to C (#3327) -...
**Environment:** If possible, please include the output of `pygame.print_debug_info()` from your program in your bug report. It looks something like this: ``` pygame-ce 2.5.2 (SDL 2.30.8, Python 3.12.8) Platform: Windows...
I'm experimenting with drawing polygons with multiple contours, such as text and hollow shapes. To do this I'm connecting one polygon to the next with a zero-width strip, e.g. ```python...
A lot of methods of Renderer use `SDL_RenderGeometry` (and the unfilled counterpart), but they only use it for triangles and quads. The thing is, `sdl_rendergeometry` has the potential of being...
**Environment:** ``` Platform: Windows-11-10.0.26100-SP0 System: Windows System Version: 10.0.26100 Processor: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel SSE2: Yes AVX2: Yes NEON: No Architecture: Bits: 64bit Linkage: WindowsPE Python:...
> I think this PR broke scale_to https://github.com/pygame-community/pygame-ce/commit/717d6d00cf36727badd3fa4db46b35985435f757#diff-02f1b57c8aaf1c6efca9e58df6187db5ff5c4d6b5e1e6968f132419d2a0c79d0, or at least changed how it behaves enought that pixelate isn't behaving anymore - @oddbookworm on discord I'm the author of PR...
```python pygame.transform.rotate_center(surface: Surface, angle: float) -> Surface ``` Rotating an image around it's center is fairly common, it could be nice to have it as part of the transform API....
Pygame is a wrapper around SDL, and itโs great! However advanced users would like to be able to fetch the underlying SDL functions. Examples: getting the address of an opengl...
I know that OpenGL is supported and I have tried using modernGL successfully but I see that Vulkan is not supported and considering that Vulkan is going to be more...
```py import math import pygame pygame.init() surf = pygame.Surface((500,500)) print("Starting") pygame.draw.line(surf, "black", (0, 0), (math.nan, 100)) print("Done!") ``` This test script makes pygame-ce completely unresponsive, it can't even be CTRL-Ced....