Game Development with Lua by Paul Schuytema
complex GUIs and artificial intelligence. If you're a developer just starting to use Lua, or you're considering using it, Game Development with Lua will teach you everything you need to know. And if you're new to scripting languages altogether, this book will also teach you how they can be used in game development effectively. Written by practicing Lua game developers, the book teaches how to use Lua for commercial game development. It begins with a brief history of Lua and explains how to incorporate Lua into a C++ project. It details the key features and advantages of Lua and then takes you through the development of a rapid prototype game called Take Away. This game provides the context with which to explore the foundational C++ approaches and the Lua scripting approaches to saving and loading game data, building a modular and flexible GUI system, managing a game's real-time events through Lua scripts, and using Lua to define and control game AI. There are also several smaller games along with a full technology base, so even non-programmers can look under the hood to see what makes a game tick. If you're looking for an efficient, affordable, and easy-to-learn language for your games, Lua is the right choice and this book will teach you how to use it effectively.