
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
یاد بگیرید و هوش مصنوعی بازی را در یونیتی ۲۰۱۸ پیادهسازی کنید تا محیطهای هوشمند و دشمنانی کارآمد بسازید؛ با A*، ماشینهای حالت محدود (Finite State Machines)، درختهای رفتار (Behavior Trees) و NavMesh.
نکات برجسته
با یادگیری مفاهید ضروریِ هوش مصنوعی برای بازیها، بازیهای غنیتری بسازید؛ مثل درختهای رفتار و مشهای ناوبری
با استفاده از کیت Unity Machine Learning، رفتار شخصیتها و شبیهسازیها را بررسی و اجرا کنید
امکانات جدید یونیتی ۲۰۱۸ را ببینید تا پیادهسازی هوش مصنوعی در بازیتان راحتتر شود
توضیحات کتاب
توسعه هوش مصنوعی (AI) برای شخصیتهای بازی در یونیتی ۲۰۱۸ هرگز تا این اندازه آسان نبوده است. یونیتی مجموعهای از ابزارها را در اختیار توسعهدهندگان بازی و اپ قرار میدهد تا بتوانند هوش مصنوعی را پیادهسازی کنند؛ از روشهای پایه گرفته تا عاملهای هوشمند مبتنی بر یادگیری ماشین در سطح پیشرفته. با استفاده از این ابزارها از طریق API یونیتی یا قابلیتهای داخلی، امکانات بیپایانی برای ساختن جهانها و شخصیتهای بازیتان فراهم میشود.
این ویرایش چهارمِ کتاب با یونیتی به شما کمک میکند هوش مصنوعی را به شکل مفهومی ساده و قابل فهم بشکنید تا درک بنیادینی از موضوع به دست بیاورید و بعد بتوانید روی آن بنا کنید. سپس با کمک مجموعهای از مثالها، کتاب همان مفاهیم را به اجراهای واقعی تبدیل میکند و شما را قدمبهقدم از گذراندن پیادهسازیهایی راهنمایی میکند که برای برجسته کردن مفاهیم و قابلیتهای مهم مربوط به هوش مصنوعی بازی در یونیتی طراحی شدهاند.
در ادامه، یاد میگیرید چگونه الگوی ماشین حالت (state machine pattern) را تشخیص بدهید و یکی از نمونههای خودتان را پیادهسازی کنید. پس از آن، خواهید آموخت که چطور یک سیستم حسگر پایه برای عامل (agent) هوش مصنوعیتان پیاده کنید و آن را با یک ماشین حالت محدود (FSM) ترکیب کنید.
بعدتر، یاد میگیرید از قابلیت NavMesh داخلی یونیتی استفاده کنید و سیستم مسیریابی A* مخصوص خودتان را پیادهسازی کنید. سپس پیادهسازی «گلههای ساده» (flocks) و پویاییهای جمعیت (crowd dynamics) را یاد میگیرید؛ مفاهیمی کلیدی در هوش مصنوعی بازی در یونیتی. در ادامه، با یک نمونه ویژهی بازیمحور، نحوه پیادهسازی درخت رفتار (behavior tree) را فرا میگیرید. و در پایان، همه مفاهیم کتاب را روی ساخت یک بازی محبوب به کار خواهید گرفت.
آنچه در این کتاب یاد میگیرید
با برنامهنویسی C#، جهانها و شخصیتهای بازی هوشمندتر بسازید
با استفاده از مسیریابی و رفتارهای هدایتگر (steering behaviours)، حرکت خودکار شخصیتها را پیاده کنید
الگوریتمهای تصمیمگیری شخصیتهای غیرقابل کنترل (non-player characters) را با درختهای رفتار و FSM پیاده کنید
گلهها و جمعیتهای باورپذیر و بسیار کارآمد ایجاد کنید
برای عامل هوش مصنوعی، سیستمهای حسگر با رایجترین تکنیکها بسازید
سیستمهای تصمیمگیری طراحی کنید تا عاملها کارهای متفاوتی انجام بدهند
کاربرد یادگیری ماشین در یونیتی را بررسی کنید
این کتاب مناسب چه کسانی است
این کتاب برای توسعهدهندگان یونیتی است که درک پایهای از C# و محیط ویرایشگر یونیتی دارند. فرقی نمیکند دنبال ساخت اولین بازیتان هستید یا میخواهید دانشتان را به عنوان یک برنامهنویس بازی گسترش بدهید؛ در هر دو صورت، اطلاعات و مثالهای هیجانانگیزی درباره هوش مصنوعی بازی—از نظر مفاهیم تا پیادهسازی—پیش روی شما قرار میگیرد.
فهرست مطالب
آشنایی با هوش مصنوعی (AI)
ماشینهای حالت محدود
تصادفی بودن و احتمال
پیادهسازی حسگرها
گلهسازی
دنبالکردن مسیر و رفتارهای هدایتگر
مسیریابی A*
مش ناوبری (Navigation Mesh)
درختهای رفتار (Behavior Trees)
یادگیری ماشین
جمعبندی و یکپارچهسازی همه بخشها
Learn and Implement game AI in Unity 2018 to build smart game environments and enemies with A*, Finite State Machines, Behavior Trees and NavMesh.Key Features Build richer games by learning the essential concepts in AI for games like Behavior Trees and Navigation Meshes Implement character behaviors and simulations using the Unity Machine Learning toolkit Explore the latest Unity 2018 features to make implementation of AI in your game easier Book Description Developing Artificial Intelligence (AI) for game characters in Unity 2018 has never been easier. Unity provides game and app developers with a variety of tools to implement AI, from the basic techniques to cutting-edge machine learning-powered agents. 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 fourth edition with Unity will help you break down AI into simple concepts to give you a fundamental understanding of the topic to build upon. Using a variety of examples, the book then takes those concepts and walks you through actual implementations designed to highlight key concepts and features related to game AI in Unity.Further on, you'll learn how to distinguish the state machine pattern and implement one of your own. This is followed by learning how to implement a basic sensory system for your AI agent and coupling it with a Finite State Machine (FSM).Next, you'll learn how to use Unity's built-in NavMesh feature and implement your own A* pathfinding system. You'll then learn how to implement simple flocks and crowd dynamics, which are key AI concepts in Unity. Moving on, you'll learn how to implement a behavior tree through a game-focused example. Lastly, you'll apply all the concepts in the book to build a popular game.What you will learn Create smarter game worlds and characters with C# programming Apply automated character movement using pathfinding and steering behaviors Implement non-player character decision-making algorithms using Behavior Trees and FSMs Build believable and highly efficient artificial flocks and crowds Create sensory systems for your AI with the most commonly used techniques Construct decision-making systems to make agents take different actions Explore the application of machine learning in Unity Who this book is for This book is intended for Unity developers with a basic understanding of C# and the Unity editor. Whether you're looking to build your first game or are looking to expand your knowledge as a game programmer, you will find plenty of exciting information and examples of game AI in terms of concepts and implementation.Table of Contents Introduction to AI Finite State Machines Randomness and Probability Implementing Sensors Flocking Path Following and Steering Behaviors A* Pathfinding Navigation Mesh Behavior Trees Machine Learning Putting It All Together