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:** Linux(Arch), Windows - **Python version:** 3.11.5 - **SDL version:** 2.26.5 - **PyGame version:** 2.3.2 **Current behavior:** gfxdraw.aacircle draws weird lines when radius is larger than about...
**Description** Add line thickness value in gfxdraw.aacircle and other gfxdraw shapes, just like in pygame.draw. For now i am using this code for aacircle: ``` def draw_circle(surface, color, pos, radius,...
Closes #2373, featuring: `BLEND_OVERLAY` and `BLEND_RGB_OVERLAY` flags and algorithm with: - 1 pixel at a time implementation that's hardware agnostic - 8 pixels at a time with AVX2 - 4...
Added three new C API functions: - pg_IntFromObjEx - pg_IntFromSeqIndexEx - pg_TwoIntsFromObjEx These three C API functions are supposed to be slightly faster than the current ones and have a...
I'm pleased to inform you that the `pygame-geometry` library is about to start to be officially ported to the `pygame-ce` repository. This process will be carried out in multiple phases,...
closes #1847 ```python import pygame dis = pygame.display.set_mode((600, 600)) img = pygame.image.load("transparent_walt.png") img = pygame.transform.solid_overlay(img, (0, 0, 0)) while True: dis.fill((100, 100, 100)) for event in pygame.event.get(): if event.type ==...
The current Rect.collideobjectsall() method is slow, like really slow, especially when compared with all the other multicollision methods:  After analysis, it became evident that the bulk of the runtime...
A pleasant surprise: `pytest` seems to support `unittest` based tests out of box! We've had occasional problems due to our custom test runner, and it seems like in the long...
**Environment:** - **Operating system**: macOS Ventura 13.4.1 - **Python version**: 3.11.4 - **SDL version**: 2.26.4 - **PyGame version**: 2.3.0 - **Relevant hardware**: Wireless mouse connected through Bluetooth. Doesn't seem to...
- Fixes #2616, now it supports frect. - Fixs #2622, now this function only accept Texture, Image, Surface and their subclasses. - The function will raise an error when `Texture`...