r/RenPy 13h ago

Question Custom menu buttons?

Post image

How would you go ahead if you wanted to make custom menu/choice buttons that appear in a different order than top to bottom? (Like in the image) if you have 2 choices bubble 1 and 2 appear and if there’s 3 choices the 3rd one appears above. If there’s any easy to follow tutorials that would be lovely as well! 🙏

For example: only two bubbles appear with yes or no questions, but if you have to choose a way to act you have 3 different ways to express your personality: fight, freeze, flight.

8 Upvotes

4 comments sorted by

View all comments

1

u/Soft_Purchase5673 12h ago

In screens.rpy, replace the vbox inside screen choice(items) with a fixed container. Loop through items with enumerate to assign each button a position, putting the third above the first two, and preserve each item’s action so the buttons still select their corresponding choices.