Question about Y-sorting
Asked Answered
P

2

0

Hi! I was wondering if there was a way to change the default setting on "y-sort enabled", so that it's automatically on when I make a new sprite. Having to remember to turn it on individually for each sprite seems like it'd introduce a lot of potential for errors, but I can't find any way to change the default node settings. Am I not looking in the right place, or does this not exist?

Poleyn answered 23/2, 2024 at 15:28 Comment(0)
S
1

Poleyn two options: extend the sprite class with a script that enables the y-sort property automatically then use this extended class.

Or way easier, make your scene's parent node (or the nodes holding your sprites) have y-sort enabled, then all its children will too.

Stonehenge answered 23/2, 2024 at 20:19 Comment(0)
U
0

Poleyn Duplicate an existing sprite.

Unvoice answered 23/2, 2024 at 15:53 Comment(0)
S
1

Poleyn two options: extend the sprite class with a script that enables the y-sort property automatically then use this extended class.

Or way easier, make your scene's parent node (or the nodes holding your sprites) have y-sort enabled, then all its children will too.

Stonehenge answered 23/2, 2024 at 20:19 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.