THIS Is How To Take Hits in Godot - in 4 MINUTES!

preview_player
Показать описание
#godot #gamedev

Ever needed to show some healthbars on your enemies, or display floating damage texts above your hero's head? In Godot, setting up a basic but enjoyable health/hit mechanic is actually not that hard... :)

👉 Full list of assets:
ENV
-------

CHARACTERS
-----------------------

VFX
-------

UI/ICONS
---------------

SFX/MUSICS
---------------------

FONTS
-----------

(This tutorial was made in Godot 4.3)

Royalty Free musics:
---------------------------------
Artist: Benjamin Tissot
License code: NI02ZJ3DRLWVI6MY
License code: RQUFFYOCE9AEJKF4
Music I use: Bensound
License code: B6IB9FOAHGFO9HSZ
License code: VMOQD2QVAC00RBIC
Рекомендации по теме
Комментарии
Автор

That's a great tutorial for doing like, hit reaction & taking damage, I will say I kind of assumed this would be about implementing the act of hitting itself, since for example melee detection and pairing that up with animations can be confusing, pahaha - keep up the fantastic work!!

Schattenpuma
Автор

Hey Mina, loved the video as always! 😊 I noticed that in your C# example, you didn’t use an IDamageable interface for the TakeDamage method, I’m guessing that was a conscious choice to keep things simple for your viewers. Just thought I’d mention it, since using interfaces like that can be super useful in larger projects. Keep up the awesome work!

Gierki_Dev
welcome to shbcf.ru