
Unity 5.x Game AI Programming Cookbook
Beschreibung
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
- [*] Discover how AI can be applied to a wide range of games to make them more interactive.
- [*]Instigate vision and hearing abilities in your agent through collider based and graph based systems
Book DescriptionUnity 5 comes fully packaged with a toolbox of powerful features to help game and app developers create and implement powerful game AI. Leveraging these tools via Unity's API or built-in features allows limitless possibilities when it comes to creating your game's worlds and characters. This practical Cookbook covers both essential and niche techniques to help you be able to do that and more. This Cookbook is engineered as your one-stop reference to take your game AI programming to the next level. Get to grips with the essential building blocks of working with an agent, programming movement and navigation in a game environment, and improving your agent's decision making and coordination mechanisms - all through hands-on examples using easily customizable techniques. Discover how to emulate vision and hearing capabilities for your agent, for natural and humanlike AI behaviour, and improve them with the help of graphs. Empower your AI with decision-making functions through programming simple board games such as Tic-Tac-Toe and Checkers, and orchestrate agent coordination to get your AIs working together as one. What you will learn - [*] Use techniques such as A*and A*mbush to empower your agents with path finding capabilities.
- [*] Create a representation of the world and make agents navigate it
- [*] Construct decision-making systems to make the agents take different actions
- [*] Make different agents coordinate actions and create the illusion of technical behavior
- [*] Simulate senses and apply them in an awareness system
- [*] Design and implement AI in board games such as Tic-Tac-Toe and Checkers
- [*] Implement efficient prediction mechanism in your agents with algorithms such as N-Gram predictor and naïve Bayes classifier
- [*] Understand and analyze how the influence maps work.
Who this book is forThis book is intended for those who already have a basic knowledge of Unity and are eager to get more tools under their belt to solve AI and gameplay-related problems.
Alle Preise
Weitere Details
Weitere Ausgaben
Andere Ausgaben

Person
Jorge Palacios is a software and game developer with a BS in computer science and eight years of professional experience. He's been developing games for the last five years in different roles, from tool developer to lead programmer. Mainly focused on artificial intelligence and gameplay programming, he is currently working with Unity and HTML5. He's also a game-programming instructor, speaker, and game-jam organizer.
Inhalt
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: Behaviors - Intelligent Movement
- Introduction
- Creating the behavior template
- Pursuing and evading
- Arriving and leaving
- Facing objects
- Wandering around
- Following a path
- Avoiding agents
- Avoiding walls
- Blending behaviors by weight
- Blending behaviors by priority
- Combining behaviors using a steering pipeline
- Shooting a projectile
- Predicting a projectile's landing spot
- Targeting a projectile
- Creating a jump system
- Chapter 2: Navigation
- Introduction
- Representing the world with grids
- Representing the world with Dirichlet domains
- Representing the world with points of visibility
- Representing the world with a self-made navigation mesh
- Finding your way out of a maze with DFS
- Finding the shortest path in a grid with BFS
- Finding the shortest path with Dijkstra
- Finding the best-promising path with A*
- Improving A* for memory: IDA*
- Planning navigation in several frames: time-sliced search
- Smoothing a path
- Chapter 3: Decision Making
- Introduction
- Choosing through a decision tree
- Working a finite-state machine
- Improving FSMs: hierarchical finite-state machines
- Combining FSMs and decision trees
- Implementing behavior trees
- Working with fuzzy logic
- Representing states with numerical values: Markov system
- Making decisions with goal-oriented behaviors
- Chapter 4: Coordination and Tactics
- Introduction
- Handling formations
- Extending A* for coordination: A*mbush
- Creating good waypoints
- Analyzing waypoints by height
- Analyzing waypoints by cover and visibility
- Exemplifying waypoints for decision making
- Influence maps
- Improving influence with map flooding
- Improving influence with convolution filters
- Building a fighting circle
- Chapter 5: Agent Awareness
- Introduction
- The seeing function using a collider-based system
- The hearing function using a collider-based system
- The smelling function using a collider-based system
- The seeing function using a graph-based system
- The hearing function using a graph-based system
- The smelling function using a graph-based system
- Creating awareness in a stealth game
- Chapter 6.: Board Games AI
- Introduction
- Working with the game-tree class
- Introducing Minimax
- Negamaxing
- AB Negamaxing
- Negascouting
- Implementing a tic-tac-toe rival
- Implementing a checkers rival
- Chapter 7: Learning Techniques
- .Introduction
- Predicting actions with an N-Gram predictor
- Improving the predictor: Hierarchical N-Gram
- Learning to use Naïve Bayes classifiers
- Learning to use decision trees
- Learning to use reinforcement
- Learning to use artificial neural networks
- Creating emergent particles using a harmony search
- Chapter 8: Miscellaneous
- Introduction
- Handling random numbers better
- Building an air-hockey rival
- Devising a table-football competitor
- Creating mazes procedurally
- Implementing a self-driving car
- Managing race difficulty using a rubber-banding system
- Index
- _GoBack
Systemvoraussetzungen
Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet – also für „fließenden” Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.
Dateiformat: PDF
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.