[Solved] Changing GUI colors

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
DrGonzo
Regular
Posts: 46
Joined: Fri Feb 23, 2018 9:12 pm
Location: Los Angeles, California
Contact:

[Solved] Changing GUI colors

#1 Post by DrGonzo »

Hi,
I can't for the life of me figure out how to change some of the GUI colors.
In particular the color of a border around a frame. With my current color scheme the borders are Teal I guess, and I want them to be black.
Sounds simple enough, but I can not figure out where that #@#$$ Teal is configured so that I can change it. Changed just about any color
in gui.rpy, but that didn't help.

Anyone, please?

Image

Code: Select all

        frame:
            xpos 50
            ypos 750
            text tt.value
Last edited by DrGonzo on Sat Jul 21, 2018 6:16 pm, edited 1 time in total.
Google search: "renpy thisismyquestion -org"
This gives you everything - except renpy.org results. Which I find useless 90% of the time.

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

Re: Changing GUI colors

#2 Post by Imperf3kt »

I don't remember off the top of my head, but try pressing the shift key plus i while hovering your mouse over the border - the inspection tool.
It should tell you what style is affecting it and even take you right to the line if you click.
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
DrGonzo
Regular
Posts: 46
Joined: Fri Feb 23, 2018 9:12 pm
Location: Los Angeles, California
Contact:

Re: Changing GUI colors

#3 Post by DrGonzo »

I've just tried that, but it's not really giving me that info.
But thanks anyway!
Google search: "renpy thisismyquestion -org"
This gives you everything - except renpy.org results. Which I find useless 90% of the time.

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: Changing GUI colors

#4 Post by xavimat »

that's not a style, is an actual image in the gui folder called frame.png. Edit it with your image editor (if you want all your frames to change), or define another background for that frame.

Also, is good to know that Renpy creates those images when creating the project but you can later change the color values in gui.rpy and ask renpy to re-create the images based on the colors you have changed (Change/Update GUI)
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)

User avatar
DrGonzo
Regular
Posts: 46
Joined: Fri Feb 23, 2018 9:12 pm
Location: Los Angeles, California
Contact:

Re: Changing GUI colors

#5 Post by DrGonzo »

Wow!
I've never thought that RenPy would use a static image for that, since it resizes with the text.
Thanks, now I'm all set! :)
Google search: "renpy thisismyquestion -org"
This gives you everything - except renpy.org results. Which I find useless 90% of the time.

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: [Solved] Changing GUI colors

#6 Post by xavimat »

It resizes using the Frame() displayable: https://www.renpy.org/doc/html/displayables.html#Frame
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)

Post Reply

Who is online

Users browsing this forum: Google [Bot]