Developers' Diary

Wherefore OpenGL?

I just got an e-mail from a friend o’ mine asking why we’re using OpenGL even though our game is essentially two-dimensional. Here’s why:

OpenGL is just a quick, portable way of getting pixels on the screen. It happens to have a lot of functionality for three dee stuff, but that doesn’t make it useless for two dee. For instance, we can rotate and zoom sprites around quite facilely, tint them different colors, or make them transparent. Particles shift and fade very nicely. Things like text boxes and life bars can be drawn algorithmically. All of this happens quite more swiftly than it would if we were using the standard pygame blitting functions.

Plus, if we ever decide to put together something three dimensional, I’ll be familiar with the interface. :D

No responses to 'Wherefore OpenGL?'.

Comments and pings are currently closed for 'Wherefore OpenGL?'.