Centering words when using nvl

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
Holy
Newbie
Posts: 16
Joined: Sun Sep 09, 2007 3:57 am
Contact:

Centering words when using nvl

#1 Post by Holy »

Just trying to figure this out.

When on nvl, I want to try and centre a sentance, instead of having it on the top of the screen.

Here is an example from F/SN just in case I did not make any sense :P

Image

EvilDragon
Veteran
Posts: 284
Joined: Fri Dec 28, 2007 5:47 am
Location: Where the Dragons rule!
Contact:

Re: Centering words when using nvl

#2 Post by EvilDragon »

You just insert as many /n (newline) characters as you need:

Code: Select all

"\n\n\n\n\n\nI'll make it come true."
Angels of paradise, angels of sacrifice
Please let me be under your wings...

Holy
Newbie
Posts: 16
Joined: Sun Sep 09, 2007 3:57 am
Contact:

Re: Centering words when using nvl

#3 Post by Holy »

Ah yes, it works, thankyou very much ^^

Post Reply

Who is online

Users browsing this forum: No registered users