Godot Frame Converter

by KoBeWi

7

Godot Frame Converter

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.

Usage

Just run the script from script editor, while having AnimationPlayer selected. The script will automatically convert all frame tracks of any referenced Sprite node.

  1. Select AnimationPlayer node
  2. Open ConvertFrames.gd in Script Editor
  3. Select File -> Run (Ctrl + Shift + X by default)
  4. Check the console for output

You can find all my addons on my profile page.

Version

1.0.1

Engine

3.4

Category

Tools

Download

Version1.0.1
Download

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author