What the hell was I thinking…

I seriously wonder what the hell I was thinking going back to C++. The C++/SDL combo is only two steps higher than writing DOS games using C code with assembly language sprinkled in to do mode settings. You have to do pointer arithmetic just to put a pixel on the screen. SDL is a great base library to wrap around, but to code directly in it borders on insanity. I’m going to look at PyGame today instead. PyGame is a much higher level Python gaming library which uses SDL. Additionally, since Python is an interpreted language I do not have to worry about all of the hassle that comes with setting up a portable cross platform build system. For simple games, the loss of performance incurred by using Python should in fact be quite minimal. This is definitely a reasonable trade-off for the increased developer productivity that the Python language provides.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: