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

Incorrect overlay when chopping nearby tree #2

Closed
Infinitay opened this issue Jul 1, 2023 · 0 comments · Fixed by #5
Closed

Incorrect overlay when chopping nearby tree #2

Infinitay opened this issue Jul 1, 2023 · 0 comments · Fixed by #5

Comments

@Infinitay
Copy link
Owner

Incorrect
image

Correct
image
In the image below, it's correct because the tree above is despawned
image
In the image below, it's correct because the player's orientation is more to the south and the south tree
image
image

Incorrect
image

Correct
image
image

Infinitay added a commit that referenced this issue Jul 1, 2023
	- Refactor to support multi-directional chopping (NW, NE, etc)
	- Refactor to use south-western tiles for calculations
	- Refactor to use manhattan distance instead of #distanceTo for calculations
	- Added debugging overlays for developers (commented out)
Infinitay added a commit that referenced this issue Jul 1, 2023
	- Refactor to support multi-directional chopping (NW, NE, etc)
	- Refactor to use south-western tiles for calculations
	- Refactor to use manhattan distance instead of #distanceTo for calculations
	- Added debugging overlays for developers (commented out)
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

Successfully merging a pull request may close this issue.

1 participant