Renpy Opacity Slider

swimsoot

Member
Game Developer
Mar 14, 2020
305
683
Hello people,
Anyone know how to code a simple opacity slider in a renpy screen? The idea would be to let the user play with a character's clothes... make them more and less transparent. Can be a single image with a clothing overlay. Nothing fancy.

I received one suggestion to put a bar in a call screen that would change the value of the matrixcolor in the clothing image layer using persistent.transparency.
Didn't work - maybe because a note of advice in the Renpy documentation that said "layered images shouldn't use data that changes at runtime."

Can I just create a sliding alpha value for a clothing png?

Any ideas are helpful.
Thanks!