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

oferecido por
Coursera Project Network
Neste projeto guiado, você irá:

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
BeginnerBásico
CloudSem necessidade de download
VideoVídeo em tela dividida
Comment DotsInglês
LaptopApenas em desktop

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 você desenvolverá

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

Aprender passo a passo

Em um vídeo reproduzido em uma tela dividida com a área de trabalho, seu instrutor o orientará sobre esses passos:

  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

Como funcionam os projetos guiados

Sua área de trabalho é um espaço em nuvem, acessado diretamente do navegador, sem necessidade de nenhum download

Em um vídeo de tela dividida, seu instrutor te orientará passo a passo

Perguntas Frequentes – FAQ

Perguntas Frequentes – FAQ

Mais dúvidas? Visite o Central de Ajuda ao estudante.