Using Lua for dialogue trees
Lua lets the programmer write against a generic interface and worry about the implementation later. This separation between game logic, and the nuts and bolts of presenting the audio/visual elements of the game, is an important part of any game engine.
In this recipe, we will use Lua to create a small story-based adventure game.