In this tutorial we will create a new chase state that can be added to our enemy state machines, including a basic vision cone. We’ll do this while creating a new goblin enemy.
Topics Covered: Chase Player, Enemy States, Enemy Vision Detection, Area2D, PolygonCollider2D, Animations
New Assets Needed:
- goblin.png
Asset Download Page: michaelgames.itch.io/2d-actio...
GitHub Repo: github.com/michaelmalaska/aar...
--------------------
Chapters
--------------------
0:00 Intro
0:37 Setup Goblin Files
2:16 Update Goblin Sprite & Animations
7:58 Add Goblin Chase Animations
9:48 Spear HurtBox
13:48 VisionArea Scene & Script
20:58 Chase State Script and Settings
31:03 We Done Did It!
--------------------
Series Playlist: • Make a 2D Action & Adv...
27 май 2024