Screen resolution question
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.
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.
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Screen resolution question
I'm considering making all the graphics for my game 1080p and then including an option to run windowed at 720p rather than the other way around, but I don't know how to put in the option to shrink the game window. Is there a way to do this?
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: Screen resolution question
You'd want to include a button with the action Preference("display", 720.0/1080.0)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Screen resolution question
That didn't work for me, I tried to use 0.67 instead after checking out this: http://www.renpy.org/doc/html/screen_actions.html
However, it's not exactly 720 pixels across..
However, it's not exactly 720 pixels across..
- Samidarenina
- Regular
- Posts: 137
- Joined: Sun Aug 01, 2010 1:21 pm
- Contact:
Re: Screen resolution question
Maybe a more accurate value like "0.666666666667" would get better results?
Who is online
Users browsing this forum: Google [Bot]