Page 1 of 1

Character Name is not displayed b/c of side image

Posted: Sat Apr 04, 2015 10:35 pm
by flickawhite
This is my first time making a game so code is really new to me. I figured out how to add a side image of a character on the left side of the text box when they're speaking but now I've found a new problem! If the side image is there, the character's name window is not displayed at all. I read other posts about this but everyone else had their name box appear but be partially hidden by the side image. However, the name box doesn't appear at all in my case.
(the bg is temporary)
Image
The side image is too small to be blocking any name whether it is in a separate window or not (I tried doing both). However, when I remove the side image completely, the name can be displayed...
Image
I'd really love to have both the side image and the name box there (especially if the name box is in a separate window from the text box) but is it impossible? Also, as I said, this is my first game so I might need a step-by-step process if I really don't understand what's going on...

Re: Character Name is not displayed b/c of side image

Posted: Sat Apr 04, 2015 10:51 pm
by PyTom
How did you define the side image?

Re: Character Name is not displayed b/c of side image

Posted: Sun Apr 05, 2015 10:13 am
by flickawhite

Code: Select all

define h = Character('Hana',color="#ff6666", show_two_window=True)
image side h = ("hana side.png")
define h = Character(show_side_image=Image("hana side.png", xalign=0.0, yalign=1.0))
I wrote that in the script underneath the part where you define the character (which is included in the code for clarity - i didnt define the character twice)

Re: Character Name is not displayed b/c of side image

Posted: Sun Apr 05, 2015 10:37 am
by PyTom
You need to combine the two into one. If you're using the show_side_image way of doing things, you need to write:

Code: Select all

define h = Character(show_side_image=Image("hana side.png", xalign=0.0, yalign=1.0), show_two_window=True)

Re: Character Name is not displayed b/c of side image

Posted: Sun Apr 05, 2015 3:19 pm
by flickawhite
Thank you so much! It worked! ᶘ ᵒᴥᵒᶅ

Re: Character Name is not displayed b/c of side image

Posted: Sun Apr 05, 2015 3:28 pm
by trooper6
Side Note: I really like the style of your sketches!

Re: Character Name is not displayed b/c of side image

Posted: Sun Apr 05, 2015 9:13 pm
by flickawhite
Thank you!! A lot!! (●´□`)♡