[SOLVED] New Paragraph in Novel Mode without having to click

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
Zelan
Lemma-Class Veteran
Posts: 2436
Joined: Tue Mar 01, 2016 7:23 pm
Completed: The Dark
Projects: Cosplay Couple
Tumblr: evns
itch: Zelan
Discord: ltnkitsuragi#7082
Contact:

[SOLVED] New Paragraph in Novel Mode without having to click

#1 Post by Zelan »

Hey gang, I'm trying to display a long list using NVL mode, and I want each item on the list to be distinct from one another, which I can do easily by having each item be a separate line of text, but this means that the player has to click to display each new item. I'd rather have the whole list be visible at once, but I can't figure out how to make a paragraph break between lines that doesn't require a click.

Here's what it looks like currently, and my code (the top part being what it looks like if I don't make separate lines, and the bottom part if I do use separate lines):

Code: Select all

    n """
    [[GenderBenderOtome] - East Tower - July 25th 2012
    [[BxPlayer] - Zayay - April 2nd 2013
    [[Queer Otome] - The Yule Fabulous - December 23rd 2013
    [[Transgender Protag] - NAOMI - February 17th 2015
    [[G/B/UxB] - Where Ages Go - March 31st 2015 
    [[Gx?] - Wounded by Words - April 22nd 2015

    [[?xG/B] - Rewind - July 2nd 2015

    [[GxShapes?] - misSHAPEn love! - April 8th 2016

    [[?xG/B/X] - A Foretold Affair - January 30th 2017

    [[BxPlayer] - A Date With Markiplier - February 22nd 2017 

    [[LGBT] - Starry Dreams - June 27th 2017
    """
(I know that the text is overlapping, that's just because the first line is clipping into the later lines, so it's not the issue I'm trying to solve here.)
Attachments
help.png
Last edited by Zelan on Tue May 10, 2022 3:25 pm, edited 1 time in total.

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: New Paragraph in Novel Mode without having to click

#2 Post by rayminator »

have you tried using \n

\n (backslash-n)
Includes a newline character in the text.

more info here
https://www.renpy.org/doc/html/text.htm ... characters

User avatar
Zelan
Lemma-Class Veteran
Posts: 2436
Joined: Tue Mar 01, 2016 7:23 pm
Completed: The Dark
Projects: Cosplay Couple
Tumblr: evns
itch: Zelan
Discord: ltnkitsuragi#7082
Contact:

Re: New Paragraph in Novel Mode without having to click

#3 Post by Zelan »

Added \n in front of each line, which worked for the first three, but it won't show the rest of the lines. After this screen, it just moves on to the next screen.

Code: Select all

n """
    [[GenderBenderOtome] - East Tower - July 25th 2012
    \n[[BxPlayer] - Zayay - April 2nd 2013
    \n[[Queer Otome] - The Yule Fabulous - December 23rd 2013
    \n[[Transgender Protag] - NAOMI - February 17th 2015
    \n[[G/B/UxB] - Where Ages Go - March 31st 2015
    \n[[Gx?] - Wounded by Words - April 22nd 2015
    \n[[?xG/B] - Rewind - July 2nd 2015
    \n[[GxShapes?] - misSHAPEn love! - April 8th 2016
    \n[[?xG/B/X] - A Foretold Affair - January 30th 2017
    \n[[BxPlayer] - A Date With Markiplier - February 22nd 2017
    \n[[LGBT] - Starry Dreams - June 27th 2017
    """
Attachments
help2.png

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: New Paragraph in Novel Mode without having to click

#4 Post by rayminator »

why do you have double [ inside of each line \n[[BxPlayer]

is has something to do with height limit for the dialogue I can't help you on how to change it cause I haven't played with nvl format

User avatar
Zelan
Lemma-Class Veteran
Posts: 2436
Joined: Tue Mar 01, 2016 7:23 pm
Completed: The Dark
Projects: Cosplay Couple
Tumblr: evns
itch: Zelan
Discord: ltnkitsuragi#7082
Contact:

Re: New Paragraph in Novel Mode without having to click

#5 Post by Zelan »

[ by itself defines something (not entirely sure what) so it can't be displayed as text without doubling it. Took me a minute to figure that one out haha (':

thanks for the tip! I'll try and look into that but I may have to resign myself to click to continue OTL

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2420
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: New Paragraph in Novel Mode without having to click

#6 Post by Ocelot »

Find gui.nvl_height in gui.rpy and set it to None. This will make nvl entries dynamically sized.
< < insert Rick Cook quote here > >

User avatar
Zelan
Lemma-Class Veteran
Posts: 2436
Joined: Tue Mar 01, 2016 7:23 pm
Completed: The Dark
Projects: Cosplay Couple
Tumblr: evns
itch: Zelan
Discord: ltnkitsuragi#7082
Contact:

Re: New Paragraph in Novel Mode without having to click

#7 Post by Zelan »

Oh SUPER thanks!! This worked perfectly. :D

Post Reply

Who is online

Users browsing this forum: No registered users