viniciusgerevini / godot-aseprite-wizard

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

Hide generated png files ? #163

Open LelouBil opened 2 months ago

LelouBil commented 2 months ago

Is it possible to have generated .png files in the .godot folder or something ? Since I do not want them tracked in source control

viniciusgerevini commented 2 months ago

I'm afraid this is not possible at the moment. The plugin generates the png file and lets Godot use the default importer to import the texture. This generates smaller optimized files to use in runtime. Godot does not trigger the importer if the file is inside .godot or .import folders.

In the early implementations I did do like you suggested, saving the file in .imports and loading it manually, however it resulted in non-optimised raw files that sometimes were embedded into the SpriteFrames, making it heavier than having the external file in the version control.

viniciusgerevini commented 2 weeks ago

I started a discussion on Godot proposals that could potentially solve this. Usually these discussions only get attention if they gather enough upvotes, so for anyone finding this issue, if you are interested in this, please upvote https://github.com/godotengine/godot-proposals/discussions/11042