Skip to content

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.

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • customize a shape for each frame of your animations
  • configurable fallbacks
  • editor GUI, updated in real time
  • supports undo & redo where it matters
  • extensible

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!

About

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.

Topics

Resources

License

Stars

Watchers

Forks