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

TileMapLayer doesn't have an option to sort tiles horizontally #92682

Closed
agrimminck opened this issue Jun 2, 2024 · 7 comments
Closed

TileMapLayer doesn't have an option to sort tiles horizontally #92682

agrimminck opened this issue Jun 2, 2024 · 7 comments

Comments

@agrimminck
Copy link

agrimminck commented Jun 2, 2024

Tested versions

4.3 beta 1, 4.3 dev 6

System information

Windows 11 - Godot 4.3.beta1 - Forward+

Issue description

If you need to overlap tiles that have 4 cells (2x2) there is no option to set which way to align them horizontally. It is by default from left to right, but if you use y-sorting it somehow turns right to left. There are even some places in which this alignment will not be consistent. This is shown in the minimal reproduction project.

I found this while searching the internet, but it makes the tile map invert its y-sorting too, so it does not solve the problem.

This issue does not let me put walls, which are bigger than one cell, to be put horizontally like shown below.

a0743e969f68042b5802680cd2f6c480ba086e93

image

P.S. This also happens in the TileMap class for godot 4.2.1 stable

Steps to reproduce

Create a TileMapLayer, set a tileset atlas which takes 4 cells for each of its tiles and overlap them horizontally. They will be sorted from left to right (right is in front), and if you turn y-sort ON, it aligns them from right to left.

Minimal reproduction project (MRP)

minimal_reproduction_project.zip

@KoBeWi
Copy link
Member

KoBeWi commented Jun 2, 2024

This is a missing feature not a bug.

@AThousandShips
Copy link
Member

Indeed, must have missed the title and just gone off the vauger description in the post, I could have sworn the title had changed

@agrimminck
Copy link
Author

Yep, my bad, it was a feature proposal

@agrimminck
Copy link
Author

This is a missing feature not a bug.

Although the tilemap, when it is not y-sorted it aligns from right to left, which is what I need, and when y-sorted it aligns from left to right, could that count as a bug?

@Zireael07
Copy link
Contributor

@agrimminck If it is a feature proposal please move it to the correct repository

@agrimminck
Copy link
Author

@agrimminck If it is a feature proposal please move it to the correct repository

I've searched how to do that but I haven't found it

@KoBeWi
Copy link
Member

KoBeWi commented Jun 3, 2024

You'll need to close this issue and open new one here:
https://github.com/godotengine/godot-proposals

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

4 participants