Create Simple Enemy Behaviour with C# in Unity (Intro to AI)

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

Understand how to create behaviors for patrol, chase and attack.

Understand how to raise events based on given conditions for discrete behaviors.

Understand the principle of a behavior manager that can determine and switch between active behaviors.

Clock1.5 hours
BeginnerPrincipiante
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In this one-hour, project-based course, you'll learn how to create a simple enemy behavior tree. You'll learn how to make your enemy characters patrol an area, chase a player in range and attack when it's close enough for melee. You will be able to easily expand the behavior system we create, to add your own conditional behaviors. To build a behavior tree, this guided project will use and expand upon the following Unity concepts: - Transform-based movement - Rigidbody collisions and triggers - Interfaces - Events Consider this guided project to be a "capstone" project for beginners. If you can comfortably complete this course, understand all concepts presented and can reproduce them in your own projects, then congratulations! You have officially graduated to "Intermediate!"

Habilidades que desarrollarás

Video-game DevelopmentC sharp (C#) Programming LanguageUnity 3DUnityApplication development

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Introduction and License Activation

  2. Create a Basic Patrol Script

  3. Create a Basic Chase Script

  4. Create IBehavior and BehaviorManager

  5. Declare and Raise Events when Behavior Changes

  6. Write the Attack Behavior

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.