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
Newbie
Posts: 18
Joined: Fri Mar 24, 2017 9:37 am
Projects: Time|Reversed, Galaxy Party, The Sauce of My Heart
Deviantart: LittleRainySeasons
Soundcloud: DJM Music
itch: LittleRainySeasons
Contact:

Questions about the New GUI

#1 Post by LittleRainySeasons » Thu Oct 25, 2018 9:30 pm

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

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

Re: Questions about the New GUI

#2 Post by Imperf3kt » Fri Oct 26, 2018 12:14 am

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.

Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

User avatar
LittleRainySeasons
Newbie
Posts: 18
Joined: Fri Mar 24, 2017 9:37 am
Projects: Time|Reversed, Galaxy Party, The Sauce of My Heart
Deviantart: LittleRainySeasons
Soundcloud: DJM Music
itch: LittleRainySeasons
Contact:

Re: Questions about the New GUI

#3 Post by LittleRainySeasons » Fri Oct 26, 2018 9:37 am

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: 3084
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Questions about the New GUI

#4 Post by Imperf3kt » Sat Oct 27, 2018 4:19 am

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.

Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

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 » Sat Oct 27, 2018 11:37 am

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
Newbie
Posts: 13
Joined: Sun Nov 25, 2018 7:57 am
Projects: Fancy Future
Contact:

Re: Questions about the New GUI

#6 Post by Dav » Sun Feb 03, 2019 1:41 pm

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: 3084
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Questions about the New GUI

#7 Post by Imperf3kt » Sun Feb 03, 2019 2:09 pm

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.

Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

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

Re: Questions about the New GUI

#8 Post by Dav » Sun Feb 03, 2019 5:11 pm

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

#9 Post by xavimat » Sun Feb 03, 2019 5:18 pm

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
Newbie
Posts: 13
Joined: Sun Nov 25, 2018 7:57 am
Projects: Fancy Future
Contact:

Re: Questions about the New GUI

#10 Post by Dav » Sun Feb 03, 2019 5:37 pm

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: Bing [Bot], craze, Google [Bot]