EDIT: If anyone knows of any good alternatives to Lua as far as ease of implementation goes, I'd be very appreciative.
I wasn't going to do this, but after a whole day on Google I think with good conscious I can ask another question on here.
So I've heard a lot about Lua, I've read about it, I have a generally good idea how to write Lua script, I attempted to use it in one of the game engines I was working with, I believe and have faith in it... but I'm a little confused how to add it to my own game. Primarily because there are no decent examples or tutorials (online at least).
I should be a little bit more specific: I have the Lua libraries installed and linked to my project, I have "lua.hpp" included, I even have a little class for managing a lua state started. But it was at that point I realized I had no idea what I was doing. Like when I was learning SDL/Allegro/etc. I had similar feelings, but then because there's a wealth of information on the subject of how to manage a gameloop, drawing and flipping a buffer, how to manage different objects in a game environment... there's a lot of examples of best practices or at least tutorials on how to get your foot out the door.
TL;DR If you know any tutorials or sites where I can read through some examples, even if its some open source thing, to learn best practices or even just develop my own design theories around Lua, I would greatly appreciate it.
Please don't crucify me, I know this is a common topic but my journey through google was very... recursive, I think would be the best way to put it.
Edited by AniMerrill, 07 March 2013 - 07:01 PM.