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?
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___________
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
screen.fill()between updates? - matsjoyce