Skip to main content

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

How to get the game to run on mobile phone screen in the right resolution?

A topic by shashKing created Apr 25, 2020 Views: 2,558 Replies: 3
Viewing posts 1 to 3

My game appears to be zoomed when it's running on mobile browser.

Itch.io page Link:- https://shashking.itch.io/just-a-viral-game

The Unity resolution was 1280 x 720

The uploaded setting was also 1280 x 720

maybe i should upload with lower resolution? but that will ruin the clarity. Opinions, guys?

Admin(+2)

The default unity template isn’t great bout resizing the game’s canvas to fit the shape of the iframe it’s placed in. You can try using this: https://seansleblanc.itch.io/better-minimal-webgl-template

You may also need to make some game code changes to support rendering at a different size, but the template above should help put you in the right direction.

I also notice that you haven’t marked your game as mobile compatible, so keep that in mind if you’re trying to distribute a mobile game, because right now your page will have a warning on phones saying your game isn’t compatible.

i am going through the Link you suggested.

Yes, i didn't mark the game compatible with phone because it looked wrong  with the resolution problem.

(+1)

yes, i am confirming that it works indeed!

Admin moved this topic to Questions & Support
This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.