Text box name space

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
SelLi
Miko-Class Veteran
Posts: 550
Joined: Fri Apr 27, 2012 4:49 pm
Completed: The Silent Column
Projects: Ethereal Overflow
Deviantart: SelLillianna
itch: SelLillianna
Location: Canada
Contact:

Text box name space

#1 Post by SelLi »

Hello.
Right now I have a text box that looks like this attachment (very subject to change.)
Just notice how there's a space for the name, and below it there is a dark space for dialog.
If the text isn't spoken, the text goes up into the top space where only the name should go.
How do I make it that if there isn't a character name, the dialog gets pushed down?
Can I do an if statement for that which would edit the padding?
Attachments
Text box
Text box

tuna_sushi
Veteran
Posts: 299
Joined: Thu Jul 07, 2011 9:33 am
Projects: BloomingBlossoms
Contact:

Re: Text box name space

#2 Post by tuna_sushi »

You could just use a new chaacter :)

Code: Select all

define neri = Character(" ")
Make sure there's a space between the quotations.

User avatar
SelLi
Miko-Class Veteran
Posts: 550
Joined: Fri Apr 27, 2012 4:49 pm
Completed: The Silent Column
Projects: Ethereal Overflow
Deviantart: SelLillianna
itch: SelLillianna
Location: Canada
Contact:

Re: Text box name space

#3 Post by SelLi »

Ah! that's a great idea! Thanks, it's so simple :)

Post Reply

Who is online

Users browsing this forum: alyoshaslab