My Account Log in

3 options

Learning game AI programming with Lua : leverage the power of Lua programming to create game AI that focuses on motion, animation, and tactics / David Young.

EBSCOhost Academic eBook Collection (North America) Available online

View online

EBSCOhost Ebook Public Library Collection - North America Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Young, David, author.
Series:
Community experience distilled.
Community Experience Distilled
Language:
English
Subjects (All):
Video games--Programming.
Video games.
Physical Description:
1 online resource (352 p.)
Edition:
1st ed.
Place of Publication:
Birmingham, England : Packt Publishing, 2014.
Language Note:
English
Summary:
If you are a game developer or a general programmer who wishes to focus on programming systems and techniques to build your game AI without creating low-level interfaces in a game engine, then this book is for you. Knowledge of C++ will come in handy to debug the entirety of the AI sandbox and expand on the features present within the book, but it is not required.
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with AI Sandbox; Introduction to AI sandbox; Understanding the sandbox; The project layout; The Premake build; Compiling the sandbox with Visual Studio 2008/2010/2012/2013; Open source libraries; Open source tools; Lua IDE - Decoda; Running AI sandbox inside Decoda; Setting up a new Decoda project; Debugging Lua scripts; Decoda Watch window; Decoda Call Stack window; The Decoda Virtual Machines window; Simultaneous Lua and C++ debugging
Visual Studio - Attach to ProcessDecoda - Attach to Process; Decoda - Attach System Debugger; Associating Lua scripts from code with Decoda; The Lua virtual machine; The Lua stack; Lua primitives; Metatables; Metamethods; Userdata; C/C++ calling Lua functions; Lua calling C/C++ functions; Function binding; Creating custom userdata; Looking at the vector data type; The demo framework; Ogre; Object-Oriented Input System; SandboxApplication; Sandbox; Agent; Utility classes; Lua binding; Summary; Chapter 2: Creating and Moving Agents; Creating a new sandbox project; Setting up the file structure
Extending the SandboxApplication classRunning your sandbox for the first time; Creating a new Decoda project; Configuring Decoda's run executable; Creating a sandbox Lua script; Creating a floor; Adding a light; Adding a skybox; Adding meshes to the sandbox; Creating sandbox objects; Shooting blocks; Creating an agent Lua script; Creating a visual representation; Updating an agent position; Updating an agent orientation; Agent properties; Orientation; The forward axis; The left axis; The up axis; Location; Position; Size; Height; Radius; Physics; Mass; The max force; The max speed; Speed
VelocityKnowledge; Target; Target radius; Path; Agents' movement; Mass; Speed; Velocity; Acceleration; Force; Agent-steering forces; Seeking; Applying steering forces to an agent; Clamping the horizontal speed of an agent; Creating a seeking agent; Pursuit; Fleeing; Evasion; Wandering; The target speed; Path following; Creating a path following agent; Avoidance; Collision avoidance; Obstacle avoidance; Avoiding blocks and agents; Group steering; Alignment; Cohesion; Separation; Creating a group of followers; Summing steering forces; Weighted sums; Priority-based forces; Summary
Chapter 3: Character AnimationsSkeletons and meshes; Mesh skeletons; Loading an animated mesh; Showing a skeleton; Attaching meshes to bones; Attaching a weapon to our soldier; Animation clips; Playing an animation on our soldier; Soldier animations; Crouching animations; Standing animations; Weapon animations; Soldier poses; Weapon poses; Manipulating animations; Enabling and disabling animations; Looping animations; The animation length; The animation time; Normalized time; Restarting an animation; Playing a non-looping animation; The animation rate; Animation blending; Animation weights
Blend window
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed December 18, 2014).
ISBN:
9781783281343
1783281340
OCLC:
1491309236

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account