Style Inspector?

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
TheOneAndOnly-K
Regular
Posts: 78
Joined: Mon Apr 07, 2014 10:33 am
Contact:

Style Inspector?

#1 Post by TheOneAndOnly-K »

Okay so I've been looking around and trying to use the Style Inspector, however, when I do click Shift + I on the 'preference' screen, I'm unable to see the coding to change the textbutton colors.

Anyone know how this is done? Am I doing something wrong?

User avatar
akemicchi
Veteran
Posts: 465
Joined: Mon Dec 31, 2007 11:22 pm
Projects: Magicians of Delphine, Panaderia: Ensaimada, SweetTooth!, XOXO Droplets
Deviantart: littlebabyshoes
Contact:

Re: Style Inspector?

#2 Post by akemicchi »

Does it work at any other time (outside of the preferences screen)? If it doesn't, you need to have the line

Code: Select all

    config.developer = True
somewhere in your game.

User avatar
TheOneAndOnly-K
Regular
Posts: 78
Joined: Mon Apr 07, 2014 10:33 am
Contact:

Re: Style Inspector?

#3 Post by TheOneAndOnly-K »

It does, just not the preference screen.

I'm simply trying to change every text in the game, button, regular ect to be black XD

User avatar
chocojax
Miko-Class Veteran
Posts: 705
Joined: Sun Oct 25, 2009 11:27 am
Projects: Umbra, Familiarity, Maleficent Justice
Tumblr: chocojax
Location: California
Contact:

Re: Style Inspector?

#4 Post by chocojax »

If you wanna change the text colors, couldn't you just go into "options.rpy" and edit the hex codes for the theme colors?

User avatar
TheOneAndOnly-K
Regular
Posts: 78
Joined: Mon Apr 07, 2014 10:33 am
Contact:

Re: Style Inspector?

#5 Post by TheOneAndOnly-K »

... *facepalms*

Thank you for reminding me something so simple -3-

User avatar
TheOneAndOnly-K
Regular
Posts: 78
Joined: Mon Apr 07, 2014 10:33 am
Contact:

Re: Style Inspector?

#6 Post by TheOneAndOnly-K »

It's not working for the text 'Are you sure you want to quit?' on the yes and no screen or on the preferences text DX

Anyone?

User avatar
chocojax
Miko-Class Veteran
Posts: 705
Joined: Sun Oct 25, 2009 11:27 am
Projects: Umbra, Familiarity, Maleficent Justice
Tumblr: chocojax
Location: California
Contact:

Re: Style Inspector?

#7 Post by chocojax »

Umm, I'm not sure which ones would directly affect those in the themes, but you could go into "screens.rpy" as well and:

Code: Select all

screen yesno_prompt:
# some random code

init -2:
	style yesno_button_text:
		color "#hex"

Code: Select all

screen preferences:
#some random code

init -2:
	style pref_button_text:
		idle_color "#hex"
This'll help you change around the colors as well: http://www.renpy.org/doc/html/style_pro ... y-prefixes

Hope this helps? :v

User avatar
TheOneAndOnly-K
Regular
Posts: 78
Joined: Mon Apr 07, 2014 10:33 am
Contact:

Re: Style Inspector?

#8 Post by TheOneAndOnly-K »

Ah it looks a lot better!

But it's still not getting this bit: Image

User avatar
chocojax
Miko-Class Veteran
Posts: 705
Joined: Sun Oct 25, 2009 11:27 am
Projects: Umbra, Familiarity, Maleficent Justice
Tumblr: chocojax
Location: California
Contact:

Re: Style Inspector?

#9 Post by chocojax »

That should be "label" under your theme in "options.rpy"?

User avatar
TheOneAndOnly-K
Regular
Posts: 78
Joined: Mon Apr 07, 2014 10:33 am
Contact:

Re: Style Inspector?

#10 Post by TheOneAndOnly-K »

Wonderful!

Thank you!

I'm such a newbie at this. xD

You see the bars in the 'Text Speed' ect? How do I change those to black too?

User avatar
chocojax
Miko-Class Veteran
Posts: 705
Joined: Sun Oct 25, 2009 11:27 am
Projects: Umbra, Familiarity, Maleficent Justice
Tumblr: chocojax
Location: California
Contact:

Re: Style Inspector?

#11 Post by chocojax »

No problem, man.

You can change "widget" under "options.rpy", although it'll change the background of idle buttons to black as well.

(I'm not sure if there's another way to just change the bar to black without changing anything else to black, but you could also just replace the left_bar with a black image.)

You can look at this page right here to mess around with other colors if you need to: http://www.renpy.org/wiki/renpy/doc/reference/Themes

User avatar
TheOneAndOnly-K
Regular
Posts: 78
Joined: Mon Apr 07, 2014 10:33 am
Contact:

Re: Style Inspector?

#12 Post by TheOneAndOnly-K »

Thanks again~

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]