poohcom1 / godot-animated-sprite-2-player

A Godot addon to convert animated sprite frames to animations in an animation player.
https://godotengine.org/asset-library/asset/1605
MIT License
41 stars 3 forks source link

feat: support both AnimatedSprite2D and AnimatedSprite3D #7

Closed mogita closed 11 months ago

mogita commented 11 months ago

Hi poohcom1, thank you for this brilliant addon.

Meanwhile I'm working on a HD2D-ish project, finding this addon can only work with AnimatedSprite2D. I suppose it could support 3D as well so I modified some lines to have it recognize both AnimatedSprite2D and AnimatedSprite3D nodes. Turned out it works for my project. So here's my PR.

Please forgive my formatter eliminating all the tabs on the blank lines. Please let me know how you think.

Thanks mogita

poohcom1 commented 11 months ago

Looks good to me!

Thankss :D