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

NPCs are rendered as part of the wrong row/col when walking #67

Closed
ethanmoffat opened this issue Feb 9, 2017 · 1 comment
Closed

NPCs are rendered as part of the wrong row/col when walking #67

ethanmoffat opened this issue Feb 9, 2017 · 1 comment

Comments

@ethanmoffat
Copy link
Owner

When an NPC is next to a wall and walks, it is rendered behind the wall tile for the destination grid location.

Need to update the NPCMapEntityRenderer to consider walking NPCs based on their DestX and DestY.

@ethanmoffat
Copy link
Owner Author

This is a case where the depth buffer is required to render things properly. Attempted to hack it by rendering NPCs early but that just caused other render order issues (and was reverted) since then NPCs were part of the wrong row/column for rendering purposes.

See #112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant