Art quality decreasing.

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
Raichi
Newbie
Posts: 9
Joined: Tue May 17, 2016 5:07 am
Deviantart: fanofnaruto
Contact:

Art quality decreasing.

#1 Post by Raichi »

I set my window size for my ren'py project at 900 x 600 pixels

I made a simple test bg at this size and put it in my script. However when launching the game the bg looks pixelated, as if slightly stretched even though it's supposed to be at the same size.

Same goes for the character placeholder.

Is there a way for me to maintain the quality of the art and not have it be pixelly?

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Art quality decreasing.

#2 Post by xela »

Search for similar issues, I recall this being discussed in details at least two times before.
Like what we're doing? Support us at:
Image

Raichi
Newbie
Posts: 9
Joined: Tue May 17, 2016 5:07 am
Deviantart: fanofnaruto
Contact:

Re: Art quality decreasing.

#3 Post by Raichi »

I searched but I couldn't find the answer here on the forum.

I did find a code that solves the problem on renpy.org though

Here is the code if anyone finds themselves having the same problem I had:

Code: Select all

init python:

    def force_integer_multiplier(width, height):
        multiplier = min(width / config.screen_width, height / config.screen_height)
        multiplier = max(int(multiplier), 1)
        return (multiplier * config.screen_width, multiplier * config.screen_height)

    config.adjust_view_size = force_integer_multiplier

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Art quality decreasing.

#4 Post by xela »

This was posted before as well. I don't believe it's always the same thing, there sadly isn't any keyword databased maintained for the issues discussed on this forum. Your thread title is more appropriate for this issue at any rate.
Like what we're doing? Support us at:
Image

Post Reply

Who is online

Users browsing this forum: No registered users