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.
Hi, looking for a little help. If it's possible, I'd like to be able to have specific choices be all shown at once, but some grayed out and not clickable (essentially to show that some choices can be shown in the future, but unavailable at this time.) Can that be done? Here is the simple menu code below. Would just like Choice2's opacity be cut in half, and not be able to be highlighted when mouse'd over. Thanks.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
default done = 0
label start:
menu PUT_A_NAME_IN_THE_MENU:
"Option 1" if done == 0:
"Route 1"
$ done = 1
"{color=#777}Option 1{/color}" if done != 0:
jump PUT_A_NAME_IN_THE_MENU
"Option 2" if done == 1:
"Route 2"
$ done = 2
"{color=#777}Option 2{/color}" if done != 1:
jump PUT_A_NAME_IN_THE_MENU
jump start
- Put a name on the menu, and jump to it as if it were a label.
- Non available options are grey because of the "color" tag. But when hovered they highlight (I know in your first post you say don't want that, sorry).
- Grey options are not actually blocked, but they send immediately to the same menu, so it seems they are doing nothing.