I have a question about the very exciting new Dynamic Images. (Discussed here: https://www.renpy.org/doc/html/changelo ... mic-images)
So let's say you have an image like so:
Code: Select all
define e = Character("Eileen", image = "eileen")
image eileen = LiveComposite(
(300, 600),
(0, 0), "eileen_base.png",
(0, 0), "eileen_eyes_[eyes].png",
(0, 0), "eileen_mouth_[mouth].png",
)Lets say we have the following eyes: "happy", "angry", "sad" and the following mouths: "grin", "frown"
Let's say I now have a few emotion combinations in my mind:
happy = happy eyes, grin mouth
angry = angry eyes, frown mouth
sad = sad eyes, frown mouth
creepy = angry eyes, grin mouth
So I know I can switch from emotion to emotion like so:
Code: Select all
$eyes, mouth = "happy", "grin"
e "I'm so happy."
$eyes, mouth = "sad", "frown"
e "Now I'm sad."Also would there be some efficient way for image tags to work without hardcoding each one separately so I could do:
Code: Select all
e happy "I'm so happy."
e sad "I'm so sad."Any ideas?
