Hello,
I was wondering if it is possible to show both adv and nvl dialogue windows on screen at the same time?
I am trying to implement a system similar to that of a cell-phone overlay, that will display a message conversation between two characters, but also with the ability to use adv as this is happening, without one being hidden to show the other.
Is this possible? If not, could you recommend another method of doing something like this? Programming isn't my strongest area and I'm really stumped on this!
Thanks.
NVL and ADV
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.
- xavimat
- Eileen-Class Veteran
- Posts: 1458
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love, unknown
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Contact:
Re: NVL and ADV
To add a cellphone or a message board better use your own screen and do not use nvl.
You can use a viewport to scroll things in the phone (http://www.renpy.org/doc/html/screens.html#viewport)
Take a look at the Basic Message System by Saguaro, maybe it can help: http://lemmasoft.renai.us/forums/viewto ... 51&t=19295 (or maybe is too much for your needs...)
You can use a viewport to scroll things in the phone (http://www.renpy.org/doc/html/screens.html#viewport)
Take a look at the Basic Message System by Saguaro, maybe it can help: http://lemmasoft.renai.us/forums/viewto ... 51&t=19295 (or maybe is too much for your needs...)
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)
- xavimat
- Eileen-Class Veteran
- Posts: 1458
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love, unknown
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Contact:
Re: NVL and ADV
Is something like this that you are looking for:
Put this code in the script.rpy of a new game (deleting the previous example text).
If you need more help, just ask.
Code: Select all
# TEST CELLPHONE
define e = Character('Eileen', color="#c8ffc8")
label start:
$ msg = [ ]
show screen cellphone(msg)
e "You've created a new Ren'Py game."
$ msg.append("{b}Message One{/b}\nThis is the text of the message one.")
e "Once you add a story, pictures, and music, you can release it to the world!"
$ msg.append("{b}Message Two{/b}\nThis is the amazing text of message two. And can be sooooo long....")
e "Understood?"
return
screen cellphone(messages):
side "c b r":
area (590, 10, 200, 200)
viewport id "vp":
draggable True
mousewheel True
vbox:
text "{b}MESSAGES:{/b}"
null height 10
for message in messages:
text message
null height 10
bar value XScrollValue("vp")
vbar value YScrollValue("vp")If you need more help, just ask.
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: Google [Bot]
