mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Allow showing a list of tilesets in the Tilesets view #3264

gvivster posted onGitHub

I often use lots and lots of tilesets in one map, and it starts to get difficult to navigate, especially if they have long names.

This often makes me sink time into workarounds, such as condensing multiple smaller tilesets (how most tilesets come) into one huge tileset, and naming my .tmx files very tiny names so I can see more tileset tabs (which can cause confusion later). I have to do these in virtually every project if I don't want to get lost in my tilesets.

In this brief video, I illustrate how this affects my workflow and talk about UI that would work vastly better for me: Tiled - Feature Request - See all tileset names at once To sum up the video: Let's use layer navigation as an example. When working with layers, I can resize the layer area to see as many or as few layers at a time as I want, and even rearrange them into folders. But there's none of that for tilesets, even though I may have as many (or more!) tilesets as I have layers. (This is true for many of my projects.) This UI change could be a HUGE relief of a constant pain point for those who use a lot of tilesets.

And here, eishiya has mocked up how the UI could look, which I think is spot-on! Further functionality I would add:

  • (eishiya's idea) A way to visually signify which tilesets are used vs. unused inside the current project.
  • Being able to reorganize the order of tilesets - essential, and something you can't do currently with tileset tabs.
  • Having folders (expandable ones like layers have) - I would gratefully use this functionality in every project. image

Thanks for reading, and I hope something like this can be implemented soon!


Related to issue #3220, but it's interesting you're just asking for a list view, which should be easier than adding categories or tags. In the mockup I see you have both a tab bar and a list view, but I guess if we add a list view it could replace the tabs completely.

Ideally we'd find something that doesn't need to be an option though, and that works for both a few and many tilesets. Also related to issue #3173.

posted by bjorn about 3 years ago

A list view with collapsible/expandable folders would meet just about all of my needs. The tags and search would be great too, but my biggest need is to be able to organize them visually.

Also, if it was possible to pop-in and pop-out the "list" separate from the view of the active tileset, so that we could choose whether it takes up space from the tileset area horizontally, vertically, or not at all - that would also be very very helpful.

posted by gvivster about 3 years ago

In the mockup I see you have both a tab bar and a list view, but I guess if we add a list view it could replace the tabs completely.

I kept the tab bar in the mockup because I couldn't think where else to put the tilesets view options button (the down arrow). There needs to be some way to toggle the view, ideally within the tilesets panel itself, and putting it in that menu seemed like a good option. Perhaps the options can be moved to the bottom of the panel instead, allowing the tab bar to disappear when the list is active.

Ideally we'd find something that doesn't need to be an option though, and that works for both a few and many tilesets.

I suspect this is not possible without using a writing system that can be written both vertically and horizontally xP TIleset names are typically wide, and wide things are most compact horizontally if there are only a few of them, and vertically if there are more than a few. Always using tabs is inconvenient for many tilesets, and always using a list wastes valuable screen space when there are only a few tilesets. And of course there's also just preference - for example, even when I use many tilesets, only 1-2 will be used most of the time, so I'd rather keep the compact tab view and use the current list to navigate them, instead of a list view like in my mock-up. Using some sort of graphical preview instead of names may work for some tilesets, but probably not most, where any one tile may not be distinctive enough or may need to be scaled down into illegibility. Names are easier to control and tweak.

Maybe the tab bar can be made in such a way that it can be dragged by the user and pinned to any of the four sides of the panel. When pinned to the top or bottom, it would be tabs, and when pinned to the left or right, it could be a list. That would eliminate the need for a toggle. Unfortunately, most people would probably not think to drag the bar/list in this way, so this would probably make the feature too hidden.

Also, if it was possible to pop-in and pop-out the "list" separate from the view of the active tileset, so that we could choose whether it takes up space from the tileset area horizontally, vertically, or not at all - that would also be very very helpful.

That could be handy. My gut instinct when GV first asked about this feature was actually to open the Projects view and see if I could filter that by Tilesets (nope) and if I could bring up a tileset in the TIlesets panel from there (apparently not).


Here's a silly idea: If we ever get that scratch pad panel, one could set up a scratch map with one tile or a few tiles from each tileset, and selecting a tile there would bring up its tileset in the Tilesets panel. This would basically be like a homebrew version of the visual selector that I described, except with more flexibility since the user would have more control over what exactly is used to represent each tileset and how big the representation is.

posted by eishiya about 3 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests