Enemy Damage using Hitboxes and Hurtboxes - Godot 4 Tutorial - Pt 13 - 2D Platform Game

Published: 24 October 2023
on channel: Rapid Vectors
10,049
283

Part 13 - This tutorial will teach you how to apply damage to your enemy when you fire bullets from your gun. You will learn how to create a hitbox and hurtbox which can apply and receive damage from bullets to the enemy. What you will learn in this tutorial can be applied to any game. This tutorial will help you get started with creating a 2D platform game using the Godot game engine.

Download the following Game Assets (the link has been changed since recording the original video)
Created by @ansimuz
💡 https://ansimuz.itch.io/gothicvania-p...

Download the ZIP file and the assets are under the warped-caves folder in location
Legacy Collection\Assets\Packs\warped-Caves

Download the following Game Assets (OLD ASSET LINK)
Created by @ansimuz
💡 https://itch.io/queue/c/463790/warped...

Subscribe to my channel for more tutorial updates
🔔    / @rapidvectors  

My code scripts are at my GitHub account
🔔 https://github.com/rapidvectors/tutor...

Would you like to buy me a coffee?
☕ https://www.buymeacoffee.com/rapidvec...

🎬 Video Chapters
0:00 - Introduction
0:30 - Create a hitbox for the bullet
6:09 - Create a hurtbox for the enemy
8:35 - Create the bullet impact effect
13:30 - Add the bullet damage to the enemy
16:05 - Create the enemy death effect

#godot #godot4 #godotengine#indiegame #indiedev #indiegamedev #tutorialyoutube #gamedev #gamedevelopment #gamedevelopmenttutorial #godottutorial #debugging #gdscript #parallax #parallaxeffect #hitboxes


Watch video Enemy Damage using Hitboxes and Hurtboxes - Godot 4 Tutorial - Pt 13 - 2D Platform Game online without registration, duration hours minute second in high quality. This video was added by user Rapid Vectors 24 October 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,049 once and liked it 283 people.