Skip to main content

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

HTML game orientation inconsistent and locked on mobile

A topic by strandgames created Sep 28, 2023 Views: 155
Viewing posts 1 to 1

If i mark my game as "mobile friendly" orientation "default". It appears portrait on Firefox and landscape on Chrome, Edge (and others). Furthermore the orientation is locked.

If i mark my game as "mobile friendly" orientation "portrait". It appears portrait on all browsers, but the bottom of the screen is missing until it is tapped. After that it appears ok, but again orientation locked (as expected given portrait).

If i mark my game as not "mobile friendly". I get a not compatible with your device message and It appears portrait on Firefox and landscape on Chrome, Edge (and others). Furthermore the orientation is locked.

If i upload my game to another web server and run it there, it works fine, orientating with the device and initially also the correct onscreen size.

Is there some workaround for itch? Ideally i would like it to orient with the device and not be locked.

Thanks for any help or info.

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