Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-2 votes
1 answer
97 views

How do I remove blurry rendering in Pygame or Pygame-CE?

I am trying to make a pixel-art 2d platformer in Pygame-CE. When I use a standard pygame display, the pixels come out as blurry: Minimal Reproducible Example: #Import everything import pygame, sys ...
1 vote
1 answer
107 views

Pip exits when installing build dependencies for pygame-ce

I had pygame (not ce) on my Debian system and then updated it to pygame-ce using pip install —-upgrade pygame-ce and it worked fine, installing pygame-ce==2.5.2 . There were some more recent updates ...
0 votes
0 answers
80 views

Why can a python class using pygame's Vector2 as a parent not have an attribute name starting with x or y?

This is really weird, but I'm making a custom vector using pygame's Vector2 as a parent, and any attempt to define an attribute that starts with the letters x or y results in an error upon ...
0 votes
0 answers
106 views

PyGame: asynchronous version of pygame.time.Clock.tick()

There is no API for asynchronous Clock.tick() in pygame, how could I implement something like this? (This could be useful for things like pygbag that require async main loop.)
oBrstisf8o's user avatar
0 votes
1 answer
185 views

Why are my blurred drop shadows lightening instead of darkening a semi-transparent color in Pygame?

I feel like there is some fundamental aspect of alpha blending that I'm not understanding here. I'm doing the following in Pygame to create a blurred drop shadow: draw a white object draw a black ...

AltStyle によって変換されたページ (->オリジナル) /