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.
So I'm making a dating sim and I've customized NVL mode to look like a phone and each entry to look like a message. I set the background for the nvl_entry style to be a message bubble, but what I can't seem to figure out is how to set a variable or something that changes the image (to a bubble that's a different color) based on who is speaking.
I have msg1.png and msg2.png, and I was thinking I could have an if statement change [num] to correspond to the correct image, but I'm not sure how to accomplish that. Thanks for any help!
Last edited by idka on Sat Aug 18, 2018 9:21 pm, edited 1 time in total.