Re: [pygame] Seeing if this works...

2009-10-05 Thread Henrique Nakashima
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

Re: [pygame] Seeing if this works...

2009-10-05 Thread Guy Anderson
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

Re: [pygame] Seeing if this works...

2009-10-05 Thread Luke Paireepinart
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

[pygame] Seeing if this works...

2009-10-05 Thread 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.

Re: [pygame] Requiring pygame in setup.py

2009-10-05 Thread Henrique Nakashima
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.

Re: [pygame] Requiring pygame in setup.py

2009-10-05 Thread Marius Gedminas
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'], >

Re: [pygame] Requiring pygame in setup.py

2009-10-05 Thread René Dudfield
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