Pygame mouse cursor load/unload

Ian Kelly ian.g.kelly at gmail.com
Wed Mar 13 04:00:43 CET 2013


On Tue, Mar 12, 2013 at 5:33 PM, Alex Gardner <agardner210 at gmail.com> wrote:
> Sorry but im back to square one.  My paddle isn't showing up at all! http://pastebin.com/PB5L8Th0

    paddle_rect.center = pygame.mouse.get_pos()

This updates the paddle position.

    screen.blit(beeper, paddle_rect)

This draws the paddle at that position.

    screen.blit(bpaddle, paddle_rect)

This draws the blank paddle at that same position.  Try to think about
why this results in the paddle not showing up.

If this is for a class, I think you should spend some quality time
with the TA rather than continue to throw non-functional code at this
list, which is clearly getting you nowhere.



More information about the Python-list mailing list