martinhodler / unity-aseprite-importer

An aseprite-file importer for unity written in C#, built upon the experimental AssetImporter API
GNU General Public License v3.0
323 stars 49 forks source link

Tileset Options wont slice up sprite sheet #34

Open peachpieproductions opened 4 years ago

peachpieproductions commented 4 years ago

Hey there! when I change the values under "TilesetOptions" the image does not get sliced when set to import type "Tileset"

I have a sprite sheet I would like to slice up (like Unity does) with 16x16 cells. is this possible? its not an animation, they are different sprites per cell.

martinhodler commented 4 years ago

there is a solution in the sprite-editor branch which uses Unitys own sprite editor to import the sprites.

peachpieproductions commented 3 years ago

Hey there! Thank you so much for your response!

I am using that branch and it has a few errors - image

martinhodler commented 3 years ago

Sorry for my late response... school was taking over. The branch will be removed soon. The functionality was merged into the master branch with that some updates to the default importer. The displayed errors should be fixed in the master branch. If you want to use the features from the sprite-editor branch change the Importer in the inspector to Bundled (preview).

Let me know if this solves your issue.

martinhodler commented 3 years ago

The Bundled (preview) does not support the tileset generation for now. I will add this feature as soon as possible. I hope you can work with the Generated (Subfolder) importer.