Andrettin / Wyrmsun

Strategy game based on history, mythology and fiction
http://andrettin.github.io/
GNU General Public License v2.0
307 stars 48 forks source link

Selectable item groups in map editor? #200

Open SenhorFlibble opened 2 years ago

SenhorFlibble commented 2 years ago

Recently I tried out the built-in map editor, and noted that the current way of cycling between unit and tile types is rather cumbersome, and not in the least aided by the fact that pressing the left and right arrow keys not only move the slider, but also scrolls the map view in the respective directions.

Today I opened the map editor in Wargus 3.1.2 and realised that this has been improved, somewhat, by adding selectable groups of items via a drop-down menu (screenshot). I wonder if a similar feature could be implemented in Wyrmsun in the future as well?

Andrettin commented 2 years ago

That's a good idea :) I think it would be better to implement it as a part of the command button interface though, e.g. with the icon of the first unit of each group representing that group, and when you click on that you can see all units of that group.

It would be some effort to implement it, though, so I'm not sure when I will be able to dedicate time to do it. It would probably be best to do that when that part of the editor interface is reworked for Qt/QML (the new UI framework).

SenhorFlibble commented 2 years ago

Thanks! Whichever way you do it will be an improvement, as the current state of the editor's UI is a bit unwieldy as I mentioned above.

I tried to remember the good old days of WC2/SC mapping and throw together a map inspired by he Vanaquisl scenario, but made very slow progress because of the interface's quirks.

Now that I remember it, there are more issues, namely the save map menu did not show me any maps that have been already saved, so I actually ended up saving multiple copies of my map as I was not sure if anything was saved at all or not. (it looks like you've changed most of in-game save/load menus for the native host OS windows, but this was not the case with the save map menu -- at least, in v5.2.4).