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.
I found in the Renpy docs following Code: menu ("jfk", screen="airport"):
I like to have the questions in the airport but i dont know how to style it.
If i change define gui.choice_button it dont apply to the menu in the airport.
Can someone tell me right direction?
Thanks lot for reading.
So i found now a lot but it still not work.
style.menu_choice.color = "#fff"
style.menu_choice.hover_color = "#000"
But i get the error: expected 'word' not found
Styleinspector tells me that the name shloud be correct. I found this code also on the web.
I just need a hint how to use this style. And why is it different to the gui.rpy?
Should i store this two lines also in gui.rpy or ?
Code: Select all
screen airport(txt, items): # screen similar to original choice screen style_prefix "choice" #<--- change to your own style if needed vbox: text "~airport /[txt]/~" xalign 0.5 for i in items: textbutton i.caption action i.action # The game starts here. label start: "..." menu jfk ("Some Name", screen="airport"): "Choice 1": "... ..." jump jfk "Choice 2": pass "?!"
Users browsing this forum: Google [Bot]