How to place Namebox in front of text 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
johnstag123
Newbie
Posts: 14
Joined: Mon Dec 02, 2013 7:27 am
Contact:

How to place Namebox in front of text window

#1 Post by johnstag123 » Thu Feb 06, 2014 6:47 am

Hello, I was wondering how I could put the name box in front of the text window than behind it. I want it to be in front of the text window and not adjusted on top or its just behind it.
Attachments
Problem.png

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: How to place Namebox in front of text window

#2 Post by PyTom » Thu Feb 06, 2014 5:22 pm

try:

Code: Select all

init python:
    style.say_two_window_vbox.order_reverse=True
or on 6.17+

Code: Select all

style say_two_window_vbox:
    order_reverse True
That reverses the order things are drawn to the screen, so the name box will be atop the text box.
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
renoa-heartilly
Regular
Posts: 115
Joined: Sat Jul 17, 2010 2:37 am
Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
Projects: حور, BB project, dentist drama
Organization: stanza studio (creative circle)
Contact:

Re: How to place Namebox in front of text window

#3 Post by renoa-heartilly » Thu Sep 25, 2014 1:14 pm

whopse O_O
accidentally posted in the wrong thread ><
i was looking for this today, so thank you ^^

Post Reply

Who is online

Users browsing this forum: Google [Bot]