We will code the logic for the boss fight using the state machine we created in the last video. The boss will randomly choose states, attack, take damage, and die.
Part 1 can be found here: kzitem.info/news/bejne/u6KB03ircolpoYY
0:00 Intro
0:26 Last tutorial recap
0:43 Set up navigation and physics process function for attack and chase states
1:37 Set up bone attachment to damage player when troll punches
2:22 Add areas to detect player to start chase animation, attack animation
3:09 Troubleshooting
3:58 Adding health and damage to boss
4:44 Creating rock drop
5:47 Choose random states
6:35 Adding sound
Негізгі бет Ғылым және технология Godot 4 Boss Fight Animation Tree State Machine Part 2
Пікірлер: 9