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

Unexpected offset on non-square isometric tilemaps #1429

Open
SineNomine2001 opened this issue Jun 29, 2024 · 0 comments
Open

Unexpected offset on non-square isometric tilemaps #1429

SineNomine2001 opened this issue Jun 29, 2024 · 0 comments

Comments

@SineNomine2001
Copy link

image

If say the tilemap is taller than it is wide, then (0,0) will be at B' instead of B. The x-offset of the tilemap and Map.width seems to only change with the "width" of the iso tilemap (length running top-left to bottom-right) and not the "height" (length running top-right to bottom left).

The point C seems to be always fixed at (Map.Width/2, 0) which could be what caused this issue.

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