Page 1 of 1

(Help) Does Ren'py have a tenacity to lower image quality?

Posted: Thu Aug 23, 2012 7:52 pm
by Midi
Cause this is really weird to me. I'm 100% Sure my images are sharp, and crisp, png Images. But looking at them in game..

IMAGES
(How It's Displaying)
(How it should be)


It's NOT looking the way it should... And I'm really confused. Maybe I'm coding wrong...or the size is bad. But please do look at it and tell me what's wrong. Blurry Images drive me insane.

Code: Select all

#██▓▒░ CUSTOM NAMEBOX ░▒▓███████████████████████████████████
    style.say_who_window.background = Frame("name box.png", 20, 20) #Background skin
    style.say_who_window.xalign = 0.0
    style.say_who_window.yalign = 1.0
    style.say_who_window.xpos = 220 #For precise placement
    style.say_who_window.ypos = 110 #For precise placement
    style.say_who_window.left_padding = 15
    style.say_who_window.top_padding = 15
    style.say_who_window.right_padding = 15
    style.say_who_window.bottom_padding = 15
    style.say_who_window.xminimum = 150
    style.say_who_window.yminimum = 15
    style.say_who_window.xfill = False

    style.say_label.color="#835631"
    style.say_label.drop_shadow = [(1, 1)]
    style.say_label.drop_shadow_color = "#b69e84"
    style.say_label.size = 18
    style.say_label.text_align = 0.5
    style.say_label.xpos = 29
    style.say_label.xalign = 0.5

Code: Select all

#██▓▒░CUSTOM TEXTBOX ░▒▓███████████████████████████████████

    ## The background of the window. In a Frame, the two numbers
    ## are the size of the left/right and top/bottom borders,
    ## respectively.

    style.window.background = Frame("text box.png", 45, 45)

    ## Margin is space surrounding the window, where the background
    ## is not drawn.

    style.window.left_margin = 0
    style.window.right_margin = 0
    style.window.top_margin = 0
    style.window.bottom_margin = 0

    ## Padding is space inside the window, where the background is
    ## drawn.

    style.window.left_padding = 215
    style.window.right_padding = 35
    style.window.top_padding = 75
    style.window.bottom_padding = 35

    ## This is the minimum height of the window, including the margins
    ## and padding.

    style.window.yminimum = 254
My Thanks ~~~[/color]

Re: (Help) Does Ren'py have a tenacity to lower image qualit

Posted: Thu Aug 23, 2012 8:20 pm
by PyTom
There are cases where Ren'Py can blur images:

1) Is the OS window rescaled? You may want to go into preferences and click "window" to ensure that everything is being displayed at 1:1 resolution.

2) Is the say window being resized? Frame will resize things if it proves necessary, which may cause blurring.

You can try:

Code: Select all

    style.window.background = "text box.png"
to stop this blurring from occuring.

Re: (Help) Does Ren'py have a tenacity to lower image qualit

Posted: Thu Aug 23, 2012 9:07 pm
by Midi
PyTom wrote:There are cases where Ren'Py can blur images:

1) Is the OS window rescaled? You may want to go into preferences and click "window" to ensure that everything is being displayed at 1:1 resolution.

2) Is the say window being resized? Frame will resize things if it proves necessary, which may cause blurring.

You can try:

Code: Select all

    style.window.background = "text box.png"
to stop this blurring from occuring.
Okay, I followed the directions and it's no longer framed, and it's not resized either...

But the image still seems to be softened looking.

Re: (Help) Does Ren'py have a tenacity to lower image qualit

Posted: Thu Aug 23, 2012 9:32 pm
by Hijiri
Try it at full screen and see if it still appears like that?

Re: (Help) Does Ren'py have a tenacity to lower image qualit

Posted: Thu Aug 23, 2012 10:06 pm
by Midi
Hijiri wrote:Try it at full screen and see if it still appears like that?
That makes it even more softened. ^^;

Re: (Help) Does Ren'py have a tenacity to lower image qualit

Posted: Thu Aug 23, 2012 10:16 pm
by Hijiri

Code: Select all

    style.window.yminimum = 254
This might be the problem then. (Saw the textbox was 260) You may have to add padding so that the text aligns to where you want it.

Re: (Help) Does Ren'py have a tenacity to lower image qualit

Posted: Fri Aug 24, 2012 3:46 pm
by Midi
It looks better now, my thanks!