can multiple character's text appear simultaneously?
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.
can multiple character's text appear simultaneously?
I am wanting to have 2 character's text appear on screen at the same time, one at the top and one at the bottom. I only really need one to have a character name appear. I was wondering if there is a way Ren'py allows for this or not. Thanks for the help!
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: can multiple character's text appear simultaneously?
I have a code to show 2 message boxes. If dialogue has "|", it splits into 2 and shows one on the left and the other on the right. It needs a bit of customization so the knowledge of the screen language is required.
Code: Select all
screen say:
if not what.find("|") == -1:
window:
area (32,536,512,200)
id "window"
if who:
text who.split("|")[0] id "who" ypos -0.2
text what.split("|")[0] id "what"
window:
area (640,536,512,200)
id "window"
if who:
text who.split("|")[1] id "who" ypos -0.2
text what.split("|")[1] id "what"
Code: Select all
label start:
"Char1|Char2" "hello|hi"
Re: can multiple character's text appear simultaneously?
Wow! I played with it a little and think I should be able to work with that, Thanks a bunch, this was a great help!
- 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: can multiple character's text appear simultaneously?
Very interesting, nyaatrap, I'm going to use this also. Thanks!
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: No registered users