Typically people use ESC to pause keyboard-controlled games. In a fullscreen web game, ESC is used by the browser to exit fullscreen mode. This is an obvious conflict and a nusiance for the player.
What solutions do you have to get around this?
Typically people use ESC to pause keyboard-controlled games. In a fullscreen web game, ESC is used by the browser to exit fullscreen mode. This is an obvious conflict and a nusiance for the player.
What solutions do you have to get around this?
defos.on_click() or defos.on_interaction().
to toggle fullscreen in game