Godot: Feature Request: Tile Index Visible In Editor

Created on 26 Jun 2016  路  12Comments  路  Source: godotengine/godot

I would like to be able to see the tile index of a tile from the tilemap editor.
By tile index I mean the integer value I would use in the third argument of set_cell.
This should be an easy feature, but one i will find very useful.

enhancement junior job editor

Most helpful comment

Do you mean something like this?

tile index

All 12 comments

Do you mean something like this?

tile index

Yeah, that looks good. maybe move the number off the graphic so it doesn't blend in on gray tiles.

Another option would be to add a prefix to the tile name, i.e: "1. Box", "2. Floor" etc. What do you think?

I'm pretty sure that tiles indices start at zero.

They do appear to do so. Thankfully my tiles also now appear to be appearing in order.

@Norrolith please take a look and tell me what you think. Should I do anything differently or can I open a PR?

demo

That looks perfect.
Thank you all.
Edit: does it work in both of the tile viewing modes, the list one as well?

@samuelgrigolato I think it might look better if you replace the dot with a dash, but check for yourself which character suits it best :)

@Norrolith could you please expand on that alternative tile viewing mode? I'm afraid I'm not aware of it =D. A screenshot would help a lot ^^.

@bojidar-bg I think you are right, here is the dash version of it:

dash

godotenginescreenshot
The display as list option. It seems to be absent in your build.

Seems that the list view was removed by #4006.

Ah, I'm a build behind. pardon.

Was this page helpful?
0 / 5 - 0 ratings