Skip to main content
  • Book
  • © 2021

Beginning Game AI with Unity

Programming Artificial Intelligence with C#

Apress
  • A practical guide to beginning game AI programming with Unity

  • Explains popular AI techniques for creating believable behavior for non-player characters

  • Takes a project-based approach to reinforce the concepts

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (5 chapters)

  1. Front Matter

    Pages i-xiv
  2. Introduction

    • Sebastiano M. Cossu
    Pages 1-22
  3. The Basics

    • Sebastiano M. Cossu
    Pages 23-51
  4. Paths and Waypoints

    • Sebastiano M. Cossu
    Pages 53-91
  5. Navigation

    • Sebastiano M. Cossu
    Pages 93-115
  6. Behaviors

    • Sebastiano M. Cossu
    Pages 117-139
  7. Back Matter

    Pages 141-143

About this book

Game developers will use this book to gain a basic knowledge of programming artificial intelligence using Unity and C#. You will not be bored learning the theory underpinning AI. Instead, you will learn by experience and practice, and complete an engaging project in each chapter.



AI is the one of the most popular subjects in gaming today, ranging from controlling the behavior of non-player characters to procedural generated levels. This book starts with an introduction to AI and its use in games. Basic moving behaviors and pathfinding are covered, and then you move through more complex concepts of pathfinding and decision making.




What You Will Learn
  • Understand the fundamentals of AI
  • Create gameplay-based AI to address navigation and decision-making problems
  • Put into practice graph theory and behavior models
  • Address pathfinding problems
  • Use the A* algorithm, the deus ex machina of pathfinding algorithms
  • Create a mini stealth game



Who This Book Is For


Developers and programming enthusiasts with a basic knowledge of Unity and C# who want to understand and master the foundations of artificial intelligence in games


Authors and Affiliations

  • LONDON, UK

    Sebastiano M. Cossu

About the author

Sebastiano Cossu is a software engineer and game developer. He studied computer science at the University of Rome "La Sapienza". He is currently working as Game UI Developer at Feral Interactive Ltd. in London. He wrote the Apress book, Game Development with GameMaker Studio 2.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access