keskiviikko 18. tammikuuta 2012

New possibilities

Yesterday evening... no, night. Yes, I'm pretty sure it was night. About 12 hours ago anyway. Anyway, then I had my first glance at OpenGL. For those who don't know, OpenGL is "a standard specification defining a cross-language, cross-platform API for writing applications that produce 2D and 3D computer graphics.". That's straight from Wikipedia.

And what does this have to do with Cold Wave? You may already know what I'm getting at. Well, for drawing graphics OpenGL is far superior to SDL. And currently Cold Wave's graphics are drawn with SDL's own functions. In other words switching to OpenGL would mean better performance and possibilities for cool effects (like real lightning).

All I have to do is just create an easy system for loading textures and also drawing and rotating them. But even so, it'd take a long time to make the game work again, and look the same it was before. Also I'd rather learn a little more about OpenGL (or at least everything that's necessary to know when doing a 2D game), and perhaps make a little game that uses OpenGL.

I'd rather not take any more delays, considering the graphics are drawn well enough with SDL too. But I'm just saying, there is now this kind of possibility...

Ei kommentteja:

Lähetä kommentti