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.
Hey guys! For some reason, I am having trouble making layered images work. I've read through the documentation on this but I must be messing up how I set it up somehow as it just isn't working for me. Any combination of attributes result in some form of "Exception: Image 'kazuki eyes_mad' does not accept attributes 'mouth_happy'." I would really appreciate anyone taking a quick look over this and seeing where I must have messed up. Thank you so much!
Sugar_and_rice wrote: ↑Wed Apr 24, 2024 7:24 pm
Hey guys! For some reason, I am having trouble making layered images work. I've read through the documentation on this but I must be messing up how I set it up somehow as it just isn't working for me. Any combination of attributes result in some form of "Exception: Image 'kazuki eyes_mad' does not accept attributes 'mouth_happy'." I would really appreciate anyone taking a quick look over this and seeing where I must have messed up. Thank you so much!
I cannot spot any problems in the code you provided. The following works for me (you can strip all those relative paths, maybe it has something to do with it but I don't think so). For test reasons I did not include a transform in the layered image.