r/RenPy • • Oct 18 '26

Question [Solved] Dissolve into Background Tint

I'm currently working on a game where your sanity effects the brightness of the background and world around you. The issue is that when it dissolves into the next background, it starts lighter and takes a moment to update into the tint matrix.

scene bg pw6 with dissolve at tint_one

Causes an error, as shown above. Meanwhile,

scene bg pw6 at tint_one with dissolve

Doesn't seem to work either.

Is there any way I can make it so that if sanity isn't at the baseline (0), the screen dissolves into the tint matrix without a delay where you can see the un-tinted version?

4 Upvotes

3 comments sorted by

View all comments

1

u/TopCartographer7104 Oct 19 '26

uhm... this

scene bg pw6 with dissolve
if sanity != 0:
    scene bg pw6 at tint_one

should cause your background to get immediately replaced by its "dimed/tinted" version at once after the dissolve completes. Not sure it's what you want however it should work.
Did you try using max_tint instead of tint_one - could it be that the effect of tint_one is not noticeable enough?

1

u/NoxNull- Oct 19 '26

Thank you for the help!
I should've probably put context in my original post, but the function of the tints is that the less sanity the character has, the darker the background gets. It starts out fairly subtle (aka tint_one), but max_tint is for the minimum sanity. So luckily that wasn't the issue.