Build a single spritesheet
Closed this issue · 4 comments
Sounds like a great idea. I did some research today and I found a Godot 3 LPC implementation which solves this: https://github.com/DrJamgo/Godot_LPC_Spritesheet_Gen/blob/main/addons/lpc_spritesheet_gen/lpc_sprite.gd.
The function "_add_layer_sprite" looks like it uses atlastextures (which I also read about the other day) to do the flattening. While at least in Godot 4 the documentation on AtlasTextures isn't very clear, it seems like you can still accomplish this.
Another option is do leave that work to another system, outside the scope of the plugin. Would this plugin do the job?
It's relative simple, I just need some time. To make this I just need to create a new texture and blend the spritesheets: https://docs.godotengine.org/en/stable/classes/class_image.html#class-image-method-blend-rect
Hi Alex, I'm working on this right now, I'll have a draft PR in maybe an hour. Either now or for the future, any chance you have Discord or some other chat app? Would be nice to synchronously chat in the future, if you're open to it.