This doesn't answer your question, but if you want to look at a
metronome I created:
http://ezide.com/metronome/
It's only around 200 lines of code.
On Tue, Jul 27, 2010 at 10:01 PM, Brian Gryder bgrydercl...@gmail.com wrote:
I am working on writing a metronome with Pygame.
May I also immodestly suggest my tutorial:
http://ezide.com/games/writing-games.html
sjbrown
On Tue, May 18, 2010 at 7:26 PM, Alex Hall mehg...@gmail.com wrote:
Hi all,
Before I continue into the strange world of pretty graphics, I want to
check that Pygame can support some sort of online
Sounds like you've got a filmstrip as your source image. Why not just
break the filmstrip up into multiple Surfaces during the __init__ method of
your Charactor sprite, and set one of the surfaces to be the current
self.image?
def breakup_filmstrip(filepath):
... (return a list of Surfaces
Image processing commands are expensive. Best to precalculate all the
rotations.
Also, since it's probably regular CPython you're running, there's only
ever one thread running at a time. If you're using threads, you're
probably doing something wrong.
On Wed, Jan 20, 2010 at 5:08 PM, Bram Cymet
Thanks, you guys, for the compliments.
I'm also interested to hear criticism - particularly if there are sections
that are difficult to read. I'm trained in Computer Science, not English, so
if there are improvments I could make, let me know.
sjbrown
On Nov 24, 2009 7:17 AM, inigo delgado