Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

HTML5 iPad full-screen issues

A topic by Alexander Ocias created 14 days ago Views: 54
Viewing posts 1 to 1
(1 edit)

When making a HTML5 game “full-screen” on iPhone, as the fullscreen API is unsupported, itch.io just fills the browser window, this is expected behaviour and best practice.

However, on iPad, the fullscreen API IS supported, and itch.io launches HTML5 games on iPad in fullscreen rather than full window, but this has two major caveats:

1. Swiping down exits full-screen, making games with swiping unplayable.

2. Tapping multiple times triggers a phishing protection warning, making even games with basic tapping unplayable.

It would be good if on iPads (just all iOS devices) itch.io just applied the same full-browser-window behaviour that it does on iPhone safari, and did NOT attempt to trigger the full-screen API. If you wanted to just offer a comprehensive set of options you could do [fixed-dimensions, fill-window, full-screen-API].

My ideal flow on iOS is: Game automatically starts in fixed dimensions -> Player presses full-screen button -> Game becomes ‘full-browser-window’

Meanwhile, if anyone has found a workaround for this issue, I would very much like to hear about it.