Registrations are now open for the Sixth Pyggy Awards. Judging will be from
17-31 July 2011.
http://pyggy.pyweek.org/
This time, entry is open to any Python-based game, not just PyWeek games, and
not just games developed during PyWeek or Pyggy. So if you've had a Python game
project on the
Hi everyone,
it sounds like a stupid question but i have written a really simple program
where i just want to add a sprite to a sprite group and then draw the
containing of this group.
Here is the main code :
import pygame
from sprites import Node
pygame.init()
screen =
Yeah that's true... Sorry about that. My problem is that the sprite in the
RenderGroup is simply not drawn.
2011/4/30 Julian Marchant onp...@yahoo.com
It's hard to help you when you haven't said what isn't working.
--
*From:* Nathan BIAGINI nathan.o...@gmail.com
RenderPlain? What's that? It's not mentioned here:
http://www.pygame.org/docs/ref/sprite.html
http://www.pygame.org/docs/ref/sprite.htmlI found it mentioned in some
2002 documentation. I think it might be obsolete. Not sure.
I've been using pygame.sprite.OrderedUpdates.
Dave
From what I gather, pygame.sprite.RenderPlain, in its current form, just
points
to pygame.sprite.Group.
From: David Burton ncdave4l...@gmail.com
To: pygame-users@seul.org; Nathan BIAGINI nathan.o...@gmail.com
Sent: Sat, April 30, 2011 8:52:04 PM
Subject: Re:
And what is loads?
I think you might be working from some out-of-date docs, Nathan. I suggest
that you use this (current) version of the pygame docs:
http://www.pygame.org/docs/ref/sprite.html
Here's a working (and almost minimal) pygame sprite-based program (tested
with Python 3.1 and 2.6):