Here's the pastebin link.
http://pastebin.com/2wASwZcg
But I did figure out what I was doing wrong. I branched off of your idea Fox and set an actual background so the new code now looks like this.
http://pastebin.com/a1G7qVdV
That has the screen.fill(black) with black=0,0,0. Thank you...
Hello, I'm currently in process of learning Pygame and Python and I'm trying to make a sprite move diagonally across the screen. Although it does work to move the sprite, this code ends up 'painting' the screen when I try to move it diagonally. Is there any way I can fix that?
import pygame...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.