Here’s a little utility I wrote in a few hours as a multi-platform answer to dxdiag. It’s a developer’s tool which allows you to quickly reference information about your installation of Python, Pygame, SDL, the video hardware, and operating system stats.
PPB is a GUI and command-line tool for automating the process of packaging a pygame-based project into a working binary. For now it targets Windows, but the underlying code will ultimately target Macs with py2app.
I know, I’ve been very bad lately. Haven’t updated anything here in a while. When your nose is to the grindstone, it happens. Writing quite a number of things, and also getting the marketing ready not just for The Cursed but also for my book.
In Python you can do some amazing things with little or no code at all. Here is an example of that simplicity: the Quicksort algorithm in Python.
After helping another fellow Python programmer with some help packaging their game (see comments on this post), I dove back into Star Merchant 2. I’ll be honest and say that I haven’t been giving it the love that it deserves. So tonight was spent working on a feature that expands on something found in the original.
It’s always a good idea to make sure your entire development toolchain works right from beginning to end. This includes the package builder and installer. Even though I’m still a little while out from releasing Star Merchant 2, I spent the better part of the day Wednesday digging into py2exe to make sure it would, in fact, produce a good Windows distribution for the game. And then I found out how it didn’t like to play so nice with pygame.
A picture’s worth a thousand words. With a little diligent hacking away in Python, the main menu and branching within Star Merchant 2 is finished, according to the design document. Take a look for yourself.
I figured this blog would also serve as an excellent journal during the development of Star Merchant 2. So here are some early screenshots.
The new Star Merchant game is really starting to shape up, thanks in no small part to Python and pygame.
Spent the better part of the night porting the data and code over from C into something a little more manageable in Python for Star Merchant 2. Everything appears to be progressing nicely so far. The commerce aspects of the new game are a little different now, which I will explain.