I think the title says it all. I’m trying to write a custom exporter that will do most of what the
Export Sprite Sheet tool already does, but with some additional options that I need (like automatically creating flipped versions of a sprite, exporting layers individually, etc.) and generating a JSON file with all of the important details so that we can use the sprite sheet programmatically. However, since we can’t use
require, I can’t just import the
Is anybody using other methods to handle JSON manipulation in Aseprite scripts? I’d rather not write an encoder to convert Lua tables to JSON, but that’s what I’m currently leaning towards.