Screen centering/cycling around map UI idea

  • This post is deleted!

  • Moderators

    This post is deleted!

  • This post is deleted!

  • Moderators

    This post is deleted!

  • This post is deleted!

  • Moderators Admin

    This post is deleted!

  • This post is deleted!

  • This post is deleted!

  • This post is deleted!

  • This post is deleted!

  • Admin

    Getting back on topic, I want to emphasize the following intended plan (

    Also for consideration, place-units is always visible and has a button to hide the panel. I think it could make sense for the unit-scroller to be similar: always visible during move phases (regardless of which action tab is selected), and have a similar button to the placements panel to hide/show the panel.

    This would solve the issue where if a player does not want to use the unit scroller and have it take up room, they could collapse and hide it.

  • Admin

    Some progress on this, couple preview screenshots below:

    Screenshot from 2020-03-31 00-17-14.png

    Screenshot from 2020-03-31 00-18-40.png

    Changes being made:

    • Removed the unit flag and unit count
    • Removed the unit highlight button and center on units button
    • Put buttons on same row
    • Scaled/shrank button images to 20x20
    • Decreased button horizontal gap spacing (now 2 pixels apart rather than 15)
    • Fixed up layout so the component does not stretch to fill half of the vertical space of the action tab
    • Put the component behind a collapse button, clicking the collapse button shows/hides the component
    • Unit scroller is now always visible during combat and non-combat moves
    • Made the territory text larger
    • Moved the "units left to move count" to be part of the label for "Units To Move (#)"
    • Moved the territory label to be below the units rather than above

    Changes to make:

    • change the rendering of the unit avatars to be in a 'v' formation instead of echelon formation

    Stretch goals (if I wind up getting time and motivation, these changes I would like to make):

    • Clicking the unit image will center, hovering over the unit image highlights the hovered units both on the game board and in the unit scroller
    • Units to move will be computed as unmoved units rather than units with movement left. This is significant for fighters, they generally always have movement left in combat move, it's odd to have the scroller come back to them after they've been moved to combat.

    I'll update this thread when this set of changes is live in the prerelease. The feedback given over this thread lead to these updates, it's looking so much better. I can't wait to see the extra space being used to render units side by side. Keep the good ideas coming and thanks.

  • Admin

    This is the PR submitting the latest code changes mentioned above:

  • Moderators

    I just started testing this but immediate improvements. Really like the "collapse" option. High marks. Good work 🙂👍 👍 👍

  • Moderators


    so a quick heads up. 18579 when I tried to do an "Undo" during placement everything froze. I got a screenshot

    Screenshot from 2020-03-31 07-56-41.png

    but nothing else. You can see "Undo" highlighted. I can't get out at all. Nothing kills it. Gotta split for an hour or so and I'll give it another go with more info. Was on a bot in the preLobby.

  • Admin

    Nice to see some development of the territory scroller. 🙂 I will give some feedback on it, as I have used it extensively since it was available, and now I have been playing with this newer version.

    The buttons are too tiny for practical use. Try 25x25 pictures.
    I measure the 5 buttons to be total 178 px wide on screen. They are not as easy to use as the much larger previous ones. I think you should consider (if you are using 20x20 mini pictures) to use 25x25 px pictures. 25% larger pictures would make a huge difference in regards to usability.

    The approximate total button width would be around 222-223 px and also still fit most maps with tiny minimaps. I can see that the prerelease has a 240 px minimum right bar width, so it would also fit nicely into this new minimum. Button pictures could maybe be as large as 26x26 px.


    Rearrange buttons in accordance to amount of usage; right the most and left the least.
    Based on my play, “Next” is most used, followed by “Check”, then “Station” then “Wake/Alarm” and previous is used the least. It would be convenient if the buttons were next to each other in that same order.


    Line formation instead of V or Echelon formation.
    I think it would both free up space and make the units waiting to be moved more visible. As I meantioned before, it could maybe be an harmonica type display, meaning that if there were more unit types than could be displayed, they would just overlap left to right.

    Also, the most valuable / strong units should stand at the back/at the left, as they would most likely also have bigger pictures or would be units not meant to be at front as cannon fodder.


    Replace N (Next) and M (Previous) with . and , keys
    It is unintuitive to scroll back with the M-key since M is placed to the right of N on the keyboard. On onscreen the buttons are reverse. Also the keys . and , on the keyboard are pretty fast for the player to spot and place fingers on when needed, more easy than the confusing N and M.

    Sleep / Wake up renamed to Stationed / Alarm
    In regards to the “sleep” and “wake up” discussions and terms, I understand that we go for the term “station” for permanently inactivating units. Then I would say that “wake up” should also be replaced by something more fitting to stationed units. The A key and “Alarm” term would fit more stationed troops than W key and “wake” (wake = more fitting sleep).

  • Moderators

    I suggest having the two left-right buttons below the unit images and the other three buttons above the unit images.

    This would take out only some pixels of height space in the bar while allowing all of the following:

    • Bigger buttons.
    • Minimum wideness down to 200 pixels.
    • Adding back the centre button between the left and right ones.
    • Virtually remove the risk of misclicking any of the stay, station and reactivate buttons while spamming the right button (at most you might misclick the centre one).

    I think ideal would be that the button resize depending on the current wideness of the right bar, by the way. If not that, then, resize the space between them.

  • Admin

    I can see that the prerelease has a 240 px minimum right bar width

    It might not just yet. On Napoleanic Wars, the right bar width is still determined by the size of the minimap. With larger buttons, the right hand most button is completely cut-off. 25x25 buttons do seem to look nicer, though it implies we would want to actually create that 240px minimimum to avoid buttons from being cut-off.

    I took a number of snapshots trying out V-Formation or a simpler Line-Formation, please let me know what you think (a quick turnaround with a yay or nay is greatly appreciated):

    Line Formation

    Note, the "cluster" of German units is a worst-case, NWO with all available land units in a single territory:

    Screenshot from 2020-04-01 19-58-58.png Screenshot from 2020-04-01 19-58-51.png Screenshot from 2020-04-01 19-58-42.png

    V Formation

    Screenshot from 2020-04-01 19-57-15.png Screenshot from 2020-04-01 19-56-56.png

    Napoleanic Wars & Larger Buttons

    In these pictures, I resized the buttons and the right hand bar to it's post-rendered minimum width after resizing.. Notably notice there is a lot of space to the right of the minimap. It's unavoidable if we have larger buttons. Given this is a worst-case map that we know of, it could be okay. We should also consider that the unit history and the 'undo' button are hard to see on Napoleanic wars, which makes it more worthwhile to add that minimum.

    Line Formation

    Screenshot from 2020-04-01 20-08-07.png Screenshot from 2020-04-01 20-07-53.png


    Screenshot from 2020-04-01 20-06-36.png Screenshot from 2020-04-01 20-05-56.png

    Button Ordering / Terminology

    Watching a new player learn the game not long ago, the 'shield' was meaningless to them. The sleep term and icon I think are both clear, I'd like to go back to those.

    The button re-ordering and key remapping both make sense.

  • Moderators

    Anyways, I have to say that, for example, when I switch to the "Notes" tab, I'm annoyed to see the "Units To Move" thing there. I definitely preferred it showing only if on the action tab (it also makes sense, as those are your remaining actions). I suggest going back to the previous behaviour of having it within the action tab only, if feasible.

  • Admin

    Clicking the notes tab, the first problem is the width:

    Screenshot from 2020-04-01 20-23-52.png

    After fixing that by resizing, minimizing the units to move is one more, easier, click away. I don't think that is necessarily a major concern but a nuisance extra click.

    I'm really most interested right now on a definitive answer for line vs V formation.

Log in to reply