Page 1 of 1

[SOLVED]How to add Android/IOS full screen frame?

Posted: Fri Dec 13, 2019 9:45 am
by birctreel
Hello, is there anyway that we can add a frame outside a PC-1080p size game so that it would show like full screen on Android/IOS mobile platform?

Is there anyone who know how to reach this goal?

==================================================
UPDATED:
Eventually, I have not completed a frame system to fit every mobile platform, but made an alternative screen of 21:9 to fit the latest phone. So there are 16:9 and 21:9 versions of my game.
It runs perfectly on Android, but for IOS, the current renpy to IOS version didn't support 21:9 ratio. Therefore, only when I add 21:9 launchimage could my game run as 21:9 ratio. If you have the same problem, you can refer to my another topic here: viewtopic.php?f=8&t=57747

Re: How to add Android/IOS full screen frame?

Posted: Fri Dec 13, 2019 9:58 am
by isobellesophia

Re: How to add Android/IOS full screen frame?

Posted: Fri Dec 13, 2019 4:02 pm
by Imperf3kt
When creating your game, select custom resolution, and set it to what you need.

Or, edit the first couple of lines of gui.rpy and check the rest of the gui still looks right.

Re: How to add Android/IOS full screen frame?

Posted: Mon Dec 16, 2019 1:34 pm
by rames44
One option that comes to mind - there are Ren’py methods that will allow you to know if you’re on a mobile device. You could try creating a new custom layer that would live behind the rest of the game, and put the background content on it, sized to 100% screen size. Whether of not this would work depends on how PyTom handles layers and game content on mobile.