0
votes

I'm using Pygame and imported and image into a surface then used the blit command: screen.blit(surface,(x,y)) but it keep on stacking surfaces, how can I stop it at just 1 surface?

1
Do a screen.fill() between updates? - matsjoyce
thanks alot :D :D :D :D - LOLerKing

1 Answers

0
votes

You have to blit a background between each update.

_________CODE___________
Character.update()
screen.fill(background) # or screen.fill((0,0,0)) for a black background
__________CODE___________