Page 1 of 1
Line Breaks
Posted: Wed Dec 13, 2006 8:46 pm
by ghazghkull
Hey I'm just wondering how does one do a line break for this one? I mean I know with HTML you use the <BR> command to make a new line, but how is that done for Ren'Py? Or rather what's the code for Ren'Py?
Posted: Wed Dec 13, 2006 8:57 pm
by Watercolorheart
{p} adds a linebreak while pausing the line, but I don't know if that's what you want ... I never use it, myself ... (very rarely)
So that
"I saw {p} YOU" becomes:
"I saw"
CLICK
"I saw
YOU"
Posted: Wed Dec 13, 2006 9:23 pm
by NetGenSuperstar
Type \n to get a line break. So:
will display as:
Posted: Thu Dec 14, 2006 3:16 am
by ghazghkull
Thanks a lot ^^
Re: Line Breaks
Posted: Thu Nov 04, 2021 1:00 am
by phantmoftheomsi
I tried \n and got an infinite loop.
Is this method for a line break still viable? I noticed this post is 15 years old and the engine may have been updated.
Re: Line Breaks
Posted: Thu Nov 04, 2021 1:38 am
by Inksword
phantmoftheomsi wrote: ↑Thu Nov 04, 2021 1:00 am
I tried \n and got an infinite loop.
Is this method for a line break still viable? I noticed this post is 15 years old and the engine may have been updated.
It works for me:
gives me:
You should probably look at the
text documentation next time instead of reviving a fifteen year old thread lol.
Re: Line Breaks
Posted: Mon Mar 14, 2022 8:21 pm
by AVNSnax
Sorry for reviving a 16 (!) -year old thread, but "\n" doesn't in fact appear to work inside a custom text tag...I had to resort to a function and ugly syntax to accomplish this.