Choice menu options in dialogue box

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
User avatar
chesarty
Regular
Posts: 108
Joined: Sat Aug 25, 2018 3:07 am
Completed: 0
Contact:

Choice menu options in dialogue box

#1 Post by chesarty » Sun Jan 10, 2021 8:41 am

For some reason I haven't found a solution to this on any of the forums I've checked, so here goes nothing.

Basically, I want my choices inside of the dialogue box; not replacing the box, just inside of it after the dialogue as seen here:
yo.png
How does it work?

Shie
Newbie
Posts: 21
Joined: Sun Apr 14, 2019 4:12 am
itch: shie
Contact:

Re: Choice menu options in dialogue box

#2 Post by Shie » Sun Jan 10, 2021 9:20 am

As a variant you can chang position of choice screen in screens.rpy(line 207)

Code: Select all

screen choice(items):
    style_prefix "choice"

    vbox:
        yalign 0.9 # added line
        for i in items:
            textbutton i.caption action i.action

Post Reply

Who is online

Users browsing this forum: Google [Bot], hell_oh_world, zmook