This plugin will convert animations using Sprite's frame
property to frame_coords
, which is more resistant to changing the spritesheet layout, because it references the actual x/y coordinate of frame instead of some index that is prone to move. The new property was introduced in Godot 3.2, so the converter is not as relevant now, but maybe you have some old animations or just discovered frame_coords
and now you can't live without it idk.
Just run the script from script editor, while having AnimationPlayer selected. The script will automatically convert all frame
tracks of any referenced Sprite node.
- Select AnimationPlayer node
- Open
ConvertFrames.gd
in Script Editor - Select File -> Run (Ctrl + Shift + X by default)
- Check the console for output
You can find all my addons on my profile page.