LOLerKing
LOLerKing

Reputation: 9

Pygame transparent background

I'm using Pygame and I'm trying to make the background transparent instead of black, something like wx.EVT_ERASE_BACKGROUND in wxpython, I did remove the borders (pygame.NOFRAME), so any clues?

Upvotes: 0

Views: 274

Answers (1)

laurencevs
laurencevs

Reputation: 923

Unfortunately, this is not possible. Pygame uses SDL, which does not allow seeing through windows to the desktop.

However if you use Linux, this answer may help you to create the illusion of transparency.

Upvotes: 1

Related Questions