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

ex13-isogrid-buildings-alt.html allows improper Z ordering #6

Open
timmattison opened this issue May 21, 2012 · 0 comments
Open

ex13-isogrid-buildings-alt.html allows improper Z ordering #6

timmattison opened this issue May 21, 2012 · 0 comments

Comments

@timmattison
Copy link

When testing out this sample I noticed that if I click on the following tiles in this order I get a strange result:

1, 4
2, 2

This first draws the building at 1, 4 and then draws the building at 2, 2. Now the building at 2, 2 is in front of the building at 1, 4. I think I've found a potential fix for this so I'll include a pull request right after this.

timmattison added a commit to timmattison/Making-Isometric-Real-time-Games that referenced this issue May 21, 2012
…r before rows so we always draw the tiles that are furthest away before the closer tiles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant