Lua游戏AI开发指南

Lua游戏AI开发指南

by Posts & Telecom Press and David Young
Epub (Kobo), Epub (Adobe)
Publication Date: 24/05/2024

Share This eBook:

  $53.99

利用Lua编程开发专注于动作、动画和战术的游戏AI

Key Features

  • 本书循序渐进,从学习移动一个简单物体开始,到实现一个带有完整动画的战士
  • 本书首先介绍AI沙箱,然后依次介绍、实现和扩展了游戏AI的各个新领域
  • 本书介绍一些开源库,如Ogre3D、Bullet物理引擎、OpenSteer、Recast、Detour以及Lua
  • 利用一个可以扩展和运行的完整代码库来创建AI沙箱。

Book Description

游戏AI可以很容易地拆分成决策制定、动画处理和战术等各种组件,但各个系统间的平衡和交互决定了良好的AI和糟糕的AI之间的区别。 本书首先介绍AI沙箱,然后依次介绍、实现和扩展了游戏AI的各个新领域。更进一步,读者还将学习使用一些开源库,如Ogre3D、Bullet物理引擎、OpenSteer、Recast、Detour以及Lua,并利用一个可以扩展和运行的完整代码库来创建AI沙箱。本书采用一种循序渐进的方法,从学习移动一个简单物体开始,到实现一个带有完整动画的战士。学习完本书,你的AI将能够导航、寻路、管理动画回放、彼此交流并能感知它所处的环境。 如果你是游戏开发者,或者是一位想专注于实现自己的游戏AI系统和技术,而又不想创建游戏引擎的底层接口的普通程序员,这本书正是为你量身打造的。C++语言知识对于调试整个AI沙箱和扩展本书提供的功能十分有用,但并非必需的。

What you will learn

  • 创建动画状态机以便在Lua代码中驱动AI动画;
  • 构建导航网格并在其中寻路;
  • 使用全功能的Lua IDE编写和调试Lua脚本;
  • 使用行为树、状态机和决策树开发决策逻辑,构建模块化、可重用的AI;
  • 使用黑板数据结构管理短期和长期的知识表示;
  • 添加感官知觉让AI能看能听;
  • 基于影响力地图开发多个AI的高级战术。

Who this book is for

游戏开发人员、编程爱好者

ISBN:
9781836205548
9781836205548
Category:
Computing & information technology
Format:
Epub (Kobo), Epub (Adobe)
Publication Date:
24-05-2024
Language:
English
Publisher:
Packt Publishing
David Young

East Yorkshire-born David Young began his East German-set crime series on a creative writing MA at London's City University when Stasi Child - his debut - won the course prize.

The novel went on to win the 2016 CWA Historical Dagger, and both it and the 2017 follow-up, Stasi Wolf, were longlisted for the Theakston Old Peculier Crime Novel of the Year.

His novels have been sold in eleven territories round the world. Before becoming a full-time author, David was a senior journalist with the BBC's international radio and TV newsrooms for more than 25 years. He writes in his Twickenham garden shed and in a caravan on the Isle of Wight. 

This item is delivered digitally

Reviews

Be the first to review Lua游戏AI开发指南.