Make a Godot Roguelike Part 5 - Enemy attack and player dead
Matinator
Hi! In this video we will make the enemy hitbox to deal damage to the player and the player hurt and dead states. I wanted to add a health bar too, but it took more than I tough, so, I will make it in the next video.
Code: https://github.com/MateuSai/Godot-Roguelike-Tutorial Asset pack made by o_lobster: https://o-lobster.itch.io/simple-dungeon-crawler-16x16-pixel-pack Thanks bro!
0:00 Introduction 0:21 Flying creature hitbox 2:53 Player hurt and dead animations 4:16 Player state machine 6:01 Move player attack code 6:22 Fix game crash 7:03 Stop enemy after player death 7:59 Final result ... https://www.youtube.com/watch?v=H6mDX1678SU
2022-01-28
0.0 LBC
Copyrighted (contact publisher)
42049017 Bytes