- Learning Game AI Programming with Lua
- David Young
- 143字
- 2021-08-05 17:02:12
Chapter 2. Creating and Moving Agents
In this chapter, we will cover the following topics:
- Setting up your first sandbox executable
- Creating your first sandbox Lua scripts
- Understanding agent properties and their effects
- Basic Newtonian motion
- Agent-steering forces
- Creating seeking, pursuing, path following, and grouped agents
Now that we understand how AI sandbox is set up and some of the underlying system structure, we're going to dive head-first into creating a brand new sandbox demo. Throughout the rest of the book, the new Lua sandbox API will be introduced piece by piece, extending this demo with additional AI functionality, animation, graphics, and game play.
While the sandbox is doing a lot of heavy lifting in terms of graphics and physics, the core AI logic will be completely implemented in Lua, backed by data structures that are managed by the C++ code.
推薦閱讀
- Visual Studio 2015 Cookbook(Second Edition)
- Learning Spring Boot
- Learning JavaScriptMVC
- Mockito Cookbook
- 深入淺出MySQL:數據庫開發、優化與管理維護(第2版)
- 中國數字流域
- Starling Game Development Essentials
- 數據挖掘原理與SPSS Clementine應用寶典
- 從0到1:JavaScript 快速上手
- 中文版Access 2007實例與操作
- 活用數據:驅動業務的數據分析實戰
- 數據分析思維:產品經理的成長筆記
- Hadoop大數據技術開發實戰
- 工業大數據工程:系統、方法與實踐
- 數據質量管理:數據可靠性與數據質量問題解決之道