TileMapLayer: Allow getting TileSet's source_id by tile's name [Idea] #12139
GodotHatesMe
started this conversation in
2D
Replies: 1 comment
-
I don't know a better way, but what are the shortcomings of dictionaries in solving this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a huge tileset. All my tiles have a specific name, which is used by my map drawing gdscript that draws a map dynamically based on data. Each tile data contain a tile name (for example "AAA").
Right now, to get the name we have to do something like this, which can slow down the drawing:
This could be faster and shorter if we could just pull a source id by tile's name.
Beta Was this translation helpful? Give feedback.
All reactions