Fullscreen without scaling. How?
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.
Fullscreen without scaling. How?
Hello. I want to know, how make fullscreen without scaling. I have final version of ren'py. Like on attached picture
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: Fullscreen without scaling. How?
I don't know any way except tweaking your graphic driver.
As far as I know, ren'py is fully dependent on graphic driver setting, and there's no way to change it in program side.
As far as I know, ren'py is fully dependent on graphic driver setting, and there's no way to change it in program side.
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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: Fullscreen without scaling. How?
You can use config.adjust_view_size to provide a callback that controls how big the screen is.
It's kind of a terrible idea, though. Right now, you can reasonably get laptops with screens ranging from 1366x768 to 3840x2160. It'll be hard making a game that looks good on the former, yet isn't unreasonably small on the latter.
Code: Select all
init python:
def force_size(width, height):
return (config.screen_width, config.screen_height)
config.adjust_view_size = force_integer_multiplier
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?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: enaielei