ok as i keep working and developing fighters on aseprite I commonly have a liked Idle Sprite at the start of each tag/lop, so i can see the animation starting from idle pose. on preview window etc. but when i export i keep deleting the frame manually so its not on the png/pcx fordelr i later import on game engine. soo i was wonder is there a way to tofle specific frames to not be imported but keep them in preview/time line?
i know there is a skip same frames when exporting spritesheets, but i ant find anything when exporting image sequences
Sorry, there’s no direct way to do that. However, you can use a simple script to automatically select the frames you want. Then, in the Export As window, select Frames: Selected frames.
The following script executes these simple steps:
- Selects the frames contained within all tags, but
- Omits the first frame of each tag
- Opens the export window
local skipFrames = 1
local framesToSkip = {}
for i,tag in ipairs(app.sprite.tags) do
table.insert(framesToSkip, tag.fromFrame.frameNumber + skipFrames)
for j=tag.fromFrame.frameNumber + skipFrames + 1 , tag.toFrame.frameNumber do
table.insert(framesToSkip, j)
end
end
app.range.frames = framesToSkip
app.command.SaveFileCopyAs { ui=true }
This can be improved; you can create an extension, making your script appear in any menu you choose.