viniciusgerevini / godot-aseprite-wizard

Godot Editor plugin to help import Aseprite animations to AnimationPlayers, AnimatedSprites and SpriteFrames.
MIT License
821 stars 42 forks source link

Automatically import all sprites in my project in one go #134

Closed sandord closed 4 months ago

sandord commented 5 months ago

Now and then I make changes to quite a few aseprite files. Then, to re-import them in my Godot project I have to work through all related scenes and select the sprite nodes and then the Import button. This is quite a tedious task.

It would be really really cool if there was a way to automatically import all sprites in my project in one go.

sandord commented 5 months ago

That being said, your addon is by far the best there is out there, compared to competing add-ons 👍

Skyflieger commented 5 months ago

Would love that feature. Or a way to import every file in one folder recursively into another. Would make handling with a large number of files way better.

viniciusgerevini commented 5 months ago

@sandord Thanks. This sounds like a good feature to have. I'll look into it. Before there were some limitations that would require some external files to solve this so I never invested on it, but now it should be possible.

viniciusgerevini commented 5 months ago

Or a way to import every file in one folder recursively into another.

@Skyflieger not sure I follow this one. Can you give me an example on how would you use this?

Skyflieger commented 5 months ago

Or a way to import every file in one folder recursively into another. @Skyflieger not sure I follow this one. Can you give me an example on how would you use this?

@viniciusgerevini maybe in the wizard if we select a folder rather than a file, the tool goes over all files in that folder and processes them according to the seconds

Example:

-AsepriteFolder ------Folder1 --------------File1.aseprite ------File2.aseprite -SpritesFolder

I select the AsepriteFolder and want the processed resouces to be out in the SpritesFolder so we end up like this:

-AsepriteFolder ------Folder1 --------------File1.aseprite ------File2.aseprite -SpritesFolder ------Folder1 --------------File1.png --------------File1.res ------File2.png ------File2.res

viniciusgerevini commented 5 months ago

Oh! I see. That makes sense. For some reason I didn't think about the wizard screen when you mentioned this. Thanks

viniciusgerevini commented 4 months ago

Changes from linked PRs are already in the asset lib (v7.4.0). It looks quite stable from my testing, but async operations can be tricky, so please report any bug as a new issue. Cheers.

sandord commented 4 months ago

I intended to say this last week but didn't get around to doing it: this is great news! I've been too busy to try it out yet but I certainly will!

viniciusgerevini commented 4 months ago

Thank you :)

sandord commented 4 months ago

I'm very happy with the way it works now. This saves me a lot of time! Thank you again!