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

Not able to edit the shape at all #2

Closed nyrrrr closed 10 months ago

nyrrrr commented 10 months ago

Hi,

I added your plugin, enabled it and then added the new AnimatedShape2D to my player node. There I selected the animated sprite and collision shape and then added a new ShapeFrame. image

When I now open the Animated Shape tab, the animations are listed, but when I click on them nothing happens image

There's also a bunch of errors in my output log which might be related to that problem. image

Do you have any suggestions on how I can fix that?

Goutte commented 10 months ago

Thanks for the bug report !

This looks like the Editor cannot instantiate the frame editor scene.

Did rebooting the Godot Editor solve the issue ?

Goutte commented 10 months ago

There was a leftover texture crashing the shape frame editor scene.

You can either grab the new, patched source of the addon, or open the scene res://addons/goutte.animated_shape_2d/editor/shape_frame_editor.tscn and let Godot fix it for you.

Do tell me if that works for you (it should). :rocket:

Goutte commented 10 months ago

@nyrrrr Hahaha I did not recognize you :joy:

Thanks again for testing this and taking the time to make a report. It was a really dumb bug, which I would never have seen because I always open the scenes, even in my blank test project.

I've added you as contributor of the project (it means you can create and assign labels, and make branches, and even commit to main perhaps), since you were the trigger for me to package this.

nyrrrr commented 10 months ago

Alright, thanks. :D I will try it out soon

Goutte commented 10 months ago

I'm confident this has been fixed, so I'm closing.

Do reopen if I'm wrong !