Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Improvements to combat UI

    Feature Requests & Ideas
    6
    13
    783
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alexei Svitkine
      Alexei Svitkine last edited by Alexei Svitkine

      Hello!

      I've been working on some improvements to the combat UI, specifically:

      • Making long lists of dice wrap
      • Adding a scroll bar when necessary
      • Moving Total Hits to the top in larger text
      • Showing number of hits for each dice roll
      • Showing hits text in red
      • Moving casualties panel in a fixed area at the bottom
      • Choosing a bigger window size by default on larger screens

      The PR is ready to submit on github but wanted to post here to give an opportunity to raise any concerns. We can also discuss ideas for future improvements (this doesn't have to be the final version), but would like to focus on the proposed changes in the PR so it can hopefully be landed soon. Thanks!

      Before (Combat)

      Before

      After (Combat)

      After

      Note: The dice icons are the same size but the window in the second screenshot is larger. The forum shrinks the image so it looks like the dice are smaller.

      redrum 1 Reply Last reply Reply Quote 2
      • redrum
        redrum Admin @Alexei Svitkine last edited by

        @Alexei-Svitkine Nice work so far.

        I know one thing that has come up a lot over the years is trying to allow better display along the top when you have more than 6 dice sides or use unit images that are a bit larger. It would be good to show some examples of maps with say 10 or 12 sided dice as well.

        Alexei Svitkine 1 Reply Last reply Reply Quote 0
        • Alexei Svitkine
          Alexei Svitkine @redrum last edited by

          @redrum said in Improvements to combat UI:

          @Alexei-Svitkine Nice work so far.

          I know one thing that has come up a lot over the years is trying to allow better display along the top when you have more than 6 dice sides or use unit images that are a bit larger. It would be good to show some examples of maps with say 10 or 12 sided dice as well.

          Happy to provide some screenshots if you tell me which maps to try.

          Hepps redrum 2 Replies Last reply Reply Quote 0
          • Hepps
            Hepps Moderators @Alexei Svitkine last edited by

            @Alexei-Svitkine Here was my take on the subject...

            https://forums.triplea-game.org/topic/338/possible-game-interface-suggestions?_=1589601411310

            1 Reply Last reply Reply Quote 2
            • Alexei Svitkine
              Alexei Svitkine last edited by

              Thanks!

              I agree that a bigger re-design may be in order. This change is more incremental.

              It would probably be helpful to refactor the class so that the business logic and UI are more separated so we can experiment with different UIs like that without forking the whole class.

              1 Reply Last reply Reply Quote 1
              • LaFayette
                LaFayette Admin last edited by

                @Alexei-Svitkine the battle logic could use quite a bit of refactoring love. Very low test coverage and has some of the highest technical debt scores of any class. I'd agree it's a clear target for a number of improvements.

                1 Reply Last reply Reply Quote 0
                • redrum
                  redrum Admin @Alexei Svitkine last edited by

                  @Alexei-Svitkine 2 maps off the top my of head would be Iron War (10-sided dice) and Total World War (12-sided dice).

                  Alexei Svitkine 1 Reply Last reply Reply Quote 0
                  • Frostion
                    Frostion Admin last edited by

                    @all
                    When improving the battle window, is it in any way possible to make the step descriptions clickable? So they be like horisontal tabs.
                    Like if during (casualty selection) and at the end of combat round (at the point where retreat is possible) players would be allowed to click “Germans fire”, “French select casualties”, French fire” and so on.
                    This info is actually available when going into history mode, but this takes some time/clicks.

                    1 Reply Last reply Reply Quote 0
                    • Alexei Svitkine
                      Alexei Svitkine @redrum last edited by

                      @redrum said in Improvements to combat UI:

                      @Alexei-Svitkine 2 maps off the top my of head would be Iron War (10-sided dice) and Total World War (12-sided dice).

                      Thanks!

                      I got an unrelated error loading Iron War:

                      Screen Shot 2020-05-22 at 8.40.07 AM.png

                      Here's a screenshot from Total War after I added a lot of units, however it uses Low Luck so there's just one die roll - so my change doesn't change much:

                      Screen Shot 2020-05-22 at 8.36.48 AM.png

                      There was also some unrelated empty notifications in other phases while I was trying to get to combat, not sure if it's a known issue:
                      Screen Shot 2020-05-22 at 8.30.28 AM.png

                      Hepps 1 Reply Last reply Reply Quote 0
                      • Hepps
                        Hepps Moderators @Alexei Svitkine last edited by

                        @Alexei-Svitkine In TWW you can choose either Dice or Low Luck before you launch the game.

                        Not sure what the missing notification is about. I have never seen it. Are you using the 2.0 pre release.

                        1 Reply Last reply Reply Quote 0
                        • Alexei Svitkine
                          Alexei Svitkine last edited by

                          @Hepps said in Improvements to combat UI:

                          @Alexei-Svitkine In TWW you can choose either Dice or Low Luck before you launch the game.

                          Not sure what the missing notification is about. I have never seen it. Are you using the 2.0 pre release.

                          Yes, it's with the 2.0 prerelease since I'm testing my changes to it. OK, turned off low luck. Here's how it looks with a ton of units added in edit mode:

                          Screen Shot 2020-05-22 at 9.16.16 AM.png

                          Hepps 1 Reply Last reply Reply Quote 2
                          • Hepps
                            Hepps Moderators @Alexei Svitkine last edited by

                            @Alexei-Svitkine My biggest question is how Germany managed to get 55 marines to Western Egypt! 😃 😉

                            Looks good.

                            1 Reply Last reply Reply Quote 1
                            • B
                              beelee last edited by beelee

                              I like the changes. i thought I saw somewhere else that the color might be changed to more of a blood red look ? So not so bright ? Idk if it'd work or not but the red seems a little too bright to me.

                              My other critique is I prefer the (parentheses) to have a space ( parentheses ) before their content. It makes it easier for me to read, but that just might be a personable problem of my own that I need to learn to live with 🙂

                              Great work. I like it. Thank You

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post
                              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums