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

Change layer ordering in a specific frame #88

Closed
Tracked by #9
dacap opened this issue Mar 29, 2023 · 1 comment
Closed
Tracked by #9

Change layer ordering in a specific frame #88

dacap opened this issue Mar 29, 2023 · 1 comment
Assignees
Labels
feature New feature or request high priority

Comments

@dacap
Copy link
Member

dacap commented Mar 29, 2023

We could provide a "render order" or "z-index" field per cel, where lower values mean to render the layer first, and higher values render the layer overlapping the lower ones (just exactly like CSS z-index).

This field could be added in the Cel Properties dialog:

image

@dacap dacap mentioned this issue Mar 29, 2023
10 tasks
@dacap dacap changed the title change layer ordering in a specific frame // we could provide a "render order" or "z-index" field per cel, where lower values mean to render the layer first, and higher values render the layer overlapping the lower ones (just exactly like CSS z-index) Change layer ordering in a specific frame Mar 29, 2023
@dacap dacap added the feature New feature or request label Mar 29, 2023
@dacap dacap moved this to Todo in Attachment System Mar 29, 2023
@dacap dacap moved this from Todo to In Progress in Attachment System Apr 3, 2023
@dacap dacap self-assigned this Apr 3, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Attachment System Apr 10, 2023
@dacap
Copy link
Member Author

dacap commented Apr 10, 2023

CelZIndex.mp4

dacap added a commit to dacap/aseprite that referenced this issue Apr 10, 2023
* Now a Cel has a z-index property to change the order of layers per frame
* A new doc::RenderPlan class can calculate the order of cels to be rendered
* z-index is saved as a int16_t in the .aseprite files
* This new field can be set/get from Lua with Cel.zIndex
dacap added a commit to aseprite/strings that referenced this issue Jan 24, 2024
* Now a Cel has a z-index property to change the order of layers per frame
* A new doc::RenderPlan class can calculate the order of cels to be rendered
* z-index is saved as a int16_t in the .aseprite files
* This new field can be set/get from Lua with Cel.zIndex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request high priority
Projects
Status: Done
Development

No branches or pull requests

1 participant