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

Deleting grass layer cause character to display above "v" tiles instead of behind #17

Open
lulalala opened this issue Apr 3, 2020 · 0 comments

Comments

@lulalala
Copy link

lulalala commented Apr 3, 2020

It seems when grass layer is deleted, character would be displayed on above tiles which it shouldn't (e.g. house roofs, top of trees).

(However I can only reproduce it from my own tmx file)

** Update **

I think this has something to do withnbGroundLayers being 4. I changed it to 1 (to suit my need) and things works now. Not sure how to properly fix this though. I don't see a similar 4 in browserQuest source code. Why is it necessary here?

@lulalala lulalala changed the title Deleting grass layer cause character to display on above "v" tiles instead of behind Deleting grass layer cause character to display above "v" tiles instead of behind Apr 3, 2020
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