Is there a way to disable fullscreen option?

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
Mint
Regular
Posts: 25
Joined: Mon Jun 25, 2007 11:08 am
Contact:

Is there a way to disable fullscreen option?

#1 Post by Mint »

Hello!

I was wondering if you can disable the fullscreen option in preferences.

If it was in the tutorials or anything, then I'm sorry I didn't look hard enough X_X (or is it even possible?)

Thanks =)

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Is there a way to disable fullscreen option?

#2 Post by PyTom »

Although it's not properly documented yet, the way to do this is:

Code: Select all

init:
    $ _remove_preference('Display')
I'm curious, though... why?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

Re: Is there a way to disable fullscreen option?

#3 Post by monele »

I could give my own personal reason though it probably won't match : Ren'Py PhoenixW had a non-standard resolution that made fullscreen an awful place to be into ^^;...

Mint
Regular
Posts: 25
Joined: Mon Jun 25, 2007 11:08 am
Contact:

Re: Is there a way to disable fullscreen option?

#4 Post by Mint »

Awesome! Thankyou! It worked!

My drawings looked really weird when it got into fullscreen mode...
Like their faces were stretched out.

Thanks again ^^!

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

Re: Is there a way to disable fullscreen option?

#5 Post by monele »

Do you have a wide screen? And what resolution is your game in?

Mint
Regular
Posts: 25
Joined: Mon Jun 25, 2007 11:08 am
Contact:

Re: Is there a way to disable fullscreen option?

#6 Post by Mint »

I'm working on a 1024x768 res.. does that mean my game's that res too? O_O I don't think I have a wide screen... >.<

Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Is there a way to disable fullscreen option?

#7 Post by Jake »

Mint wrote:I'm working on a 1024x768 res.. does that mean my game's that res too? O_O I don't think I have a wide screen... >.<
My mother has a little laptop with a screen capable of displaying 1024x768, but it's nearly twice as wide as it is tall and has notably-elongated rectangular pixels, so she sets it to 1024x600 (IIRC) to get the correct aspect ratio on displayed images.

The simple way to check whether it's the software or your monitor is to get a ruler or tape measure and measure first how wide and then how tall your screen is in physical units. Divide the width by the height - if you get one and a third (1.33...) then you have a screen that has the same aspect ratio as a 1024x768 working resolution, and if you have the same aspect ratio you shouldn't see elongation. (IIRC the default Ren'Py resolution is actually 800x600, but it's the same ratio.)
Server error: user 'Jake' not found

Post Reply

Who is online

Users browsing this forum: Alex