brett's blog

Hooray for OpenGL!

I finally found some time today and converted LuaGame to using OpenGL as the backend. This has a number of advantages:

  1. Both normal blits and animation frames now support rotation and scaling
  2. It's significantly faster
  3. The dependence upon SDL_gfx has been removed.
  4. It's actually getting close to a release (once I do more documentaiton)

Look forward to seeing an alpha release in the next couple days.

Not Dead Yet

Nope, LuaGame is not dead, and neither am I. As it turns out, I now know enough OpenGL to make it LuaGame's backend. Also, LuaGame 1.0 is going to effectively be LuaGame 2.0.

That's all for now.

Progression

Shortly after attempting to do a conversion of LuaGame to OpenGL, I scrapped it. Nothing was quite working as it should have. I didn't (and still don't) have good experience yet with programming OpenGL, so that probably contributed to it. I may go back to it at a later date, but for now, OpenGL support is going to have to wait until SDL 2.0 (it'll be the backend).

LuaGame 2.0

Yes, yes. I'm aware that LuaGame 1.0 isn't even out yet and it's not close to being done. However, that's no reason to ignore the future.

Syndicate content