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

Display bug with Roof layer and right walls in Jail map #112

Open
ethanmoffat opened this issue Mar 8, 2022 · 2 comments
Open

Display bug with Roof layer and right walls in Jail map #112

ethanmoffat opened this issue Mar 8, 2022 · 2 comments
Labels
Milestone

Comments

@ethanmoffat
Copy link
Owner

ethanmoffat commented Mar 8, 2022

Because of how map rendering works, walls can be drawn over the Roof layer:
image

Map rendering should be changed to use a depth buffer approach instead of trying to draw each entity in the proper order based on the ordering in MapEntityRendererProvider. See: https://github.com/Cirras/eomap-js/blob/3595405bbb5623287a172985467a242ea5f3ce58/src/gameobjects/eomap.js#L10-L26

@ethanmoffat ethanmoffat added the bug label Mar 8, 2022
@ethanmoffat ethanmoffat added this to the v0.10 - Up to Speed milestone Apr 11, 2022
@ethanmoffat
Copy link
Owner Author

Another one for the depth buffer: map objects and walls
image

@ethanmoffat
Copy link
Owner Author

ethanmoffat commented Sep 14, 2022

The second example is fixed in #213 (ea19e68) - unfortunately the first example is not.

@ethanmoffat ethanmoffat changed the title Display bug with Overlay2 layer and right walls in Jail map Display bug with Roof layer and right walls in Jail map Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant