How to change the side image?
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.
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.
- WildFLOWER
- Newbie
- Posts: 13
- Joined: Wed Jul 11, 2012 7:33 pm
- Completed: Dance With Me In Wonderland
- Projects: Witch Artifacts
- Contact:
How to change the side image?
I know that when you make a script, you can add a side image for a specific character. The question is; how would I go about it if I wanted to change the side image as if I wanted to change the character's expression? Would I need to define a whole new character for it or there an easier way?
For updates on future releases:
TWITTER
Re: How to change the side image?
You can do that, here's a little sample
Code: Select all
define e = Character('Eileen', color="#c8ffc8", window_left_padding = 200, image="eileen")
image side eileen happy = "e_happy.png"
image side eileen sad = "e_sad.png"
label start:
e "No side image."
e happy "I'm happy"
e "I'm still happy"
e sad "I'm sad now."
returnMy avatar art is a freebie by SilverHyena. Thanks a lot!
- WildFLOWER
- Newbie
- Posts: 13
- Joined: Wed Jul 11, 2012 7:33 pm
- Completed: Dance With Me In Wonderland
- Projects: Witch Artifacts
- Contact:
Re: How to change the side image?
Great, thank you ^^Minnfae wrote:You can do that, here's a little sampleCode: Select all
define e = Character('Eileen', color="#c8ffc8", window_left_padding = 200, image="eileen") image side eileen happy = "e_happy.png" image side eileen sad = "e_sad.png" label start: e "No side image." e happy "I'm happy" e "I'm still happy" e sad "I'm sad now." return
For updates on future releases:
TWITTER
- WildFLOWER
- Newbie
- Posts: 13
- Joined: Wed Jul 11, 2012 7:33 pm
- Completed: Dance With Me In Wonderland
- Projects: Witch Artifacts
- Contact:
Re: How to change the side image?
Actually, I still can't quite get it to work :\ This is the coding I have:Minnfae wrote:You can do that, here's a little sampleCode: Select all
define e = Character('Eileen', color="#c8ffc8", window_left_padding = 200, image="eileen") image side eileen happy = "e_happy.png" image side eileen sad = "e_sad.png" label start: e "No side image." e happy "I'm happy" e "I'm still happy" e sad "I'm sad now." return
Code: Select all
# Declare characters used by this game.
define a = Character('Arrietta', color="#c8ffc8", window_left_padding = 200, image="arietta")
image side arrietta talk angry = "arrietta angry talk.png"
image side arrietta talk blush = "arrietta blush talk.png"
image side arrietta talk = "arrietta talk.png"
image side arrietta blush = "arrietta blush.png"
image side arrietta angry = "arrietta angry.png"
image side arrietta upset = "arrietta upset.png"
image side arrietta sad = "arrietta sad.png"
image side arrietta happy = "arrietta.png"
# The game starts here.
label start:
a "A long time ago..."
returnFor updates on future releases:
TWITTER
Re: How to change the side image?
Well, at first glance, the first mistake I see is that when you defined the character, you gave her the tag 'arietta' (one r) and then in the images you wrote 'arrietta' (two rr), I'll check if there's anything else to fix 
EDIT: I tried it and just writing the tag correctly was enough to make it work.
EDIT: I tried it and just writing the tag correctly was enough to make it work.
My avatar art is a freebie by SilverHyena. Thanks a lot!
- WildFLOWER
- Newbie
- Posts: 13
- Joined: Wed Jul 11, 2012 7:33 pm
- Completed: Dance With Me In Wonderland
- Projects: Witch Artifacts
- Contact:
Re: How to change the side image?
Oh, haha XD I didn't see that there ^^' Thank you ouoMinnfae wrote:Well, at first glance, the first mistake I see is that when you defined the character, you gave her the tag 'arietta' (one r) and then in the images you wrote 'arrietta' (two rr), I'll check if there's anything else to fix
EDIT: I tried it and just writing the tag correctly was enough to make it work.
For updates on future releases:
TWITTER
Who is online
Users browsing this forum: Google [Bot], Ocelot