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.
Hi, I took a look at all examples, and made some fixes. ``aacircle.py`` : - Removed the pretty weird try block and replaced it by a beautiful while loop ``aliens.py``...
Close https://github.com/pygame-community/pygame-ce/issues/661 (I don't think any of that renaming mentioned there is going to happen, so, adding the area kwarg is about all there's left to it)
**Description** We've had an essential number of blend modes available for a long time, which are: `MAX` `MIN` `ADD` `SUB` `MULT` While these flags can be combined together to achieve...
pygame.draw doesn't apply transparency, but the docs imply it should reproducer ```python import pygame screen = pygame.display.set_mode((500, 500)) OPAQUE = (255, 0, 0, 255) TRANSLUCENT = (255, 0, 0, 128)...
**Environment:** Windows 10 pygame-ce 2.4.0 (SDL 2.28.5, Python 3.12.0) **Current behavior:** When blitting a Surface with a global alpha value to an SRCALPHA Surface the alpha value is applied twice....
Hello, It would be great to add a way to round surface corners. I believe it wouldn't be difficult to implement it, since we do it manually in ``pygame.draw.rect``. What...
Recent updates in #2382, #2565 and #2566 have improved the speed of Surface.fill calls when using the `ADD`, `SUB` `MULT`, `MIN` and `MAX` blend flags. However, thereโs still a fundamental...
Could be implemented in either of the following ways: ```python pygame.draw.rects(surf: Surface, color: Color, rects: List[Rect]) ``` ```python pygame.draw.rects(surf: Surface, sequence: ((Rect, Color), ...)) ``` If we go down this...