Shouldn't caption_menuitem use style.menu_caption?

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.
Post Reply
Message
Author
Guest

Shouldn't caption_menuitem use style.menu_caption?

#1 Post by Guest »

I want to have menu captions, as described here, styled and put on top of the choices. The problem is the construction:

Code: Select all

menu:
    "caption"
shares style.say_thought with the narrator dialogue. What's the point, when there's a style.menu_caption?

Right now I have to do this by hand, that is:

Code: Select all

python:
    question = [
        ("caption", None),
        ("choice1", "result1"),
        ("choice2","result2"),
    ]
    show_question = renpy.display_menu(question)
    # here goes a slew of ifs.
Because only then the caption gets styled by style.menu_caption. Shouldn't this be the default in the Ren'Py Language too?

idn
Newbie
Posts: 1
Joined: Sat Feb 21, 2009 6:40 pm
Contact:

Re: Shouldn't caption_menuitem use style.menu_caption?

#2 Post by idn »

Aw crap, I've registered, but the confirmation didn't auto-login me and I didn't notice guest-posting is on here.

Anyway, hello everyone, it's my first post. ;)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]