O'Reilly logo

Learning Game AI Programming with Lua by David Young

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Getting Started with AI Sandbox

In this chapter, we will cover the following topics:

  • AI sandbox's project layout and compilation
  • Using the Lua integrated development environment, Decoda
  • Debugging Lua scripts and AI sandbox
  • Passing and receiving data from C++ to Lua and vice versa
  • C++ functions calling Lua functions
  • Lua functions calling C++ functions
  • Creating custom data types managed by C++ within Lua
  • An overview of AI sandbox C++ classes

Introduction to AI sandbox

AI sandbox is a framework that is designed to do away with the tedious job of application management, resource handling, memory management, and Lua binding, so that you can focus immediately on creating AI in Lua. While the sandbox does the dirty work of a small game engine, none ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required