Goutte / godot-addon-animated-shape-2d

Godot addon to animate a CollisionShape2D along with the frames of an AnimatedSprite2D. Useful for making changing hitboxes, hurtboxes and hardboxes. Comes with an Editor, making things easy.
MIT License
130 stars 1 forks source link
2d-game 2d-graphics game-development gdscript godot godot-addon godot-engine godot-plugin godot4 sprite-animation

Animated Shape 2D Addon for Godot

MIT Release FeedStarvingDev

A Godot 4.x addon that adds an AnimatedShape2D that can provide a custom shape for each frame of each animation of an AnimatedSprite2D.

It is useful to make custom hitboxes, hurtboxes, and hardboxes for each pose of your character, if you animated it using AnimatedSprite2D.

It comes with an Editor GUI to preview and edit your shapes, in the fashion of the SpriteFrames bottom panel.

A screenshot of the GUI showing a custom "Animated Shape" bottom panel in Godot

Features

Install

The installation is as usual, through the Assets Library within Godot, look for AnimatedShape2D. You can also simply copy the files of this project into yours, it should work.

Then, enable the plugin in Scene > Project Settings > Plugins.

Usage

Please see the addons' README.


🦊 Feedback and contributions are welcome!