Andrew Coffey

Results 208 comments of Andrew Coffey

```py import random import sys import time import pygame import pygame._sdl2 as sdl2 if "--cpu" in sys.argv: USE_GPU = False else: USE_GPU = True pygame.init() WINDOW: pygame.Window = pygame.Window("Sprite Test",...

> In many places where pygame expects a "rect", an `FRect` is already acceptable. I don't see how adding an alias is very useful here if our goal is to...

Yeah, thinking back on this, I agree with the opinions already here. Closing this pull request

Using this test code: ```py import pygame pygame.init() screen = pygame.display.set_mode((500, 500)) surf = pygame.Surface((50, 50), pygame.SRCALPHA) surf.fill("red") font = pygame.font.Font() font.render_to(surf, (0, 0), "Hello World!", True, "blue") screen.blit(surf, (100,...

I'm not sure that this is something we should do. Most pygame-ce objects, while they can be subclassed, don't make much sense to do so regularly. IMO if you're subclassing...

The reason global alpha isn't independent of per-pixel alpha is that they can be used together ![image](https://github.com/user-attachments/assets/be586163-0632-48ea-b0bb-27c971028725)

Do you have your settings set to block cookies?

Unfortunately, there’s nothing we can do about it for now. This is an SDL limitation. If I remember correctly, SDL3 will have an opt-in way of fixing it, but it’s...

> It messes up the delta time, which leads to either more freezing or physics issues, if your program depends on the delta time. A common workaround for this is...

Hmmmmm, I'm personally for this change on a logical basis, but this behavior is now 4 years old (this particular change authored by @MyreMylar). I'm curious if Myre remembers the...