fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

Adventure map, there is something wrong with the management of the mouse cursor position according to the destination square

Open LeHerosInconnu opened this issue 3 years ago • 2 comments

Preliminary checks

Platform

Windows

Describe the bug

In fheroes2, there is something wrong with the management of the mouse cursor position according to the destination square.

In fheroes2 : In the example, with a different predefined hero path if the position of the mouse cursor is different by a few pixels when clicking on the destination square. Path shorter 01 Path shorter 02

In the example, with the mouse cursor changing according to the mouse placement, attack cursor over the sprite of the hero who initiates the attack, attack cursor changing to arrow cursor in relation to the position over the boat. Cursor attack position 01 Cursor attack position 02

https://user-images.githubusercontent.com/43583994/132094996-71f0ea44-2b24-4a98-8956-b4e5666addb3.mp4

Save file

Here are the save files: Mouse cursor management 01.zip

Additional info

Version 0.9.6 4111

Edit:

Related issue: https://github.com/ihhub/fheroes2/issues/1307.

Edit 2022/06/06.

Another example for this.

In fheroes2:

Cursor position 001

Cursor position 002

Here is the save file: Cursor position 10.zip

Version 0.9.15 5406

LeHerosInconnu avatar Sep 04 '21 12:09 LeHerosInconnu

Hello, @LeHerosInconnu. Isn't it the same to #1307?

Branikolog avatar Sep 04 '21 13:09 Branikolog

@Branikolog.

Hello, @LeHerosInconnu. Isn't it the same to #1307?

I did not see your issue in my search. I think they are complementary because different cases are reported (yours with an adjacent square). I added the link in the first post.

LeHerosInconnu avatar Sep 04 '21 14:09 LeHerosInconnu

Attach updated saves version. saves_0.9.20.zip

HaveFun91 avatar Oct 16 '22 08:10 HaveFun91