Hello all, I'm quite new to Ren'Py and python in general, and had a simple question regarding the dialogue text box.
Is there a way to indent the second/further lines to create a quotation effect, as seen in this picture? I'm currently using the japanese ms gothic font to properly render the japanese quotation marks.
Thanks in advance!
Second Line Indentation
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.
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.
-
- Newbie
- Posts: 2
- Joined: Wed Feb 20, 2019 3:56 pm
- Contact:
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: Second Line Indentation
The style name is "rest_indent" and the likely easiest way is to add:
to gui.rpy
If that messes with other text formats, perhaps (untested) define gui.dialogue_text_rest_indent = 55
Code: Select all
define gui.text_rest_indent = 16
If that messes with other text formats, perhaps (untested) define gui.dialogue_text_rest_indent = 55
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
-
- Newbie
- Posts: 2
- Joined: Wed Feb 20, 2019 3:56 pm
- Contact:
Re: Second Line Indentation
Thank you so much! So it seems:
Works perfectly!
Code: Select all
define gui.dialogue_text_rest_indent = 30
- Johan
- Regular
- Posts: 76
- Joined: Mon Jan 14, 2019 5:58 pm
- Organization: DMEOW
- itch: dmeow
- Location: Perú
- Discord: Johan#7444
- Contact:
Re: Second Line Indentation
oh my god, thank you @remix, I also was looking for this! thank you
dmeow !
Check my silly blog!
◤ And I saw the stars ★ falling down... ◢
Check the game!! IT'S OUT!!!
.
Check my silly blog!
◤ And I saw the stars ★ falling down... ◢
Check the game!! IT'S OUT!!!
.
Who is online
Users browsing this forum: Ahrefs [Bot]