Andrew Coffey
Andrew Coffey
I've worked on syncing up the version getters `pygame.get_sdl_version`, `pygame.mixer.get_sdl_mixer_version`, `pygame.font.get_sdl_ttf_version`, `pygame.freetype.get_version`, and `pygame.image.get_sdl_image_version`. Now they all accept a keyword arg to change whether they return the linked version of...
I saw #2540 and figured I'd make an attempt to implement it. I tested this on Manjaro and it worked properly for me, but I don't have a pygame dev...
The following comment and code is at the top of `math.c`: ``` /* Adjust gcc 4.4 optimization for floating point on x86-32 PCs running Linux. * This addresses bug 52:...
I propose a new function `pygame.draw.dashed_line` (and potentially versions for the other draw functions) that accept additional parameters for `dash length` and `space length` so that users can draw dotted/dashed...
As mentioned in #2729 , `pygame.Vector2.angle_to` was originally intended to be limited to the semiclosed range (-180, 180], but the implementation does not do that correctly. As mentioned in the...
Closes #3402. I added deprecations to all of the old, messy scrap stuff and implemented newer scrap functions based on what SDL2 currently has available (https://wiki.libsdl.org/CategoryClipboard). I know tests still...
Someone reported a segfault to us at [pygame-ce](https://github.com/pygame-community/pygame-ce) and I tracked it down to `SDL_BlitSurface`. Here is an MRE (pygame) ```python import pygame screen = pygame.display.set_mode((385, 166)) surf = pygame.Surface((100,...
One common use-case that I come across for snakeviz is when someone new to the pygame library has performance issues. I direct them to use `cProfile` and `snakeviz`. It would...
Continuation of #2698, using a branch on this repo instead of my own