I am developing a simple game where there is a part in it that needs to erase some text after a certain amount of time. I did some research but i am not able to find any methods or functions on how i would be able to do that. It would be great if it was a method that could only erase the text and not the whole screen.
You can "erase" things in pygame by blitting the part of background that goes into the specific spot.
If the background is all just a color, you can draw on that spot with the color.
Is there a method where i can erase text in Pygame?