-
-
Notifications
8000
You must be signed in to change notification settings - Fork 393
Adventure map, animation and hero centering on adventure map with interaction of object that displays a window #6965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In fact, the window is opened AFTER the new hero's position is centered on the adventure map (that's what these screenshots demonstrate). But the hero's movement animation is not indeed finished at that time. |
Hello @oleg-derevenetz,
I don't know what exactly is happening on the programming side, but visually that's the impression you get. :) |
I mean that at the moment when dialog window appears, adventure map is already centered at the new hero position, that's why the adventure map content is shifted to the right (in the direction opposite to the direction of the hero's movement) on your second screenshot. So the window is opened AFTER the new position of a hero is centered on the adventure map, not BEFORE :) |
Preliminary checks
Platform
Windows
Describe the bug
In fheroes2, when the hero interacts with objects that open a message window, the window is opened just before the hero is centered on the adventure map.
The hero should finish his movement animation and be centered on the adventure map before the message window is displayed.
In fheroes2:
In the example, with Faerie Ring:
2023-04-08.19-29-40.mp4
Open the two images in different tabs in your browser, and switch between the two tabs alternately.


Save file
Here is the save file:
Before faerie ring 01.zip
Additional info
No response
The text was updated successfully, but these errors were encountered: