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

Ysort practical example needed #2286

Closed
golddotasksquestions opened this issue Mar 23, 2019 · 0 comments · Fixed by godotengine/godot#42282
Closed

Ysort practical example needed #2286

golddotasksquestions opened this issue Mar 23, 2019 · 0 comments · Fixed by godotengine/godot#42282

Comments

@golddotasksquestions
Copy link
Contributor

golddotasksquestions commented Mar 23, 2019

We need a practical example like this for the Ysort node in the docs. Without it, I would also assume Nodes would have the same behaviour OP assumes in his post. In fact I have struggled with this before and when I asked how to Ysort, people have recommended having all sorted nodes as children as of a tilemap. (which does not allow grouping either, so I did not understand the purpose of Ysort very well) So to avoid confusion and wrong advice, let's add this great example:

Node (main)
-> YSort (World)
   -> Player
   -> YSort (Environment)
      -> Rock
      -> Tree
   -> YSort (Enemies)
      -> Enemy1
      -> Enemy2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants