How to Make a Flying Enemy - 2D Platformer Crash Course in Unity 2022 (Part 22)
Chris' Tutorials
Learn how to make an flying enemy that moves between waypoints and ignores gravity for a Unity 2D Platformer game.
Reference Project Patreon Download ➣ https://www.patreon.com/posts/2d-platformer-73894085 2D Crash Course Platformer Tutorial Playlist ➣ https://www.youtube.com/playlist?list=PLyH-qXFkNSxmDU8ddeslEAtnXIDRLPd_V Play the Project in Web Browser ➣ https://chris-tutorials.itch.io/platformer-crash-course-reference-project
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://www.patreon.com/christutorials https://chris-tutorials.itch.io/ https://linktr.ee/ChrisTutorials
◢ Chris Recommends ◥ Master Skills with Skillshare Video Courses ►► https://www.skillshare.com/r/user/christutorials?gr_tch_ref=on Save Money Shopping Online with Honey Extension ►► https://joinhoney.com/ref/qd04c25
00:00 - What to Expect 00:30 - Creating FlyingEye Prefab 02:27 - Rigidbody & Animator Components 03:31 - Creating Animation Clips 07:54 - Creating Bite Attack 10:51 - FlyingEye Script 12:53 - Animator Transitions Setup 16:52 - Flying Waypoints Movement 28:41 - FIX: Increase Bite Detection Zone Size 29:48 - FIX: OnStateMachineEnter Skipped by Transition 31:20 - Flip Direction when Flying Left or Right 35:20 - Death State Setup 36:41 - FIX: Enemies Can Take Health Pickup 37:52 - Fade Out Behaviour Delay 39:37 - Make Enemy Fall Straight Down on Death 40:15 - Falling Ground Hit Collider 42:20 - Make Falling on CharacterDeath UnityEvent 45:26 - Wrapup ... https://www.youtube.com/watch?v=Kz7j-Gh1nZ0
230202161 Bytes