Questions about the New GUI

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
LittleRainySeasons
Regular
Posts: 44
Joined: Fri Mar 24, 2017 9:37 am
Projects: Patsy n' Crinkles, Galaxy Party, Time|Reversed
Deviantart: LittleRainySeasons
Soundcloud: RoboticDreamz
itch: LittleRainySeasons
Contact:

Questions about the New GUI

#1 Post by LittleRainySeasons »

Is it possible to incorporate the new gui to the old classic gui?

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Questions about the New GUI

#2 Post by Imperf3kt »

Can you be a bit more specific?

If you mean you want Ren'Py to look like the default legacy GUI, while actually being the new GUI, sure it's possible, but you can't use the themes.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
LittleRainySeasons
Regular
Posts: 44
Joined: Fri Mar 24, 2017 9:37 am
Projects: Patsy n' Crinkles, Galaxy Party, Time|Reversed
Deviantart: LittleRainySeasons
Soundcloud: RoboticDreamz
itch: LittleRainySeasons
Contact:

Re: Questions about the New GUI

#3 Post by LittleRainySeasons »

Well actually it's sort of vice versa. I'm more comfortable with the default legacy yet I want to make it look like the new gui.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Questions about the New GUI

#4 Post by Imperf3kt »

Going forward, you most likely will run into problems doing things that way as the legacy GUI was discontinued and isn't officially supported any more since Ren'Py 7


Im not sure how you would achieve what you want.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Questions about the New GUI

#5 Post by trooper6 »

It would be better to update to the newest RenPy and then learn the new GUI.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

Dav
Regular
Posts: 28
Joined: Sun Nov 25, 2018 7:57 am
Projects: Fancy Future
Contact:

Re: Questions about the New GUI

#6 Post by Dav »

Well, i'm at this point... But it's really confusing, like 90% of the ressources i find are about the discontinued GUI, and documentation is out of date...
example : https://www.renpy.org/doc/html/gui.html ... tomization
"define gui.font_size"
Can't find it anywhere, gui, script and options doesn't contain this var...
it's kinda hard to find reliable answers on how to use renpy.
Great tutorials are all outdated, and documentation is wrong... so... i don't know where to find answers... i've been programming for years (ASM/C/C++), i thought renpy would be convenient, but i doubt now.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Questions about the New GUI

#7 Post by Imperf3kt »

define gui.font_size should be found in the file gui.rpy

Try hitting ctrl+F in your editor to find it with a search.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Dav
Regular
Posts: 28
Joined: Sun Nov 25, 2018 7:57 am
Projects: Fancy Future
Contact:

Re: Questions about the New GUI

#8 Post by Dav »

Well if i say it's not there... it's because i searched lol

https://i.postimg.cc/ht73jR35/image.png
Last edited by Dav on Sun Feb 03, 2019 5:31 pm, edited 1 time in total.

User avatar
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: Questions about the New GUI

#9 Post by xavimat »

I agree that the new GUI is confusing because it's highly customizable. And it's not easy to learn.

But in your specific question, it seems a simple change in the variable name. Look for:

Code: Select all

define gui.text_size = 
Arguably, the new name makes more sense, because "font" and "size" are attributes of "text", so you will find also:

Code: Select all

define gui.text_font =
define gui.text_color =
etc.
Or maybe the doc was always wrong.

In any case, thanks for pointing it out. I'll do a pull request in github.

EDIT: PR done: https://github.com/renpy/renpy/pull/1707
Last edited by xavimat on Sun Feb 03, 2019 7:59 pm, edited 1 time in total.
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)

Dav
Regular
Posts: 28
Joined: Sun Nov 25, 2018 7:57 am
Projects: Fancy Future
Contact:

Re: Questions about the New GUI

#10 Post by Dav »

oh thank you !
But i may misunderstand something, as the .text are about the dialogs, while "font.size" was supposed to be the GUI itself (main menu), and i can't find the variable about the main menus fonts at the moment. Tell me if i'm wrong, otherwise, i'll just keep reading the documentation as you made me more confident about it, thank you again.

Edit : don't bother to answer, i found it, it's gui.interface variables i needed, found them ^^

Post Reply

Who is online

Users browsing this forum: No registered users