Skip to main content

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

Mobile App Doesn't Fit as WebGL Upload ?

A topic by squibblerqwq created Sep 03, 2019 Views: 709 Replies: 1
Viewing posts 1 to 2
(2 edits)

I have developed a mobile app in Unity (the Canvas is set to scale with screen size with reference resolution 1080x1920) and I wanted to upload it so my friends can test it out in their browsers. I built the app as a WebGL project, and then compressed the project and uploaded it to itch.io. I set the embed options to embed in page and manually specified a size of 1080 x 1920 px. When trying to view the project page in the web browser, the viewport is too large and doesn't fit in the screen.
https://gyazo.com/d60429bb97bddd119c2d9ba63584299c

When I zoom out of my web browser to make the entire screen fit, the WebGL content does not scale down and thus doesn't fit. https://gyazo.com/2899a247791c687589bc64b68802993e


How can I fix this?

(+1)

I figured it out, but just in case anyone was being stupid like me, don't use google chrome! Use firefox browser.

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