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

Опубликовано: 24 Октябрь 2023
на канале: 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


Смотрите видео Enemy Damage using Hitboxes and Hurtboxes - Godot 4 Tutorial - Pt 13 - 2D Platform Game онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Rapid Vectors 24 Октябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,049 раз и оно понравилось 283 людям.