A Krita plugin to export animations as spritesheets.
Note
This plugin can only support animation timelines on Krita version 4.2.0 or later, as that was when the Python animation API was added. Alternatively, you may export layers as animation frames.
- Export only unique frames
- Choose whether to place the sprites horizontally or vertically
- Define the number of columns if placed horizontally, and rows if placed vertically
- By default, the sprites are fit into a square
- Write a JSON texture atlas
- Export individual frames/sprites as an image sequence
- Define the first frame, last frame, and frame step
- Pad or clip sprites
- To import a spritesheet to the animation timeline of a new layer:
- With the spritesheet open, go to
Image > Image Split
- Then, in a new file of the same dimensions as one frame, use
File > Import Animation Frames
- With the spritesheet open, go to
- To merge a spritesheet:
- Use
File > Import Animation Frames
to add new sprites - Then use
Tools > Scripts > Export as Spritesheet
to export the old and new sprites
- Use
- Download the plugin using the green "Code" button on this page, then click "Download ZIP"
- Import the plugin into Krita using one of the following:
- Open Krita
- Go to
Tools > Scripts > Import Python Plugin
- Select the downloaded ZIP file
- Go to
- Extract the ZIP file
- Find
pykrita
in Krita's resources folder- The resources location can be found in
Settings > Configure Krita...
, thenGeneral > Resources
- Alternatively, you can open the resources folder through
Settings > Manage Resources > Open Resources Folder
- The resources location can be found in
- Move
spritesheetExporter.desktop
and thespritesheetExporter
folder intopykrita
- Find
- Open Krita
- Restart Krita if it was open
- Activate the plugin
- Go to
Settings > Configure Krita > Python Plugin Manager
- Check
Spritesheet Exporter
- Go to
- Restart Krita
- You can now use it through
Tools > Scripts > Export as Spritesheet
!
Check Manual.html for more information.
- Falano and kritaSpritesheetManager for making the wonderful plugin this fork is based on!