Closed EasterPeanut closed 5 years ago
Never checked this. This may work though:
new SpritesmithPlugin({
target: {
...,
image: path.resolve(__dirname, 'path/to/spritesheet.gif'
},
...
spritesmithOptions: {
engine: require('gmsmith')
}
})
If it will not work I don't think I'll be able to do anythinhg else.
If it will not work I don't think I'll be able to do anythinhg else.
Hm, too bad, I tried that already, but this will render the layers of the animated gifs on top of each other in the generated sprite.
I guess it's not very common to generate animating sprites anyway tho
I can imagine two reasons why you would want that.
I can only get the generated GIF sprite to be static. Is there a way to have it animated?