Skip to content
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

Improvements for Photoshop Sprite Export Process #17

Open
Aodaruma opened this issue Aug 27, 2023 · 4 comments
Open

Improvements for Photoshop Sprite Export Process #17

Aodaruma opened this issue Aug 27, 2023 · 4 comments
Labels
enhancement New feature or request Photoshop about Photoshop exporter

Comments

@Aodaruma
Copy link
Owner

Aodaruma commented Aug 27, 2023

Is your feature request related to a problem? Please describe.
The current process for exporting sprites in Photoshop requires manually selecting all the necessary layers. It's quite time-consuming to individually select and export around 20, 30, or more layers. Additionally, if there are layers with the same name, importing them into Blender results in issues, causing identically named elements to disappear. Due to these bugs and inconveniences, there is a desire to create a script to address these problems.

Describe the solution you'd like
There are several proposed improvements, primarily focusing on the following objectives:

  1. Enabling the simultaneous export of necessary layers without the need for individual selection.
  2. Implementing a solution for handling same-named layers.

To achieve this, several enhancement methods are suggested:

  1. Automatically select visible layers within Photoshop and export them all at once.
  2. Revise the naming convention to reflect the group structure.

For example, if layers are organized under the structure "Character→Arms→Line→L," exporting them with names like "Character.Arms.Line.L.png" would eliminate the need to assign full names individually, reducing effort during renaming and enhancing convenience.

However, considering that layer grouping structures can vary greatly based on individual creators' preferences, the adoption of the second approach should be carefully considered. In some cases, offering it as an option might be more favorable.

@Aodaruma Aodaruma added bug Something isn't working enhancement New feature or request priority-HIGH labels Sep 16, 2023
@Aodaruma Aodaruma removed the bug Something isn't working label Sep 27, 2023
@EvgeneKuklin
Copy link

I would like to see an option to add padding around layers - that will make the process of editing meshes easier

@Aodaruma
Copy link
Owner Author

Aodaruma commented Sep 27, 2023

I think a feature to add padding to layers is very nice. However, since the develop branch already allows mesh editing beyond the range of the image, I think it might become a duplicated feature of that

@EvgeneKuklin
Copy link

Turned out the padding (margin) is already implemented:
https://youtu.be/JYE_279giF8?si=4I3OjVAPRrr60u6H&t=204

@Aodaruma Aodaruma added the Photoshop about Photoshop exporter label Nov 24, 2023
@Aodaruma
Copy link
Owner Author

Aodaruma commented Jan 2, 2024

I have been working on this issue for a while now.

  • Improved the UI and added properties
  • Improved and refactored the algorithm
  • Added some features
    I don't plan to make any more additions or modifications at this time.

@Aodaruma Aodaruma moved this to Backlog in coa_tools2 tasks Feb 5, 2024
@Aodaruma Aodaruma moved this from Backlog to In progress in coa_tools2 tasks Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Photoshop about Photoshop exporter
Projects
Status: In progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants