How can I make the screen be vertical like that and work?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

How can I make the screen be vertical like that and work?

#1 Post by Nanahs »

I want to make my game be in a vertical screen for Android.
But when I chose to put it like that the menu text got too small.
Something like that:
Image

How can I make the menu text get bigger and in the center like that?
Image

Also, which resolution would be best to a vertical game?

Thanks xx

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: How can I make the screen be vertical like that and work?

#2 Post by Imperf3kt »

Ren'Py is optimised for a 16:9 resolution. What you want is possible, but takes a large amount of customising and reworking. You'll require basic to intermediate knowledge of Ren'Py screen language. The documentation is a great (if at first, daunting) resource to get you started.

Personally, I prefer to go with 720x1280, but any 9:16 resolution should work up to 1080x1920


Start by editing the mobile variants section, found in screens.rpy at the bottom.
I suggest deleting it entirely, it will make things easier.

Next, you'll need to adjust the navigation and main menu screens and possibly also need to adjust some vaules in gui.rpy
shift + i is useful for determining what style is applied to what part of a screen or text.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

Re: How can I make the screen be vertical like that and work?

#3 Post by Nanahs »

Thank you so much! I'll give it a try! :)

Post Reply

Who is online

Users browsing this forum: No registered users