You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While developing a game, the following situation occurs: if the player holds down a movement key and then clicks the mouse outside the game window (thereby losing focus), after releasing the key and returning to the game window, the character continues to move. Moreover, upon returning to the window, the game does not register new key presses, and the character continues moving until the same key is pressed again.
I believe this is a serious problem for web games. Most portals, such as Poki and Crazy Games, launch games in windowed mode, and I receive a lot of negative feedback because of this bug. Players complain that the character continues running in one direction, and they cannot do anything about it since they don't realize they have to press the same key again after losing focus. As a result, they leave the game and give it a dislike, which significantly impacts player retention. The issue arises on multiple portals, so it’s not tied to any specific platform. On gd.games, all games with similar controls experience this problem.
Steps to reproduce
Launch the game developed using GDevelop.
Hold down a key to move the character (for example, W).
Click the mouse outside the game window to lose focus.
Release the movement key.
Return to the game window — the character continues moving, even though the key has been released.
Is there an existing issue for this?
Describe the bug
While developing a game, the following situation occurs: if the player holds down a movement key and then clicks the mouse outside the game window (thereby losing focus), after releasing the key and returning to the game window, the character continues to move. Moreover, upon returning to the window, the game does not register new key presses, and the character continues moving until the same key is pressed again.
I believe this is a serious problem for web games. Most portals, such as Poki and Crazy Games, launch games in windowed mode, and I receive a lot of negative feedback because of this bug. Players complain that the character continues running in one direction, and they cannot do anything about it since they don't realize they have to press the same key again after losing focus. As a result, they leave the game and give it a dislike, which significantly impacts player retention. The issue arises on multiple portals, so it’s not tied to any specific platform. On gd.games, all games with similar controls experience this problem.
Steps to reproduce
GDevelop platform
Web
GDevelop version
5.5.224
Platform info
OS (e.g. Windows, Linux, macOS)
OS Version (e.g. Windows 10, macOS 10.15)
Browser(For Web) (e.g. Chrome, Firefox, Safari)
Additional context
Game where you can test the bug: https://poki.com/en/g/cat-pizza
The text was updated successfully, but these errors were encountered: