About Archive Tags RSS Feed

 

Don't tell me that you love me

25 April 2006 21:50

Once upon a time I wrote a simple game using SDL.

Tonight I reworked it so that it uses Lua as a scripting language. Mostly as a proof of concept since I've no real interest in recoding the game logic.

It was suprisingly easy to recode the screen layout and get the Lua script to handle drawing the status text and moving the sprites though.

I think I'll try to do something useful soon - maybe a scripted version of Othello/Reversi. Simple to code a "game board engine" which passes the mouse clicks over to the lua script to calculate validity, etc.

That'll keep me occupied for a few nights anyway.

| No comments