Fun

I’ve been working on my own game engine. Not because I think the world needs another one, but because it’s easier to understand and I learn more from a primitive one I’ve built myself then learn someone else’s. It makes me appreciate just what goes into a real one. I haven’t even got mine to bounce a ball around yet.

I already have one that does that I made a breakout clone with, but this one will be better. If I ever get it to that stage that is. I want it to use an embedded Lua interpreter for all the game logic. I also want it to use guichan for the gui. It’d be nice to be able to load the Gui from Lua scripts. That sounds pretty ambitious, so maybe I wont get that far. I definitely want to have the game logic for each level run from Lua scripts though. Some objects could have scripts attached to them that run when something happens. eg. triggers, or OnDeath scripts for various characters or whatever.

I’m thinking of the way nwscript does it or metaplace will do it. Metaplace got me motivated to experiment, since it’d be nice to learn Lua, so I can be ready to toy around in it when it hits open beta.

So far I’ve got a bare skeleton of an engine, it loads SDL and paints any game “objects” from a list. Objects so far are sprites and text.

Tags: , , ,