Skip to content

KoBeWi/Godot-Frame-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Buy Me a Coffee at ko-fi.com

About

A simple editor script for Godot engine to convert Frames to new Frame Coords.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published