-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slice tool #721
Comments
It still need support to export to .aseprite-data as <slice> XML elements, and animation support.
Hey, it's cool to see slices in Aseprite, but are they being exported? I don't see anything in the outputted JSON file, and I don't see any "aseprite-data" file options...? EDIT: And I do have the Slices checkbox selected in the Export dialog. |
Hi @SolarLune, you have two options: one using
This is an undocumented feature, I need to write more details about this. EDIT: Tomorrow I'll test the Slices checkbox in the export dialog just in case, something might not be working (did you try using other checkbox like layers too?) |
Ah, OK. I guess I'll wait - seems like that file would basically just be empty tagged like that...? Not sure if I get what it's supposed to do. A write-up would be helpful (though I usually get by with the GUI, so no rush, for me).
Yeah, the other options work, but just not the Slices option. |
Hey, just wanted to pop up in here and ask if slices could serve the purpose of defining hitboxes / specific important zones when implemented? Or is that a different concept? |
I'm responding to solarlune, but judging from the JSON data, it looks like each slice keeps track of its own history throughout the animation of the aseprite file. In theory this could mean that for a given animation you would be able to do basic hitbox tracking, but all slices are on the screen at once, which could get tricky to manage. |
Hey there, just a quick request from the cheap seats, but is there any quick explanation out there for exactly what slices can do and what they are for? I would love to know more about them! :D #1651 gives a lot of information on what they perhaps ought to do eventually, but I find myself wondering how I can make use of them now. Is there a link I could follow to learn more? |
OK, I just tried exporting Slices again and it seems like they're being exported in JSON from the sprite now, which is great. Thanks, @dacap! @oceanhahn I don't know if you never got the answer, but basically, it's a way to define rectangles that can be exported from your animation along with your actual image. So this could be used for hitboxes, collision areas for tiles, etc. EDIT: Looks like it could also be used for things like separating an image out (so, for example, for GUI, which is inventive). Check out a bit of a discussion about it here: https://community.aseprite.org/t/slice-tool-how-does-it-work/143/4 |
|
👍
Not sure about this one (because it mixes with the Move tool). Also the Move tool requires some extra functionality to move slices too (the same for selection transformation).
There are plans to integrate Slices in the Timeline in that way but it was too much work for v1.2 so it was never done. It's planned for 1.3.
👍 requested several times by other users too
👍
I'll see the exact details about selecting one slice/multiple slices later. |
Any status on when we can expect animation support for slices? It's a real hassle that they don't work now for production work. Above features are all nice to have, but imo for slices to be at all usable I would at least like to see these must haves:
|
Hi, I would really like to have slices be placed one per frame, is there a way I can help this become a reality? I'm not good programming in c++, but maybe I can patronize it somehow? |
Just popping in to mention I’m most excited about this feature of all the new aseprite work! I’ve had to write my own separate editor for adding in the equivalent of slices per frame, which complicates the art pipeline quite a lot! Would love to specify this and export the .ase file directly. I wrote an aseprite file loader in C here and would love to use .ase files directly and load them directly into game without any other steps. However, the need for animated slices for my game makes this impossible. |
Add a tool to mark rectangular (any shape?) regions and label them. Then we should be able to export the specific slice/region using #645.
--slice name
)--save-as sheet-{slice}.png
(like a--split-slices
)The text was updated successfully, but these errors were encountered: