Yeah I included a big enough background, and it works now.
Thanks.
On 10/5/09, Henrique Nakashima wrote:
> When you blit a sprite to the screen, it is not erased from where it
> was previously blitted. You gotta do it manually, blitting the
> background over everything then the sprite in its new
When you blit a sprite to the screen, it is not erased from where it
was previously blitted. You gotta do it manually, blitting the
background over everything then the sprite in its new position.
Alternatively, to avoid blitting the whole screen every loop, you can
only blit the part of the backgr
Well okay :)
I'm currently working on a game that will utilize linear movement. I
have successfully made it so that the sprite moves around with the
arrow keys, but for some reason it leaves sort of a "sprite-trail"
when moving; that is, the sprites from the previous positions don't
clear. I've tr
Works fine, Guy.Now on with the questions! :)
Also, if your questions are not pygame-specific, please consider subscribing
to the Python Tutor mailing list, there's a lot of cool guys over on that
list who are happy to help with basic Python questions.
On Tue, Oct 6, 2009 at 5:05 AM, Guy Anderson
If this is annoying, I don't blame you. It's been years since I've
been on a mailing list, though, so I'm trying to see how it all works
out.
I will have a basic programming question soon, though.