Code: Select all
menu:
"Choice A":
jump ChoiceA
"Choice B":
jump ChoiceB
Code: Select all
menu style "MyStyle":
(etc)
menu style="MyStyle":
(etc)
"Choice A (MyStyle)":
(etc)
Code: Select all
menu:
"Choice A":
jump ChoiceA
"Choice B":
jump ChoiceB
Code: Select all
menu style "MyStyle":
(etc)
menu style="MyStyle":
(etc)
"Choice A (MyStyle)":
(etc)
No.... sorry.... I want to style individual menus, because I use them for different purposes. Like, one is for choosing your dialogue action but another is for what item to buy and I don't want them to look the same....Ocelot wrote:The game displays in-game choice mnu using 'choice' screen. You can find it and accompanying styles in screens.rpy
Okay, thanks. I'll turn it into custom screens then.Ocelot wrote:you can always create your own choice-like screens and invoke them in your code. Look at the renpy.display_menu() Python function to see how choice screen actualy works, so you can replicate it.
https://www.renpy.org/doc/html/statemen ... splay_menu
Another way, if you are attached to renpy menu statement, is to replace the choice screen style and rebuild all styles before each individual menu, but be warned, that it is a complex operation, which introduces noticeable lag.
https://www.renpy.org/doc/html/style.ht ... les-python
https://www.renpy.org/doc/html/style.html#style.rebuild
Users browsing this forum: Majestic-12 [Bot], snotwurm