Unity 4.x Game AI Programming (Anglais) Broché – 23 juillet 2013
Rentrée scolaire 2017 : découvrez notre boutique de livres, fournitures, cartables, ordinateurs, vêtements ... Voir plus.
|Neuf à partir de||Occasion à partir de|
- Choisissez parmi 17 000 points de collecte en France
- Les membres du programme Amazon Prime bénéficient de livraison gratuites illimitées
- Trouvez votre point de collecte et ajoutez-le à votre carnet d’adresses
- Sélectionnez cette adresse lors de votre commande
Les clients ayant acheté cet article ont également acheté
Description du produit
Présentation de l'éditeur
Use your basic knowledge of Unity3D to add effective artificial intelligence to your games. This tutorial will take you through all the essentials, from flocking to pathfinding, from navigation graphs to behavior trees.
- A practical guide with step-by-step instructions and example projects to learn Unity3D scripting
- Learn pathfinding using A* algorithms as well as Unity3D pro features and navigation graphs.
- Implement finite state machines (FSMs), path following, and steering algorithms.
This book fills the gap between artificial intelligence (AI) books designed to learn underlying AI algorithms and general Unity3D books written to cover basic scene setup and scripting in Unity3D. Game AI Scripting in Unity3D covers implementing AI techniques such as flocking, pathfinding, path following, and behavior trees in Unity3D with example projects.
Game AI Scripting in Unity3D will show you how to apply AI techniques to your Unity3D projects using C# as the scripting language. Unlike other AI books and Unity3D books, this book tries to focus more on the application of AI techniques in the Unity3D engine, with sample projects that demonstrate finite state machines (FSMs), pathfinding, steering, navigation graphs, and behavior trees techniques.
This book shows how to implement various AI techniques in Unity3D by implementing the algorithm from scratch using C#, applying Unity3D built-in features, or using available scripts and plugins from the Unity Asset Store. For example, well be implementing our own A* algorithm to do pathfinding but will also explore the Unity3D navigation graphs feature. Then well use the Behave plugin to construct behavior trees for intelligent AI character behaviors.
Game AI Scripting in Unity3d covers other AI techniques such as flocking behavior, building a sensory system for taking inputs from the environment and other AI agents, and so on. In the final chapter this book will show you how to build a racing game AI project using Unity3D and applying the techniques described in earlier chapters.
What you will learn from this book
- Building finite state machines (FSMs)
- Implementing a sensory system
- Applying flocking behavior for a crowd
- Executing your own A* pathfinding algorithm in Unity3D
- Applying random and probability techniques in a betting game
- Using the Unity3D pro feature, navigation graphs, for path finding
- Learning about behavior trees and the Behave plugin
- Implementing a racing game AI through the final chapter project
Step-by-step practical tutorial
Who this book is written for
Are you are a programmer with basic knowledge of Unity3D who would like to add AI features to your game? Are you looking for a reference on implementing AI in Unity3D with simple to follow instructions, and lots of sample code and projects? Then this book is for you. You should have some background in C# language as this book will use C# for scripting. However if you know any other language you should be able to follow this book fairly easily.
Biographie de l'auteur
Aung Sithu Kyaw
Aung Sithu Kyaw is originally from Myanmar, (Burma) and has over seven years of experience in the software industry. His main interests include game-play programming, startups, entrepreneurship, writing, and sharing knowledge. He holds a Master of Science degree from Nanyang Technological University (NTU), Singapore, majoring in Digital Media Technology. Over the past few years, he has worked as a Research Programmer at INSEAD, Sr. Game Programmer at Playware Studios Asia, Singapore, and lastly as a Research Associate at NTU. In 2011, Aung co-founded Rival Edge Pte Ltd., a Singapore-based interactive digital media company that provides a technical consultancy service to creative agencies and also produces social mobile games. Visit http://rivaledge.sg for more information. Aung is the co-author of Irrlicht 1.7 Realtime 3D Engine Beginner's Guide, Packt Publishing, and is also a visiting lecturer at NTU conducting workshops on game design and development using Unity3D.He can be followed on Twitter @aungsithu and by using his LinkedIn profile linkedin.com/in/aungsithu.
Clifford Peters is a programmer and a computer scientist. He has reviewed the following Packt Publishing books: Unity Game Development Essentials, Unity 3D Game Development by Example Beginner's Guide, Unity 3 Game Development Hotshot, Unity 3.x Game Development by Example Beginner's Guide, Unity iOS Game Development Beginner's Guide, and Unity iOS Essentials.
Thet Naing Swep
Thet Naing Swe is the co-founder and Chief Creative Director of Rival Edge Pte Ltd., based in Singapore. He graduated from the University of Central Lancashire where he majored in Game Design and Development and started his career as a game programmer at the UK-based Code Monkeys studios. He relocated to Singapore in 2010 and worked as a graphics programmer at Nanyang Technological University (NTU) on a cinematic research project together with Aung. Currently at Rival Edge, he's responsible for interactive digital media consulting projects mainly using Unity3D as well as making social mobile games for a casual audience. He can be reached via firstname.lastname@example.org.
Aucun appareil Kindle n'est requis. Téléchargez l'une des applis Kindle gratuites et commencez à lire les livres Kindle sur votre smartphone, tablette ou ordinateur.
Pour obtenir l'appli gratuite, saisissez votre numéro de téléphone mobile.
Détails sur le produit
Si vous vendez ce produit, souhaitez-vous suggérer des mises à jour par l'intermédiaire du support vendeur ?
Meilleurs commentaires des clients
- Instead of explaining clearly the theoretical concepts with some diagrams at the beginning, and then having a practical part on Unity, it often mixes both, which makes the concept not so clear...
- The A* part is not clear at all, as the concept is not well explained
- The code snippets are mediocre. They are not well structured, not optimized, not using recent Unity feature (animator someone?), which is a shame in a book which is also supposed to train the readers to the scripting on Unity.
- The last game example is too basic, and using simple FSM instead of Behavior Trees as explained in the previous chapter!
- No explanations about more advanced games like strategy games, FPS, etc... Too basic examples, as said above.
At the end, I'm quite frustrated, as I though I would have learnt more with such a book. I hope next editions will be far better!
Commentaires client les plus utiles sur Amazon.com
I do not believe in reinventing the wheel, but building simple versions of complex systems (like the FSM chapters did) is really helpful for understanding and using more complete solutions provided by a third party.
All in all an ok book, but the letdown in the Behavior Tree chapters lost it a couple of stars.
With a concept like AI programming, you can guess this isn't a beginner's book on Unity 3D or programming. The authors spend no time on Unity's interface or programming concepts like interfaces or compilation processes. That is a good thing. There are plenty of books out there that do that.
If you have read at least one AI book before, I would imagine this book would be a little simplistic for you. It definitely targets the intermediate programmer who has no experience with AI concepts.
Theory vs Practice
After reading the first few chapters on finite state machines and probability, I really enjoyed the alternating between theory and code examples. There is a nice balance between introducing AI concepts, than supplementing those concepts with code examples in Unity.
By the way, when I read these type of coding books now, I usually download the projects and analyze the code through an IDE like MonoDevelop. Formatted code on a printed page or PDF can be very difficult to read sometimes. With all of the word wrapping and removed spacing that they use, it can really slow you down while reading. The book doesn't include all of the code for each project, so you aren't going to get that much working without downloading the project files.
Chapter Ranking System
I just came up with this idea and thought I would try it out. This is a ranking with each chapter and how good I think it is. Yes, they are all competing against each other to be the best section in the book.
1. Chapter 9: Behavior Trees
2. Chapter 2: Finite State Machines
3. Chapter 6: Path Following and Steering Behaviors
4. Chapter 5: Flocking
5. Chapter 3: Random and Probability
6. Chapter 4: Implementing Sensors
7. Chapter 7: A* Pathfinding
8. Chapter 1: Introduction to AI
9. Chapter 8: Navigation Mesh
10. Chapter 10: Putting It All Together
I think I just ordered these into what I currently think is the most useful for me, but I am sticking to my list! I really had those "aha" moments when going through the finite state machine concepts and behavior trees ( using Behave). Note: AngryAnt just came out with Behave 2.0 ($100), but you can still use the free 1.4 version.
The path following and steering chapter is pretty neat because it talks about dynamic obstacle avoidance (ie dodging a car coming at you).
The flocking chapter is interesting conceptually as well as the two different implementations it introduces. Having flocks of objects move around together seems approachable now.
The part I liked the most about the randomness and probability chapter was learning how slot machines work at casinos (they are tricky). Randomness and Probability aren't really AI specific, so the concepts are not used much outside of this chapter.
The A* path finding chapter was over my head. The chapter builds an A* path finding system from scratch, but the concepts are a little difficult to understand since there is a lot of recursion with children stuff going on. I read it and tried, but didn't really understand it at a deep level.If you aren't familiar with the algorithm, it creates a grid of the entire map and calculates optimum paths between two points. After finishing this chapter, I decided I can just use it "as is" and worry about understanding it if I would ever need to alter it.
I put Chapter 10 last, For the final project, the authors create a mediocre little Twisted Metal type game, but there is little AI that they actually implement. The cars don't even know when they hit a wall ( or know how to drive backwards if they get stuck). With all of the neat concepts and patterns that the book introduced, I think it would have been better to make a game that was more AI heavy like a simple strategy game. I am not reading an AI book to get better at instantiating explosions or fire missles.
I also didn't see this chapter as helpful because some implementations they used were earlier stated that they don't scale well (looking at you advanced finite state machine classes ). I understand learning simple solutions to grasp a concept. I just didn't like how they presented a better solution for state management (Behave) , then the very next chapter fall back on an inferior solution. Why would I want to go back to that archaic thing!
This gripe is just about one chapter, so 90% of the book still has solid and useful content that people will benefit from if they are new to AI.
I enjoyed this book tremendously. I was a little apprehensive reading it at first since I hear how difficult artificial intelligence can be. I feel AI is a subject I might be more interested in now - which is a good feeling to have at the end of a book. If you are new to AI programming and use Unity3D as your engine, I would recommend this. I don't think there is another Unity book out there on AI, so it doesn't have much competition right now.