I've been working with Python and PyGame days ago, and i noticed that when i move the player in my game, it will blit over itself again and again while moving, leaving a tail, is there any way i can clean up all the old sprites that the player left while moving?
I tried bliting the background again while moving to remove them, but that was frustrating in a point. Any Idea?
Thanks
Just call window.fill([0, 0, 0]) each time in your main loop.  Where the window is your pygame.display.set_mode() main surface.  If you have any questions, just comment below.
PyGame, How to clean up Old Sprites