Fullscreen without scaling. How?

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
Outer
Regular
Posts: 32
Joined: Sat Sep 03, 2016 9:29 am
Contact:

Fullscreen without scaling. How?

#1 Post by Outer » Sat Nov 19, 2016 7:56 am

Hello. I want to know, how make fullscreen without scaling. I have final version of ren'py. Like on attached picture
Attachments
2e11d.PNG

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Fullscreen without scaling. How?

#2 Post by nyaatrap » Mon Nov 21, 2016 9:31 am

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.

User avatar
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?

#3 Post by PyTom » Tue Nov 22, 2016 1:05 am

You can use config.adjust_view_size to provide a callback that controls how big the screen is.

Code: Select all

init python:

    def force_size(width, height):
        return (config.screen_width, config.screen_height)

    config.adjust_view_size = force_integer_multiplier
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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: enaielei