.

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
12,716
20,836
1,026
"I've been trying to change the opacity of the quick menu similarly to how it's done with the textbox, but despite using different codes and ideas, nothing seems to work. Is it possible to do this?"
Neither the quick menu, nor its buttons, have a background by default. Therefore, without firstly giving them one, you'll obviously not be able to change their opacity.
 

Winterfire

Conversation Conqueror
Respected User
Game Developer
Sep 27, 2018
6,369
9,144
800
I assume you mean the opacity of the text? Since, as mentioned, it has no background by default.
In case you want to edit the opacity of the text, simply go to the following line in gui.rpy:

Python:
define gui.idle_small_color = '#aaaaaa30'
I added the 30, that's the transparency. rrggbbaa
 

Winterfire

Conversation Conqueror
Respected User
Game Developer
Sep 27, 2018
6,369
9,144
800
I meant creating a slider for the player to select their preferred opacity for the quick menu, but from what you're saying, I guess that's not possible
If you want to create a bar for it, create a bar (Documentation here: )
where it takes min and max value of 0 to 100, then put a -1 and cast it as a string. If -1, return an empty string, else return the string of the int (00 to 99) and attach it to gui.idle_small_color so it'll be dynamic.