Skip to main content

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

html fullscreen resolution on mobile

A topic by eldidou created Jun 22, 2022 Views: 364
Viewing posts 1 to 1

Hello,

I've got some issues with the resolution of html games in fullscreen on mobile.

Instead of having the full resolution, it's much smaller, which results in blurry/pixelated display. For example if a phone has a screen resolution of 2400x1080, the viewport of the game has will be 800x360 instead. This seems related to the Device Pixel Ratio for mobile displays, and if I ask for the Desktop View, it works, I've got the full resolution.

Does anybody know how to have the full resolution by default?

(The game is built using the Godot engine and the html5 export)

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