How can I make in-game menu buttons transparent?

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
Message
Author
User avatar
tohtamish
Regular
Posts: 64
Joined: Thu Apr 29, 2010 4:56 am
Contact:

How can I make in-game menu buttons transparent?

#1 Post by tohtamish » Wed May 05, 2010 1:51 pm

And only text will be visible... Player must see only choices...

Thanks! :oops:

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: How can I make in-game menu buttons transparent?

#2 Post by Aleema » Wed May 05, 2010 1:59 pm

"background = None" is the magic trick I think you're looking for.
Just apply it to whatever style you're trying to remove the background from. Like style.frame.background = None.

User avatar
tohtamish
Regular
Posts: 64
Joined: Thu Apr 29, 2010 4:56 am
Contact:

Re: How can I make in-game menu buttons transparent?

#3 Post by tohtamish » Sun May 09, 2010 12:04 am

Doesnt work.
Tried to shange something in config (to "None"):


## The color of an idle widget face.
## widget = "#003c78",
widget = "None",

## The color of a focused widget face.
## widget_hover = "#0050a0",
widget_hover = "None",

Doesnt work too. Maybe not "None", - mabe should use ther some numbers for transparent background?

User avatar
tohtamish
Regular
Posts: 64
Joined: Thu Apr 29, 2010 4:56 am
Contact:

Re: How can I make in-game menu buttons transparent?

#4 Post by tohtamish » Sun May 09, 2010 12:37 am

Done. Worked "style.menu_choice_button.background = None".

Post Reply

Who is online

Users browsing this forum: No registered users