Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Web embedded game: fullscreen button provided by itch.io loses game focus

A topic by komehara created May 09, 2023 Views: 151
Viewing posts 1 to 1
(+2)

When using the fullscreen button provided by itch.io as an overlay on a web game embedded like on the game page, after clicking the button to switch to fullscreen, the game focus has been lost and keyboard/gamepad input doesn’t work until you click again.

WOuld it be possible to auto-refocus the game after switching to fullscreen?

Unity and PICO-8’s embedded fullscreen button on web export do this properly. However, Godot doesn’t have such a button in the default template, so I use itch.io’s own button there.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.