Archive for the 'python' Category

Level Editor 0.3 (Dodger)

Sunday, June 22nd, 2008

I know it’s been a while and for that I apologize the last few months have been pretty crazy around here…although I’m starting to see a trend with life in general lately, namely that it’s always crazy.
I’ve been busy with work, Python Magazine, my wife, trips to Dallas, and yes whenever I get a chance [...]

Operator Overload! Learn how to change the behavior of equality operators.

Saturday, June 21st, 2008

By: Mark Mruss
Note: This article was first published the November 2007 issue of Python Magazine
While the equality operator works great on numbers and strings the fact the way it treats your custom objects really is not that useful. This article looks into overloading the equality operator so that you can easily compare your custom classes.

Introduction
Introducing [...]

Elegant XML parsing using the ElementTree Module

Wednesday, May 7th, 2008

Mark Mruss
Note: This article was first published the October 2007 issue of Python Magazine
XML is everywhere. It seems you can’t do much these days unless you utilize XML in one way or another. Fortunately, Python developers have a new tool in our standard arsenal: the ElementTree module. This article aims to introduce you to [...]

Level Editor 0.2

Tuesday, April 1st, 2008

So I had some free time since I last posted so I hacked a little bit more into my simple game editor. I’ve a few things in there that I wanted to get in:

A grid
A paint mode to easily add sprites
An erase mode so that sprites can be removed
Fully (or so it seems) working property [...]

Pyglet Level Editor

Saturday, March 22nd, 2008

Hey Everyone,
Sorry I’ve been away for a bit, work and trips and writing for Python Magazine had me pretty busy and I wasn’t able to reply to everyone’s comments on the simple Python game engine. I really do appreciate the comments though so please keep them coming.
I have been thinking about the simple game engine [...]

More thoughts on the simple Python Game Engine

Sunday, February 24th, 2008

After my last post and receiving a few helpful responses I thought I would make a post outlining some of my thoughts and ideas on what I meant and what I envision the game engine would do. Please note that these are simply some more rough ideas and brainstorming, it’s not meant to be exhaustive [...]

A Simple Python Game Engine?

Thursday, February 21st, 2008

Is there anyone else out there that is looking for this? A simple Python (2D) game engine? I’m not talking about something like PyGame, PyGlet, or Rabbyt, all of which are very good at what they do. What I’m talking about may use these technologies (I’m thinking PyGlet and Rabbyt) but would do so [...]

Thanks for the great ideas

Wednesday, February 13th, 2008

I’d like to thank everyone that commented on my last post, and everyone that has emailed me ideas. They are all very much appreciated. It’s hard keeping up with everything that is happening in the Python world, and sometimes the coolest things are happening in far off places.
I got a few suggestions for Pycairo, which [...]

Creating a game with PyGlet and Python

Saturday, November 10th, 2007

For this tutorial I’m going to take a look at PyGlet: “a cross-platform windowing and multimedia library for Python.” The reason that I decided to take a look at PyGlet is because it is an alternative to PyGame in the Python gaming world and: “No external dependencies or installation requirements. For most application and game [...]

Python Magazine Issue One!

Thursday, October 4th, 2007

The first issue of Python Magazine is finally available and they’ve made it freely available via PDF.
The magazine is quite good and I’m please to announces that I’m writing a monthly column for it entitled “Welcome to Python”. So if any of you are wondering why the posts on this blog have slowed [...]