Back to Browse

How to Implement Hitboxes and Hurtboxes in Godot | Area2D Tutorial

26.5K views
Mar 14, 2024
8:50

In this sequel, I leverage the modular health system created in the previous tutorial and guide you through implementing hitboxes and hurtboxes in #Godot. We will use Health System created in last video so be sure to check it first. You can also use your own health system with this tutorial. ===== 0:00 - Introduction 0:26 - Differences between hit box and hurt box 1:05 - Creating hit box 1:43 - Creating hurt box 4:30 - Setting up hit box and hurt box 5:19 - How Collision Mask and Collision Layer work 6:54 - Health depleted signal 8:10 - Final project ===== Download project with source code/assets: https://blazedev.games/creating-complete-health-system-in-godot/ ===== Check my other social media (like Twitter, Instagram or TikTok) using one simple link: https://blazedev.games Feel free to ask me for something in the comments section. You can also write me some suggestions for this or future videos. Bye! Just a heads up, some parts of the content in this video could be created by an AI or contains placeholder videos from websites like Pexels. Thanks for indulgence! Music from tunetank.com ===== #GodotTutorial, #GameDev, #Hitboxes, #Hurtboxes, #CollisionLayers, #CollisionMasks, #IndieDev, #2DGames

Download

1 formats

Video Formats

360pmp412.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Implement Hitboxes and Hurtboxes in Godot | Area2D Tutorial | NatokHD