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

Add info label to TileMap editor #68800

Merged
merged 1 commit into from
May 8, 2023
Merged

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Nov 17, 2022

Closes godotengine/godot-proposals#5792

godot windows editor dev x86_64_ZJnl9T9QDf

The label will display current tile position and rectangle size if drawing rect.

@KoBeWi KoBeWi marked this pull request as ready for review February 8, 2023 19:33
@KoBeWi KoBeWi requested a review from a team as a code owner February 8, 2023 19:33
Copy link
Member

@kleonc kleonc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Calinou
Copy link
Member

Calinou commented May 7, 2023

Is it possible to display the the name/ID of the currently hovered tile? For scene tiles, the path to the scene could be displayed (or just its filename if it's too long).

@mhilbrunner mhilbrunner requested a review from groud May 7, 2023 20:11
@KoBeWi
Copy link
Member Author

KoBeWi commented May 7, 2023

Is it possible to display the the name/ID of the currently hovered tile?

Tiles no longer have name and their ID is simply their coordinates in the atlas.

We could probably display the source name and scene name in case of scene tiles, but implementing it isn't exactly trivial (I assume; at least with scene names), so it's something that can maybe be done later. Note that Ctrl+clicking a tile highlights it in the tileset, so this information can be easily found.

@akien-mga akien-mga modified the milestones: 4.x, 4.1 May 8, 2023
@akien-mga akien-mga merged commit b639076 into godotengine:master May 8, 2023
@Zireael07
Copy link
Contributor

Finally <3

@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the tinfo branch May 8, 2023 10:27
@akien-mga
Copy link
Member

Cherry-picked for 4.0.3.

@riazey
Copy link

riazey commented May 24, 2023

Ahh I've been waiting for this! No more guesstimating what tile I need to teleport my character to xD

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

Successfully merging this pull request may close these issues.

Add debug label with mouse coordinates and hovered tile name to tilemap editor
7 participants