Simplemenu : alpha0 release

Here’s a quick initial release of a tiny ‘framework’ I’m making, since I might use it in the Mini-LD#5 this weekend. I probably won’t even participate this time, but just in case, I present to you …

simplemenu-alpha0.tar.bz2

Requires pygame and rabbyt. It’s under the MIT license. I’m regarding this as alpha, since it’s incomplete and poorly tested, (although I am using successfully it in a small game already).

simplemenu, as it’s unimaginative name suggests, is a simple set of classes to automatically lay out a vertical column of ‘buttons’ on the screen, with click and rollover effects. Like the about simplest sort of GUI you could imagine. I made it because I felt like I needed a quick and brainless way to make simple “Start”, “Options”, “Quit” menus at the title screen of games, and during a Ludum Dare 48 hour competition, you don’t want to have to mess around with the details of things like this.

There is nothing I’d call game logic in the classes. There is demo code under “if __name__ == ‘__main__’:” … again this is what I would call ‘functional documentation’, not useful game logic. It’s all still quite ugly.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>