I there a way to change the screen resolution be like this?

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
nanashine
Regular
Posts: 129
Joined: Thu Nov 30, 2017 1:44 pm
itch: renpytom
Contact:

I there a way to change the screen resolution be like this?

#1 Post by nanashine »

I wanted my game to be on vertical, as if it were a cellphone screen. Is it possible?
If the window could stay like this, and the game in full screen.
Image

Thanks in advance :)
I can't access my other account cause I don't remember the e-mail I used *cries in emoji*.

Ana
Regular
Posts: 61
Joined: Sun Oct 12, 2014 5:56 pm
Contact:

Re: I there a way to change the screen resolution be like this?

#2 Post by Ana »

I think if you go into options.rpy file, there should some text like this:

Code: Select all

define config.screen_width = 1920
define config.screen_height = 1080
You can change the screen width and height from there. You may have to change the GUI as well. Hopefully that helps!

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

Re: I there a way to change the screen resolution be like this?

#3 Post by Imperf3kt »

The above will work (I did so myself with one project) but you'll have to extensively edit the gui as well as the code for most positional and sizing stuff in gui.rpy as well as edit all the graphical assets.

A better option, is to select the fourth resolution option (custom) when making a new project.
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

nanashine
Regular
Posts: 129
Joined: Thu Nov 30, 2017 1:44 pm
itch: renpytom
Contact:

Re: I there a way to change the screen resolution be like this?

#4 Post by nanashine »

Thanks Ana and Imperf3kt, you helped me a lot :)
I can't access my other account cause I don't remember the e-mail I used *cries in emoji*.

Post Reply

Who is online

Users browsing this forum: Google [Bot]