top of page
Zdjęcie autoraFireRaccoon

Better Enemy AI in unity free course (Unity Tutorial)

This video helps you understand unity and how to step by step script enemy AI in unity.


►Hit the link to all Tutorials


Purpose of this tutorial is to understand how unity works and how to step by step code some behaviours like patrol, attack player, move, rotate with animations. if some subtitles are too fast i apology for that and please pause the video to read all sentence. This part will contain enemy ai in unity 2d from scratch (total 0). i hope that steps showed in this video will allow you first of all: understand C#, refactor scripts and rebuild them, scripts connection, good behaviours while scripting, trigger animations, trigger behaviours (AI)


►Contents of This Video:


00:00 - intro

00:44 - Create new project (downloading CInemachine, Input System)

01:50 - Downloading Enemy Asset from unity asset store

03:17 - Creating Enemy

10:39 - Scripting Parol behaviour with proper flip

25:39 - Creating Animations (Idle, run)

35:36 - Study Case why Singleton solution isnt good

37:00 - Refactorin Movement and Animation scripts

38:40 - Creating Player and Scripting Enemy Attack behaviour

1:02:51 - Attack Animation and Shoot at player using Animation

1:05:50 - Creating Aggro area for enemy

1:07:36 - Scripting Look At Player while attack

1:09:01 - Full finctionality - Patrol and whenever player is in aggro range it will attack player direction


►Don't forget to Subscribe for NEW game dev videos

►I know many things may be done better not as good as Brackeys, CodeMonkeyUnity, SasquatchBgames but good as well: "if something is working cannot be bad" :)


cheers FireRaccoon Games

























0 wyświetleń0 komentarzy

Opmerkingen


bottom of page