Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
- Posts: 6
- Joined: Sat Jun 23, 2012 2:13 pm
Trying to add a tint on a live composite. In order to make the sprite have the same lighting as the background. but it keeps tell me "IOError: Couldn't find file 'sherly big confused'."
Code: Select all
image sherly big confused = LiveComposite(
(0, 0), "images/characters/SHERLY-SPRITES/BIG_SHERLY/SHERLY_CASUAL_BASE_POSE1.png",
(0, 0), "sherly big eyes 2",
(0, 0), "images/characters/SHERLY-SPRITES/BIG_SHERLY/SHERLY_BROW_5.png",
(0, 0), WhileSpeaking("Sherly", "sherly big mouth 2", "images/characters/SHERLY-SPRITES/BIG_SHERLY/SHERLY_MOUTH_02.png"),
image sherly sunset big confused = im.MatrixColor("sherly big confused", im.matrix.tint(0.9, 0.5, 0.5))
- Eileen-Class Veteran
- Posts: 1406
- Joined: Wed Dec 04, 2013 12:33 pm
You can't. Image manipulators only take images, not general displayables. Possible workaround: viewtopic.php?p=442479