This is a plugin for Godot Engine to import
animations into SpriteFrames
resource from the Aseprite.
Screencast:
Simply download it from Godot Asset Library: https://godotengine.org/asset-library/asset/767.
Alternatively, download or clone this repository and copy the contents of the
addons
folder to your own project's addons
folder.
Then enable the plugin on the Project Settings.
-
Import Aseprite file as
SpriteFrames
resource. Each tag in Aseprite is aSpriteFrames
animation. -
Get frame duration to calculate animation speed from first frame of each tag.
-
Not recommended for large files (high resolution and many frames) because Importer stores result data to compressed resource with embedded texture.
-
Supports animation direction:
Forward
,Reverse
andPing-pong
-
Supports inner padding of each frame to avoid distortions on edges
-
Supports looped animations for tags that names from underscore ("_")
-
Checks duplicated and empty tag names
-
Correctly updates cached resource currently loaded in editor (but if you keep open Sprite Frames animation tool, you have errors that go away after Godot restart)
- Go to Project -> Project Settings -> Aseprite Animation Importer and pecify Aseprite Executable Path
- Place your Aseprite files inside your project
- PROFIT!
The resource can be used as Frames
property value for AnimatedSprite
, but you can not edit it's animations it in Godot.
If you need to make changes, change Aseprite file directly
If the file can't be imported, an error message will be generated in the output. Please check the output if you are having an issue.
MIT License. Copyright (c) 2020 Nikolay Lebedev.