TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Screen centering/cycling around map UI idea

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    217 Posts 10 Posters 177.4k Views 8 Watching
    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.
    • LaFayetteL Offline
      LaFayette Admin
      last edited by LaFayette

      I hacked in a feature called "unit chooser" that cycled through available units. A problem encountered was a bug in the game where the hotkey focus was lost and you'd have to click on the map to re-activate it.

      I'll be MIA for about 6 weeks, when I get back there are one or two projects to work on, I hope I can dig that work out, polish it off and perhaps get it added. Next release is going to be 2.0, with luck this will then be in 2.1, the following release.

      1 Reply Last reply Reply Quote 3
      • FrostionF Offline
        Frostion Admin
        last edited by

        I really still hope for the long awaited buttons that that could make you cycle through "previous", "skip" and "next" unmoved unit to show up in the right side of the screen. ☺ Maybe below the mini-map, in the top of the action tab or in the bottom right of the screen.🤔

        That would be a great and user friendly feature to implement.

        Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

        1 Reply Last reply Reply Quote 2
        • LaFayetteL Offline
          LaFayette Admin
          last edited by LaFayette

          Okay, I resurrected the 'unit scroller' code I had from some time ago and it's going pretty well. I think I can get the kinks worked out in the next few days or week and have it included in the next release.

          Here is what it looks like so far:
          Screenshot from 2019-08-10 13-54-56

          Some notes:

          • The "n" key will currently center and highlight the "next" unit. The right arrow in the 'unit scroller' will do the same thing as hitting the "n" key. It's good now that we no longer have just a magic hotkey but a UI control to match. The hover text on the button will let a user know they can also hit the "n" key
          • I added a mapping to the "m" key for previous unit
          • Space bar will be to sleep or skip for the current phase
          • "c" key will be to "center" on the current unit, same thing as clicking the cross-hairs like button above the unit image.

          I've also been wondering a bit about the "center" icon above the unit image. I think we could also make the unit image clickable and do the same thing, but I don't necessarily like that since it won't be obvious that the image is clickable.

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

            Also, if there are multiple unit types, the "unit avatar" picture will have them be stacked (max of up to 3 or 4 unique unit types will be displayed), eg:
            Screenshot from 2019-08-10 14-03-38

            1 Reply Last reply Reply Quote 1
            • C Offline
              Cernel Moderators
              last edited by

              So, I said this a number of times, but it really doesn't make sense to use the moon/night symbol to mean you do nothing. Beside the fact that in almost all TripleA maps 1 turn is more than 1 day, night doesn't mean no military actions or movements; for example, the Japanese were fighting and moving mostly during night time (and sleeping during day time), and also the Russians used often to prefer the night to fight and launch offensives. And, of course, you can have space or whatever maps where it would just not fit.

              I recommend using a "X" symbol (or maybe a checkmark) to signify the unit is meant not to move. Or anyways something purely abstract (that a moon is not).

              1 Reply Last reply Reply Quote 0
              • LaFayetteL Offline
                LaFayette Admin
                last edited by

                Moon = night = sleep; The idea is you are sleeping the unit during the turn phase. 'X' is potentially more like delete and could be visually similar to the crosshairs. I'm not sure if it matters really that much, it does not seem that important as long as it becomes clear enough soon enough to users.

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  Cernel Moderators @LaFayette
                  last edited by

                  @LaFayette That's exactly where the issue is for me. There is no equation that night = sleep. That's totally arbitrary. In my mind it can totally be day = sleep or none of the two options in particular. For the Japanese during WW2 it was largely day = sleep, as said.

                  If a soldier of the Japanese Army of 1942 would play TripleA, a moon button would probably mean attack to him.

                  Also, maybe 1 day there will be a feature for deciding if to attack (or bombing raid) during the day or during the night, and that would be confusing.

                  If not the X or the check mark. Also the media symbols of stop or pause may do.
                  https://en.wikipedia.org/wiki/Media_control_symbols

                  1 Reply Last reply Reply Quote 0
                  • LaFayetteL Offline
                    LaFayette Admin
                    last edited by

                    @Cernel said in Screen centering/cycling around map UI idea:

                    There is no equation that night = sleep. That's totally arbitrary.

                    Most people do sleep at night, most animals do as well. Yes there exceptions, but it's not that far fetched. I don't think finding exceptions to general true'isms is a good way to say that a given symbol does not make sense.

                    In part the terminology and functionality is being borrowed from Civ, which TripleA does a good bit. Civ also sets many standards for turn based games, that at least some precedent before we borrow from a different kind of analogy.

                    If you can provide a really reasonable alternative (with image), then I'd be open to considering it. Otherwise perhaps we are getting hung up on less important details.

                    1 Reply Last reply Reply Quote 0
                    • LaFayetteL Offline
                      LaFayette Admin
                      last edited by

                      @Cernel I think it's between an X and the current moon. Stop and pause do not quite make sense as it implies motion. When scrolling between units, the idea is the units have not moved yet and are not in motion, so those two suggestions do not make as much as sense.

                      If you can help someone to line up to make a good 'X' icon, I'd be happy to use it. The image is 40x40.

                      C 1 Reply Last reply Reply Quote 0
                      • LaFayetteL Offline
                        LaFayette Admin
                        last edited by

                        Some additional notable behaviors:

                        • The 'f' key which highlights all moveable units is being updated to not highlight skipped units.

                        I also think it makes sense to print the territory name in the scroller to add more context of where the units are. Here is a latest example:
                        Screenshot from 2019-08-10 19-29-11

                        1 Reply Last reply Reply Quote 2
                        • C Offline
                          Cernel Moderators @LaFayette
                          last edited by

                          @LaFayette Well, that is very easy to do, though I can do it with the bars more horizontal or more vertical, if preferred.
                          skip.png
                          skip(black).png

                          LaFayetteL 2 Replies Last reply Reply Quote 0
                          • LaFayetteL Offline
                            LaFayette Admin @Cernel
                            last edited by

                            @Cernel Thanks, though the image should match the existing buttons, background color and foreground.

                            I'm thinking, not for right now, but as a follow up, it may be really good to classify the look and feels as "dark" or "light" and switch to a "dark" button image when using a "light" L&F. The white button text can be a bit difficult to make out. For now though the buttons should just match.

                            1 Reply Last reply Reply Quote 0
                            • LaFayetteL Offline
                              LaFayette Admin @Cernel
                              last edited by

                              @Cernel said in Screen centering/cycling around map UI idea:

                              While looking/thinking about the image, the padding from the edge of the image to the icon is probably the last ingredient for the image to match the existing set.

                              I uploaded the current button images here: https://github.com/triplea-game/assets/tree/master/images/unit_scroller

                              If it's of any help, I can get you @Cernel the existing image files in 'xcf' format.

                              Of note, the vertical bar in the right hand arrow image should be removed too.

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                Cernel Moderators
                                last edited by

                                The file in xcf format I can't see how it can help. If those images where shrunk from bigger raster ones, it would help some getting closer having the original dimensions. Unless this is already good enough:
                                unit_skip.png
                                And for the vertical bar removal (I was wondering about that), I just flipped the left arrow (that, btw, it is not 40x40 pixels, but 25x39):
                                right_arrow.png

                                1 Reply Last reply Reply Quote 0
                                • HeppsH Offline
                                  Hepps Moderators
                                  last edited by

                                  There are any number of options...

                                  I can't fathom how anybody could misinterpret a crescent moon as anything other than rest or skip... but either way... the X is far less clear as an icon.

                                  Here are some others just to muddy up the water further.

                                  Stop.png

                                  Rest.png

                                  "A joyous heart sours with the burden of expectation"
                                  Hepster

                                  C 1 Reply Last reply Reply Quote 1
                                  • C Offline
                                    Cernel Moderators @Hepps
                                    last edited by

                                    @Hepps I like the "zzz" even less than the moon. I like the stop about as much as the X.

                                    HeppsH 1 Reply Last reply Reply Quote 0
                                    • HeppsH Offline
                                      Hepps Moderators @Cernel
                                      last edited by

                                      @Cernel Well the idea here is just to make suggestions...

                                      And since an "X" button is pretty much universally accepted as a "close" button it is really the least appealing option of anything.

                                      "A joyous heart sours with the burden of expectation"
                                      Hepster

                                      C 1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Cernel Moderators @Hepps
                                        last edited by Cernel

                                        @Hepps Well, as I said, if not the "X", my preference would, then, go to the open hand symbol meaning alt (that has this meaning since at least ancient Roman times).

                                        I would also like just a "OK" or "Skip" writing (or, as said, a check mark).

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          Cernel Moderators
                                          last edited by

                                          How about the standby symbol?
                                          https://it.m.wikipedia.org/wiki/File:IEC5009_Standby_Symbol.svg

                                          1 Reply Last reply Reply Quote 1
                                          • Black_ElkB Offline
                                            Black_Elk
                                            last edited by Black_Elk

                                            Oh nice just saw this!

                                            Gotta say I also find that the crescent moon doesn't make me think immediately of sleep. Perhaps if going for that might try something like this... Its the spell symbol for Sleep from the old Baldur's Gate D&D games.

                                            sleep.png

                                            Basically like a closed eye. Not sure if that reads in the way you were thinking?

                                            I'd take just the word "SKIP" if need be, since that would be very hard to confuse and only 4 letters.

                                            C FrostionF 3 Replies Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 8 / 11
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums