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.
I have a question : is it possible to use both NVL dialogs and normal dialogs at the same time?
I'm using the NVL mode to simulate command lines on a computer (the screen is my background scene), but I'd like the main character to comment on what he's typing, but when he speaks with a Character (not a NVLCharacter), the NVL screen isn't displayed anymore and there is nothing on the "screen"...
can anyone help me? do you have an idea?
Code: Select all
init: $ computer = NVLCharacter('SAF48', what_prefix=': ') $ angel = Character('Angel', color="#c8ffc8") image bg screen = "screen.png" label start: scene bg screen nvl clear computer "Access Denied" angel "How come?" return
- img2.jpg (5.82 KiB) Viewed 1298 times
- img1.jpg (6.08 KiB) Viewed 1298 times
- Posts: 465
- Joined: Mon Dec 31, 2007 11:22 pm
- Projects: Magicians of Delphine, Panaderia: Ensaimada, SweetTooth!, XOXO Droplets
- Deviantart: littlebabyshoes
Actually, as far as I know that's not possible. NVL dialogues and normal ADV dialogues don't stay on the screen when you switch to the other.I have a question : is it possible to use both NVL dialogs and normal dialogs at the same time?
Instead of using NVL mode, maybe you could just make the computer screen's words an image and show it instead? You type the whole thing out and even crop unwanted parts with im.Crop... But it'll probably be annoying if you have a lot of dialogue screens where a Character speaks. ^^;
I guess another way is to make a new layer underneath the transient layer (the layer including the dialogue), and maybe over the master layer (the layer with all the backgrounds). With that, you simulate NVL mode with UI Functions such as ui.text, without having the screen be erased... But that's kinda hard and confusing to program, and I don't even know if that'll even work. xD;;
I think your best bet is to keep using NVL mode, but then replace the background with a screenshot of the NVL dialogue where the ADV mode Character will comment. :D
Oh well... too bad... I guess I'll just use the crop function, thanks again !
- Eileen-Class Veteran
- Posts: 1153
- Joined: Mon Jul 07, 2003 4:57 pm
- Completed: Elven Relations, Cloud Fairy, When I Rule The World
- Tumblr: alextfish
- Skype: alextfish
- Location: Cambridge, UK
I thought there was a way to tell a Ren'Py Character to use a different layer so that their text doesn't get cleared out by a normal interaction, but it doesn't look like there is. So "show text" or images look like your options (unless you want to write some layers code yourself).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!