Namebox above textbox? [solved]

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
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Namebox above textbox? [solved]

#1 Post by namastaii »

I did see this: http://lemmasoft.renai.us/forums/viewto ... =8&t=25117
And I'm going off of these http://www.renpy.org/w/index.php?title= ... oldid=6098
http://www.renpy.org/wiki/renpy/doc/coo ... ext_window
http://fuckyeahrenpy.tumblr.com/post/88 ... -different


The code:

Code: Select all

style.say_who_window_vbox.order_reverse = True
didn't seem to pull the namebox forward. It's still behind the textbox. Any Idea what I'm doing wrong?

Here's a summary of the chunk of code:

Code: Select all

style.window.background = Frame("textbox.png")

style.say_who_window.background = Frame("namebox")
style.say_who_window_vbox.order_reverse = True
I didn't include all the padding/xalign/etc but everything is lined up perfect except for the part where the namebox is not showing on top of the text box.
Last edited by namastaii on Mon Feb 01, 2016 3:31 pm, edited 1 time in total.

User avatar
peroxidehead
Newbie
Posts: 20
Joined: Thu Mar 13, 2014 7:29 am
Projects: Cat's Cradle
Tumblr: nekomacradle
Contact:

Re: Namebox above textbox?

#2 Post by peroxidehead »

If it helps, here's how I did it in my code:

Code: Select all

vbox:
            style "say_two_window_vbox"
            order_reverse True
And I was able to have the namebox above the textbox using that.

User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Re: Namebox above textbox?

#3 Post by namastaii »

So is that just somewhere separate from the options or?
Because I have the style.window format all in the options page

User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Re: Namebox above textbox?

#4 Post by namastaii »

Okay, I fixed it. I realize now that I was doing this when I was super tired last night. lol
So I accidentally put "say_who_window" instead of "say_two_window"

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Majestic-12 [Bot]