Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

Hit Zone, Status & Effect Node

An asset by JBSnippets
The page banner background of a mountain and forest
Hit Zone, Status & Effect Node thumbnail image
Hit Zone, Status & Effect Node thumbnail image
Hit Zone, Status & Effect Node thumbnail image
Hit Zone, Status & Effect Node hero image

Quick Information

0 ratings
Hit Zone, Status & Effect Node icon image
JBSnippets
Hit Zone, Status & Effect Node

A custom node used to detect a hit from an attack and creates a series of statuses and/or effects on the target.This custom node can be used to detect a hit from an attack by monitoring collisions when a node body enters the selected Area2D. After calling the hit_body function either manually or automatically when collision is detected, status and/or effects are created in the target node body.

Supported Engine Version
4.1
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
8 months ago
Git URL
Issue URL

Hit Zone, Status & Effect ~ Godot 4+

A custom Godot 4+ node used to detect a hit from an attack and creates a series of status/effects on the target.

This custom node can be used to detect a hit from an attack by monitoring collisions when a node body enters the selected Area2D. After calling the hit_body function either manually or automatically when collision is detected, status/effects are created in the target node body.

🧬 Features

  • Automatically create statuses and/or effects when node body hits an Area2D.
  • Easily add a dictionary of status/effect resistances.
  • Includes Damage, Heal and Knockback effects.
  • Built to integrate with JBS Health Node.
  • Signals are emitted before and after status/effect application.
  • Extend and create your own status and effect!

πŸ’½ Supported Versions

πŸ“₯ Installing the Plugin

Install using Godot's AssetLib

  1. Go to the AssetLib in the Godot Editor.
  2. Type "hitzone" to search for the HitZone node.
  3. Select the asset (by JBSnippets 😊) and click Download.

Install with examples

  • Download as a ZIP file from this repository or
  • Clone this repository

πŸš€ How to add the node

Once this plugin is enabled, you can add the HitZone node as a child of another node, like a StaticBody such as a weapon, trap, or projectile, to utilize its features.

  1. Right-click on a node or press Ctrl+A.

README Add Node

  1. Type "hitzone" on the Search textbox of the Create New Node form to filter the node list and easily find the HitZone node.

README Add Node

  1. Double-click the HitZone node to add as a child of the node.

README Add Node

πŸ“Ί Video on How to use the plugin.

README Watch the video

πŸ“‘ More Plugins!

Head on over to my website at https://plugins.jbsnippets.com to read more about this plugin and other plugins that I've been creating during my game development journey with Godot!

A custom node used to detect a hit from an attack and creates a series of statuses and/or effects on the target.

This custom node can be used to detect a hit from an attack by monitoring collisions when a node body enters the selected Area2D. After calling the hit_body function either manually or automatically when collision is detected, status and/or effects are created in the target node body.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Hit Zone, Status & Effect Node icon image
JBSnippets
Hit Zone, Status & Effect Node

A custom node used to detect a hit from an attack and creates a series of statuses and/or effects on the target.This custom node can be used to detect a hit from an attack by monitoring collisions when a node body enters the selected Area2D. After calling the hit_body function either manually or automatically when collision is detected, status and/or effects are created in the target node body.

Supported Engine Version
4.1
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
8 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers