I've been struggling with trying to figure out how to align multiple lines of text to the left. I've built a terminal emulator for use in my game, but for some reason, whenever I use '\n', the following line of text will appear centered just below the first line. This is the code I have currently for the transform:
transform terminal_text:
#text_align 0.0
xanchor 0.0
xalign 0.0
yalign 0.0
xpos 1070
ypos 160
I'm using the text within the script, too (which is where I'm getting the errors). Here's an excerpt:
show text "'%(command)s!': Invalid command. For a list of \navailable commands, please type 'help'." at terminal_text
I've also tried using text_align, but it doesn't appear to want to work for me. Any help would be much appreciated!
Aligning text objects to the left
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.
- Zeekee
- Regular
- Posts: 67
- Joined: Wed Jul 23, 2014 10:17 pm
- Projects: No One But You, The Anomaly
- Organization: Annexe Interactive
- Skype: ytmnd111
- Soundcloud: zomgaarh
- Location: USAF Academy, CO
- Contact:
Aligning text objects to the left
"When people sometimes misquote me, I don't know if they understand what I'm saying."
-Tommy Wiseau
-Tommy Wiseau
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: Aligning text objects to the left
Try text_align 0.0
"show text" centers the text. Maybe you can show your terminal text as a nvl character. Or create a screen.
"show text" centers the text. Maybe you can show your terminal text as a nvl character. Or create a screen.
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Who is online
Users browsing this forum: Ahrefs [Bot], decocloud