Applying matrixcolor in renpy.show

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
rezaf
Newbie
Posts: 8
Joined: Wed Sep 20, 2017 2:56 am
Contact:

Applying matrixcolor in renpy.show

#1 Post by rezaf »

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.

Post Reply

Who is online

Users browsing this forum: Google [Bot]