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
(bug) The player keeps moving when the TalkDialog is called #271
Comments
Hi @TaylorHo ! |
Ohh, Ok! |
Reproducible CodeDownload the compressed project attached below, run the I've added a better explanation at the |
Great! |
Fixed in version 2.6.4. Pls use |
Introducing the bug
When approaching some items on the map, I call
TalkDialog.show
to show an interactive dialog with the item.When used on non-mobile platforms (such as web and desktops), when displaying dialog,
KeyboardDirectional
crashes and keeps the player moving nonstop.Way to prevent (which still needs improvement)
To prevent this, you can use
gameRef.player?.stopMoveAlongThePath();
, but as soon as the dialog closes and the player starts walking again, it locks the direction again, moving indefinitely.Additional Info
It is worth mentioning that the error only occurs with
KeyboardDirectional
on the joystick (used on the web, Windows, Linux, and macOS).Example:
Final considerations
Here we have two changes to be made/fixed:
Thanks a lot!
The text was updated successfully, but these errors were encountered: