Applying matrixcolor in renpy.show
Posted: Sat Jul 03, 2021 5:01 pm
Pardon my inexperience with RenPy, but I spend the last few hours reading up and experimenting with matrixcolor, and I just can't seem to get it to work.
I have a custom function in my code which uses this line to show a sprite:
renpy.show(image, at_list=[FactorZoom(0.8,0.8,0.0,opaque=False), Transform(xalign=x, yalign=y)])
Now, I'd like to add a color tint to this sprite. How do I have to write this?
One thing that at least didn't crash RenPy was adding a matrixcolor property to the Transform, but whatever properties I used, it didn't actually change the image that was being displayed. Either my approach is all wrong or I make some tiny mistake and can't figure out what it is.
Could anyone kindly give me a hand?
Thank you very much in advance.
I have a custom function in my code which uses this line to show a sprite:
renpy.show(image, at_list=[FactorZoom(0.8,0.8,0.0,opaque=False), Transform(xalign=x, yalign=y)])
Now, I'd like to add a color tint to this sprite. How do I have to write this?
One thing that at least didn't crash RenPy was adding a matrixcolor property to the Transform, but whatever properties I used, it didn't actually change the image that was being displayed. Either my approach is all wrong or I make some tiny mistake and can't figure out what it is.
Could anyone kindly give me a hand?
Thank you very much in advance.