Ren'Py [Ren'Py] Change text color of one choice in menu?

UltSp

New Member
Jul 24, 2019
2
3
Hello all,

I'm working on my first Ren'Py game, and in some menu choices I would like to emphasize choices that have significant consequences.

I would like to make the text of significant choices red, while the other choices remain white, e.g., out of four choices on screen, one is red and three are white.

Any tips on how to do this? I know how to change the color of ALL choices, I'm having trouble using different colors in the same menu.

Thanks.
 

Porcus Dev

Engaged Member
Game Developer
Oct 12, 2017
2,582
4,692
This way:
Python:
label your_label:
    "..."

    menu:
         "You really want to do this?"  ### menu phrase

         "{color=#126327}Yes{/color}":
              "..."

         "{color=#DF2920}No{/color}":
              "..."
 
  • Like
Reactions: UltSp