AnimatedShape2D

AnimatedShape2D is a Godot 4 addon that allows you to customize collision shapes for each frame of an AnimatedSprite2D animation. This is useful for creating precise hitboxes, hurtboxes, and hardboxes for character animations.

https://github.com/Goutte/godot-addon-animated-shape-2d

Preview Image

Preview

AnimatedShape2D: Precise Collision Shapes for Animated Sprites

AnimatedShape2D is a Godot 4.x addon designed to enhance the control over collision shapes in 2D animations. It provides a way to define a custom shape for each frame of an AnimatedSprite2D, which makes it ideal for creating precise hitboxes, hurtboxes, and hardboxes for character animations.

Key Features

  • Customizable Shapes: Define a unique shape for every frame of your animations, allowing for highly accurate collision detection.
  • Configurable Fallbacks: Implement fallback shapes to ensure collision detection even when specific frames lack defined shapes.
  • Editor GUI: A dedicated editor GUI provides a real-time preview and editing environment, similar to the SpriteFrames panel.
  • Undo & Redo Support: Seamless undo and redo functionality ensures a smooth and iterative workflow.
  • Extensible Design: The addon is designed to be extensible, allowing for further customization and integration.

Installation

Install AnimatedShape2D directly from the Asset Library within Godot. Alternatively, you can manually copy the project files into your Godot project and enable the plugin in the Project Settings under the Plugins tab.

This addon empowers developers to create more polished and responsive 2D games by precisely aligning collision shapes with animation frames.

Resource Details

tool

Goutte



4.x