[SOLVED] GUI customization - Help & Preferences menu

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
tv-ghost
Newbie
Posts: 11
Joined: Mon Jul 23, 2018 3:47 am
Contact:

[SOLVED] GUI customization - Help & Preferences menu

#1 Post by tv-ghost »

I would like to incorporate an area dedicated to showing (multiple lines of) text inside of the Preferences menu. At the moment, I'm simply adding text manually and adjusting the ypos for each text line inside of screen preferences(), but I'm assuming there's a better way of adding something like this.

A very basic mockup of the design idea:
Image

EDIT: Basic text displayed on screen with \n commands worked well.
Last edited by tv-ghost on Sat Jul 28, 2018 10:12 pm, edited 1 time in total.

User avatar
MaydohMaydoh
Regular
Posts: 165
Joined: Mon Jul 09, 2018 5:49 am
Projects: Fuwa Fuwa Panic
Tumblr: maydohmaydoh
Location: The Satellite of Love
Contact:

Re: GUI customization - Help & Preferences menu

#2 Post by MaydohMaydoh »

If you're just looking to show multiple lines in a paragraph, use \n in the string to make a new line.

Code: Select all

text "This is line one \nThis is line two \nThis is line three \netc"
https://www.renpy.org/doc/html/text.htm ... characters

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot]