Damageable Enemies, Hitboxes, & Hurtboxes - 1 Bit Platformer Part 5 - Godot 4.3 Series

5 months ago
5

Make an enemy that can be hit by projectiles by using hitboxes and hurtboxes to change the current health value on the enemy.

Project Downloads ~ Snapshot at Each Videos End
Ko-fi ➣ https://ko-fi.com/post/Project-1-Bit-Projectile-Platformer-Tutorial-Ser-U7U510EBNX
Patreon ➣ https://www.patreon.com/posts/107952055

Assets & Credits ➣ https://pastebin.com/qa4NiTyu

Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops

➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
https://ko-fi.com/christutorials
https://patreon.com/christutorials
https://chris-tutorials.itch.io/

➣ Support Channel with Crypto Donations
https://pastebin.com/WAnBPcXs
00:00 - What to Expect
01:02 - Projectile Collision Mask
03:41 - Projectile Gravity Scale
04:18 - Create an Attackable Enemy
07:06 - Making a Hurtbox Area2D
10:02 - Hurtbox and Stats Scripts
18:18 - Hitbox2D Script
20:51 - Add Weapon Stats to Hitbox
22:41 - Sharing Weapon Stats
26:10 - Testing Hit Enemies with Projectiles
29:04 - Wrapup

Loading comments...