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 class `DrawArcMixin` lacks test coverage to ensure that the function `pygame.draw.arc` draws the arc correctly. **TODO**: - [ ] Add a comprehensive test for `pygame.draw.arc`. Initial test placeholder: ```python...
**Environment:** You can get some of this info from the text that pops up in the console when you run a pygame program. - **Operating system** Windows 10 - **Python...
This adds a skew function to the transform module as requested by #2098 with modifications to support inputs of any 4 coordinates to map the surface to. Do note this...
While the port is meant to be a full replacement, there are some changes made to the module. But apart from the removed functions, there are not a lot of...
Please implement the ability to create a Vector2 directly from polar coordinates. Upstream pygame recently added this ability: https://www.pygame.org/docs/ref/math.html#pygame.math.Vector2.from_polar Implementing this enhancement would allow for easier Vector creation without the...
partial PR as requested in this PR https://github.com/pygame-community/pygame-ce/pull/2132
TODO: - [x] write tests - [x] fix failures due to conversion from double to int implicitly
Also; only build the draw list when changes are made to the group rather than each frame. This should speed up calls to group draw. Related to #1941 So how...
OS: Windows 10, Python: 3.9 ```py import pygame from pygame._sdl2 import Window window = Window(resizable=True) screen = window.get_surface() clock = pygame.Clock() while True: for event in pygame.event.get(): if event.type ==...
Currently it is not, and it is marked as such with types, which is good. ``` >>> class ManagedWindow(pygame.Window): ... pass ... Traceback (most recent call last): File "", line...