-
Notifications
You must be signed in to change notification settings - Fork 1
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
Sorting layers #32
Comments
I like the idea of project, but prefer to think about it as config overlay or override. The idea of sorting layers are basically Z-level aka render order, or priority, but with meaningful names. It's ok, but integers are better suited for this task:
Though names are good. I think we might try to consider it despite above points, but certainly {name : z-level} dictionary would do much better than just a list. |
Will return to this after prototyping? |
Why? Just sort by value, and that's it.
Now we indeed don't need so many. Maybe it's a good idea after all.
I don't think so. Colliding must not rely on rendering order. Rendering is for rendering.
Imagine tunnels or hollow mountain passage, or hanging cliffs at sides of the main path. It still obeys background rules (scrolling), but must be rendered on top of crafts.
Yep, I think this might be the best way. |
Idea
Good combines with implementing some sort of
projects
.sorting layers
:"default"
is initial value for every untagged object.This is unity-like alternative to Renderable.render_priority with meaningfulness instead of strange integers.
Implementation
Maybe a little difficult to implement sorting, need some kind of prototyping.
@taptap, let's discuss it.
The text was updated successfully, but these errors were encountered: