Printing multi lines of Text

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
Timberduck
Regular
Posts: 60
Joined: Sat Jan 04, 2014 12:52 am
Location: Canada
Contact:

Printing multi lines of Text

#1 Post by Timberduck » Sat Jan 04, 2014 7:30 pm

I want to print a block of text to show up like this.


name: timberduck
address: 123 fake street
unit: 666
phone: 555-666-8787


the above name to phone printed and viewable all at once.

\m/Timberduck \m/

User avatar
akemicchi
Veteran
Posts: 465
Joined: Mon Dec 31, 2007 11:22 pm
Projects: Magicians of Delphine, Panaderia: Ensaimada, SweetTooth!, XOXO Droplets
Deviantart: littlebabyshoes
Contact:

Re: Printing multi lines of Text

#2 Post by akemicchi » Sat Jan 04, 2014 7:41 pm

Use \n. This is in the text box, right?

Code: Select all

"name: timberduck\n
address: 123 fake street\n
unit: 666\n
phone: 555-666-8787"

Timberduck
Regular
Posts: 60
Joined: Sat Jan 04, 2014 12:52 am
Location: Canada
Contact:

Re: Printing multi lines of Text

#3 Post by Timberduck » Sat Jan 04, 2014 8:06 pm

AWSOME!!
Thanks akemicchi


\m/Timberduck\m/

Post Reply

Who is online

Users browsing this forum: Google [Bot]