[Solved] After updating the Ren'Py engine to version 7.4.4, I've had problems with the screen.

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
Goha
Newbie
Posts: 10
Joined: Fri Jun 22, 2018 9:06 am
Contact:

[Solved] After updating the Ren'Py engine to version 7.4.4, I've had problems with the screen.

#1 Post by Goha »

I was originally using version 7.3.5.
Due to a bug in the Ren'Py web updater, after upgrading to version 7.4.4, the transparency of the say screen bg is not immediately applied.
In version 7.3.5, transparency was applied immediately after adjusting the bar value. In version 7.4.4, it is applied after returning to the main screen.

This is the code I use to adjust the transparency of the say screen bg.

Code: Select all

    background Transform(style.nvl_window.background, alpha=persistent.nvl_opacity)


style nvl_window:
    xfill True
    yfill True
    background "gui/nvl.png"
    padding gui.nvl_borders.padding
I've tried this code too and it doesn't work as expected.

Code: Select all

    background Transform(Image("gui/textbox.png", xalign=0.5, yalign=1.0), alpha=persistent.window_opacity)
How can I make sure the transparency is applied right away?
Last edited by Goha on Tue Jun 15, 2021 5:46 am, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: After updating the Ren'Py engine to version 7.4.4, I've had problems with the screen.

#2 Post by PyTom »

As a guess, are you using:

Code: Select all

define persistent.window_opacity = 1.0 
Somewhere? If so, try changing it to default.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Goha
Newbie
Posts: 10
Joined: Fri Jun 22, 2018 9:06 am
Contact:

Re: After updating the Ren'Py engine to version 7.4.4, I've had problems with the screen.

#3 Post by Goha »

Thanks it has been resolved. Thank you!

Post Reply

Who is online

Users browsing this forum: No registered users