Archive for the ‘python’ Category

 

Packaging a Python game for distribution on Windows — py2exe and cx_Freeze

I do my game development on Ubuntu Linux. In case you hadn’t noticed, unlike pretty much every Linux distro, Windows does not come with Python installed by default. For distributing games written in Python on Windows, it’s nice to create a compiled executable version (using py2exe or cx_Freeze, for example) that can unzipped or installed [...]

Read full article   »   10 Comments »

Profiling Python functions with IPython’s timeit

If you aren’t careful (and even sometime when you are) realtime games written in Python sometimes hit speed problems and require some profiling to bring them to a playable speed. Typically, I would use the Python standard library’s “profile” module to find “hot” functions which are stealing all the CPU cycles. Today I discovered another [...]

Read full article   »   1 Comment »

Interactive fiction in Python ?

I’ve just been researching Interactive Fiction (aka text adventure) systems written in Python. I’ve always wanted to make an interactive fiction, but never quite got around to it. I even started learning the Inform language a few years back, which can be compiled to run on the Infocom Z-machine interpreters (like Frotz, among many others). [...]

Read full article   »   3 Comments »

New release of Shoodar (v 0.11)

Shoodar is a little game I’ve been writing, mostly to learn Rabbyt (although these things tend to grow beyond learning exercises ….. ). Essentially it’s just a silly vertical shooter, but there is an Ikaruga-inpired twist. It’s in early stages of development, but I’ve put a playable version up in the Games section No nice [...]

Read full article   »   No Comments