fheroes2
fheroes2 copied to clipboard
Middle mouse drag adventure map
Simple feature that exists in H3 HD mod / HotA (and other games) that allows you to drag the adventure map by clicking the middle mouse button.
Hi @chrisbigart , could you please explain how different your solution from #5435? Have you checked all cases highlighted in that pull request?
Hi, didn't see that pull request before I started working on this.
This patch is quite a bit simpler but doesn't include support for using the right or left buttons like that one does, so I'd probably suggest just continuing working on #5435.
@chrisbigart
This patch is quite a bit simpler but doesn't include support for using the right or left buttons like that one does
This is not necessarily a bad thing. I'd personally prefer a simpler solutions to a complex highly-configurable monsters that literally noone will in fact configure, and everyone will just use the default (the middle mouse button looks like reasonable default). But it's up to @ihhub :)
Hello @oleg-derevenetz, @chrisbigart and @ihhub,
@chrisbigart
This patch is quite a bit simpler but doesn't include support for using the right or left buttons like that one does
This is not necessarily a bad thing. I'd personally prefer a simpler solutions to a complex highly-configurable monsters that literally noone will in fact configure, and everyone will just use the default (the middle mouse button looks like reasonable default). But it's up to @ihhub :)
If there should be only one mouse button to use, I would prefer it to be the left mouse button. :) It is the most used button by the player in the game and it would leave the central button free for other possible use.
I think right click should be used only for popup / info windows. Interface should be intuitive so the middle button / wheel of the mouse is the best choice and it's unused.
Hi, @ihhub . I agree with @LeHerosInconnu , left click feels more natural, since we use left mouse button for movement and selection. Also, we never perform holding left mouse button, so drag-drop screen moving seems to be maximum suitable and intuitive solution.
Hello @oleg-derevenetz, @chrisbigart and @ihhub,
I think right click should be used only for popup / info windows. Interface should be intuitive so the middle button / wheel of the mouse is the best choice and it's unused.
During my tests of this version https://github.com/ihhub/fheroes2/pull/5435, my gaming experience was best when using the left mouse button. It felt completely natural to use the left mouse button, unlike the other buttons that required "effort of concentration". Of course this will depend on the different users. That's why I prefer the version where the user has the possibility to choose the button that suits him best, even if it's only between the left and the middle button (I find that the use with the right button is not "perfect" because of the appearance, even briefly, of the right-click information window).
Hello @Branikolog,
Hi, @ihhub . I agree with @LeHerosInconnu , left click feels more natural, since we use left mouse button for movement and selection. Also, we never perform holding left mouse button, so drag-drop screen moving seems to be maximum suitable and intuitive solution.
Yes, that's what I felt during my tests. :)
@LeHerosInconnu @Branikolog That's because you know that you have a choice. But if you just being told "there is ability to drag the map using the middle mouse button", the vast majority of users (may be including you) would just say "aha, ok, let's use it", they would use it and get used to it, just like it happens with HotA :) And after that they might even think that it is more convenient than using the left mouse button.
Hi, @oleg-derevenetz ! I've tested another similar PR, where we can change the button. Right button accidentally shows info window, which is not convenient and looks not so well. Middle button... My mouse has sensor middle button which is extremely inconvenient to use. :) Also, I have to move by finger and aim it in the middle part of the middle button, which is wasting too much time. Left button is my personal the most convenient way to use this function: we commonly use short single or double clicks during gameplay. None of game mechanics require from a player to hold left mouse button. So we never initiate this function accidentally. We use left mouse button for moving a hero on a world map, so using it to move map itself feels quite natural for me. Actually, I know right button is used in HotA, but I never use it, as it's not convenient for me.
Hi guys,
Some considerations. If we make the HotA argument then we should also consider fans of fheroes2 that come from Heroes 4 and are used to using the left mouse button. This means we need to choose between what player fanbase is our favorite, HotA vs Heroes 4, and so who gets the short end of the stick.
Not sure what the later Heroes games use.
I personally don't use this feature much.
We've had this exact same discussion in the other drag 'n' move PR, so I feel we're starting to go in circles.
@oleg-derevenetz.
@LeHerosInconnu @Branikolog That's because you know that you have a choice. But if you just being told "there is ability to drag the map using the middle mouse button", the vast majority of users (may be including you) would just say "aha, ok, let's use it", they would use it and get used to it, just like it happens with HotA :) And after that they might even think that it is more convenient than using the left mouse button.
For my part, I always wanted the left button to be used: https://github.com/ihhub/fheroes2/issues/1860. :)
It is afterwards that a use with choice of the button was added: https://github.com/ihhub/fheroes2/pull/5435. Again the fault of Heroes 3. :rofl:
The middle mouse button also requires more pressure than the other buttons to use, which requires additional "muscle memory" (which is okay for a one-time action, but annoying for drag and move because it can be used several times in quick succession).
Hello @zenseii,
Hi guys,
Some considerations. If we make the HotA argument then we should also consider fans of fheroes2 that come from Heroes 4 and are used to using the left mouse button. This means we need to choose between what player fanbase is our favorite, HotA vs Heroes 4, and so who gets the short end of the stick.
Not sure what the later Heroes games use.
I personally don't use this feature much.
We've had this exact same discussion in the other drag 'n' move PR, so I feel we're starting to go in circles.
I think we should stop referring to Heroes 3, HotA, Heroes 4, Heroes 5 and others... Of course, we can take inspiration from them, but we have to see what is best for how Heroes 2 works. And for the reasons evoked by @Branikolog, etc. above, using the left button seems to be the most appropriate, if there is to be only one, as it is the most natural in the Heroes 2 usage context.
Hello all,
we should just decide it. Before I do anything regarding https://github.com/ihhub/fheroes2/pull/5435.
With my pull request there is the possibility to select the key. Which unfortunately adds a lot to the complexity.
For me, however, a fixed key would also be okay. But not the middle key. Since that is very unpleasant to press and is really stupid on the Steam Deck.
Meanwhile, I would even prefer the left mouse button. Feels very accustomed by Google Maps, etc. and may also work with touch. Only points to note are that we should have hysteresis and that we should fix this bug: #2332
The right mouse button would be like in Heroes III HD, but the quick info menu pops up constantly while scrolling and it is quite complex to implement.
Since left mouse click is an equivalent to touchscreen event and not every player has / uses a mouse with a wheel (hello, Apple magic mouse) I am closing this pull request.