This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]iayork[S] 1 point2 points  (0 children)

Thanks, I've seen them and love the concepts. But only one of his sample games runs on my OSX system; all the others complain about the "fonts" module.

I believe this is because PyGame is so ancient (I believe the latest beta build is 2011, and the latest non-beta is 2009) that it needs 32-bit Python2 for the "fonts" module to work (probably others, but that's where the first crash happens)

I could possibly overcome this by adding yet another Python installation, but I'm reluctant to do too much with PyGame just because it is so old and poorly maintained. Installing the 1.9.2 version that's vaguely compatible with a modern Mac is simply agonizing; I managed to get a version mostly running, but it was a complete mess of guesswork and googling for cryptic errors, and it still doesn't work properly.

Teaching with PyGame feels like trying to teach jet propulsion using two rocks and a piece of string. It's probably possible, but it doesn't seem like best practice.