[SOLVED]help for text box that doesn't need show_two_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
polks
Newbie
Posts: 10
Joined: Fri Aug 28, 2015 5:17 pm
Projects: The Fetch
Tumblr: polks
Contact:

[SOLVED]help for text box that doesn't need show_two_window

#1 Post by polks »

I'm super new to this and looked at Aleema's wonderful text box customization tutorial thread already but I'm running into a problem. Ideally i would like a text box that is one image but automatically accounts for the space a character name would take up when using the narrator. Ren'py's default makes the nameless narration start in the same line where, if i don't use show_two_window, the character names will show. I assume there's a simple way to get around this by defining the narrator text to start at a different position but i'm not sure how to code that.

I attempted to get around this by using the show_two_window code without a frame, but it results in the character name text being behind the textbox image.

Image

Like so. Ultimately the show_two_window code would perfectly suit my purposes if i could figure out how to make the character names show up above the textbox. If you guys have any solutions, I'd love the help. I've tried looking around but didn't see anything address this, though easily could have missed it.
Last edited by polks on Fri Aug 28, 2015 6:26 pm, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Need help for a text box that doesn't need show_two_wind

#2 Post by Donmai »

If I understood correctly, you just need to define your narrator character with a blank space in the 'name' field:

Code: Select all

define narrator = Character(' ')
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

polks
Newbie
Posts: 10
Joined: Fri Aug 28, 2015 5:17 pm
Projects: The Fetch
Tumblr: polks
Contact:

Re: Need help for a text box that doesn't need show_two_wind

#3 Post by polks »

HAHA of course it's that simple. Thank you so much! I was overthinking it :')

Post Reply

Who is online

Users browsing this forum: Ocelot, renderedphoenix, Semrush [Bot]