Missing who_window

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.
Post Reply
Message
Author
User avatar
M0ti
Regular
Posts: 66
Joined: Mon Aug 15, 2011 1:06 pm
Contact:

Missing who_window

#1 Post by M0ti » Mon Mar 26, 2012 9:35 am

Hi guys, a little problem. I'm using two windows:

Code: Select all

    style.say_who_window.left_padding = 40
    style.say_who_window.top_padding = 0
    style.say_who_window.bottom_padding = 5
    style.say_window.background =("sys/nic.png")
    style.say_window.yminimum = 109
    style.say_who_window.background = ("sys/say_window.png")
I want my say_window visible during transmitions, so I have this:

Code: Select all

define _windows_during_transitions = True
And I usually define my characters like this:

Code: Select all

define t = Character ('Tom', color="A0522D", window_left_padding=23, window_right_padding=23, show_two_window=True, what_slow_cps=60)
And now, what's s a problem. During a transitions is say_window realy there, but say_who_window is not. I think it's becouse the show_two_window = True is inside the character and when transition runs, there is no character = no two windows.
But even with this assumption I dont know, how to change it. Any sugestion?

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Missing who_window

#2 Post by PyTom » Tue Mar 27, 2012 8:53 am

Maybe try redefining the narrator character?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
M0ti
Regular
Posts: 66
Joined: Mon Aug 15, 2011 1:06 pm
Contact:

Re: Missing who_window

#3 Post by M0ti » Wed Mar 28, 2012 7:38 pm

Ok, I will try. I'm not sure, what redefining the narrator character means (I never work whit it), but its time for learning new things. :D

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Missing who_window

#4 Post by PyTom » Wed Mar 28, 2012 11:37 pm

Create a character named narrator.

Code: Select all

define narrator = Character(" ", ...)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
M0ti
Regular
Posts: 66
Joined: Mon Aug 15, 2011 1:06 pm
Contact:

Re: Missing who_window

#5 Post by M0ti » Thu Mar 29, 2012 5:14 am

Woooow. It was so simple and ... so beautiful. :o Thank you Ren'pyGod. :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot]