Boss Fight Animation Tree State Machine in Godot 4 @16bitdev
Boss Fight Animation Tree State Machine in Godot 4  @16bitdev
Uploaded May 2024 | Updated September 2026, 4 days ago
Making Boss fight in godot using animation tree with state machine,
includes health bar, and basic player interaction.

- Related Videos -
Range Skill - youtu.be/4SHqHFWYg-s
Combat Skill - youtu.be/HLVOke-iWw0

- Time Stamps -

0:00 - Preview
0:23 - Animation Setup for AnimationPlayer
5:33 - AnimationTree State Machine Setup
8:29 - Travel among states with randomness
10:54 - Travelling same state again
11:40 - Rare boss move with low chance
12:30 - Player Setup
13:05 - Jump & Dodge
16:21 - Player Detection
17:21 - Hitbox
22:15 - Projectiles
25:28 - Health Bar
26:28 - Player Projectile
28:13 - VFX
30:07 - Final Result & Thank you

- Asset Used -
Boss Sprite - chierit.itch.io/elementals-metal-bladekeeper
Health Bar - gabrielatot.itch.io/health-bars

- Code -
Boss - pastebin.com/SUxUwUE9
Player - pastebin.com/MxcQ4vj6
Projectile (Boss) - pastebin.com/5JGSpJSc
Player Projectile - pastebin.com/WDWe1JHG
Hitbox - pastebin.com/zAruKuYE

- Patreon -
patreon.com/16BitDev

- Discord -
discord.com/invite/AYv8FRz5ag
Boss Fight Animation Tree State Machine in Godot 4Modular Boss Fight: Bullet Hell ( Multi Phase + Custom Action )  in GodotMinimap in Godot 4Godot 4 2D Top-down Movement in 4 minutes! (OUTDATED)Base Building System - RTS Grid-Based Placement in Godot 4Skill System: Blackhole & Lightning Strike - RPG System Design - Godot 4Study the Game Design of GrannyHotbar using Custom Resource - Godot 4Create Your OWN Fishing Game in MinutesMain Menu - Godot 4Area of Effect - Damage over time - Godot 4How Conditional Turn Based Combat Works? | Godot 4
16BitDev |

Boss Fight Animation Tree State Machine in Godot 4

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER