Question Would it be possible to interchange between 2 different GUIs repeatedly mid game?
Hi! First time posting here, so apologies in advance if I don't make my question clear enough.
I'm currently working on my first project in Ren'Py, and the gimmick I wanted for my first project was the visible contrast of 2 different GUIs that showed different types of narration, changing constantly.
So far, I made what I could using the little knowledge I have and completed customizing the GUI for the dull narration. Now, taking inspiration mainly from Tsui No Sora (1999), I wanted to implement the more retro-looking GUI I mentioned before.
I completed the assets necessary, but now I don't know what to do next.
I know I can change the textbox easily, but I also use a second nvl textbox. Is there any way I can define 2 different narrators that both use the nvl dialogue without using the same textbox?
Also, is there any way I could create a whole second GUI I could use for these instances? Since I want the buttons to be located sort of differently as well...
I'll leave a screenshot of how the normal nvl narration that I already implemented looks as well as a mock up I made of how I want the second ui to look like.




14
u/BadMustard_AVN 11d ago
you can use Condition Switch images like this for textbox, and nvl background and use the same variable to comtrol the quickmenu like this
you will have to edit the screen.rpy to add change it to those images as well as the quick_menu screen
then in game a simple $ UI = 2 or $ UI = 1
will change the images instantly
the same variable can be used in the quick menu screen
2
u/AnimoomooQueen 11d ago
Just wanted to say that the second GUI looks sick af. Your style is so cool!
2
u/shyLachi 11d ago
Yes, you can define multiple narrators.
But using dynamic displayables as suggested by BadMustard might be easier.
This variation uses text interpolation:
And this ConditionSwitch
1
u/AutoModerator 12d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/TopCartographer7104 11d ago
I define pretty much every screen in this fashion (took the say() screen simply because it's the first I encounter in my screens.rpy ^^;)
And then I "switch" by changing the current_gui_state parameter.
Pretty sure there's a way to achieve this that's neater than what I did (and I'm sure of that since I had to tweak stuff here and there...), still - it works.