Speak and Shout

Sunday, January 14, 2007

Asteroid Smash released!

Asteroid Smash is a version of the classic game Asteroids in Pygame. You can find it here. It's packaged in an installer for Windows. All the source code is included in a subdirectory.

Let me just say py2exe is incredibly underdocumented. But here are helpful links if you see "Zlib not available" or "Runtime error: default font not found" when packaging your own game.

Labels: , , ,

Tuesday, January 09, 2007

Netflix

Doris and I are now Netflix subscribers. Having to line up a babysitter now makes it more difficult to get to the movies, so I felt we had to do something. Pay-per-view was good for a while, but the showtimes were often inconvenient. With movies showing up in the mail, I think it will give us more incentive to watch them regularly.

I'm embarrassed to say that the first movie in our queue is Click. (Well, at least Christopher Walken is in it.)

Labels: , ,

Monday, January 08, 2007

Asteroids, part 5

Clearly I missed my Christmas deadline. I shot past my revised estimate too, which was New Year's Day. Right now I'm shooting for the end of the week, if possible.

My list of priorities has changed. The game is essentially finished, without any additional features like power-ups or additional enemies. I completed the high-score screens and fixed a bunch of little bugs that kept showing up at odd times during the game. I also added scaling, so that the game would look correct at almost any (reasonable) resolution.

Currently I'm working on the game configuration dialog. This will allow the user to select a screen resolution and customize their key controls. I'm doing it in wxPython using the fantastic VisualWx GUI builder (and once again wishing it was combined with Komodo or Wing). I was going to try it in Tkinter until I remembered that it has no combo box controls without the Pmw add-on, and wxPython is probably simpler to deploy anyway.

My final task is to write an installer for the game. I've heard lots of good things about the freeware Inno Setup program and its related utilities, so I'm going to try that. My game setup is certainly not complicated, so it will mostly involve just deploying Python, and the wxPython and pygame libraries (and perhaps psyco, I haven't decided).

There's also code cleanup and comments to do still, but I may save that for later. I'm trying not to push the release back any further, plus it's not that important until I write my accompanying "game development" article.

Labels: , , , , , ,