Relative Content

Tag Archive for pythonpygamepygame-surface

How do I make a partially transparent surface partially opaque also in Pygame?

I am trying to make a game and in my game you can place blocks, to show where the next block is going to be placed, there is an indicator, which is a rectangle, just the sides though. It currently stands out way too much, so I want to make it partially opaque, I am a begineer and this is what I have now as code for making the Surface: