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.
That explains it, I'm using distutils.
I'll take a look at setuptools. Thank you for the replies =)
On Mon, Oct 5, 2009 at 10:27, Marius Gedminas wrote:
> On Sun, Oct 04, 2009 at 09:33:47PM -0300, Henrique Nakashima wrote:
>> Hello, I'm working on my setup.py for a Pygame library
>> (http://www.
On Sun, Oct 04, 2009 at 09:33:47PM -0300, Henrique Nakashima wrote:
> Hello, I'm working on my setup.py for a Pygame library
> (http://www.pygame.org/project-LibRPG-1293-2260.html) and trying to
> declare Pygame 1.9.1 as a dependency. I wrote:
>
> setup(...
> provides=['librpg'],
>
hi,
that looks like it should work...
Perhaps try ['pygame>=1.9.1release'] or ['pygame>=1.9.1'] in there.
I'm not sure about the parentheses you had.
Also I'd recommend the Distribute fork of setuptools instead(I'm not
sure if it fixes that bug though):
http://pypi.python.org/pypi/distribute