Can't Get Pygame.surface.get_at() To Work Properly
I am trying to retrieve the color I have drawn onto my display using pygame, but I can't seem to get it to work. I took out some irrelevant code for easier reading, but here is wha
Solution 1:
setDisplayis a variable you created, not an attribute on pygame. Try just setDisplay.get_at((20,20)). I'm not sure why you are even getting at the descriptor, it seems like you should be getting an AttributeError on pygame.setDisplay before even calling the get_at descriptor, but in any case, you should be calling it against your setDisplay, not off an attribute of pygame.
Post a Comment for "Can't Get Pygame.surface.get_at() To Work Properly"