[Solved] Moving choice menu around during game

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
aqua.soo
Newbie
Posts: 15
Joined: Tue Jun 03, 2014 4:27 am
Location: Korea
Contact:

[Solved] Moving choice menu around during game

#1 Post by aqua.soo »

Is it possible to move buttons of choice menu (screen choice) during game?

I know you can customized the position of buttons by customizing the menu_window style, but styles can't be altered after init phase.

I am guessing that an alternative would be defining a second type of menu with different style, but I am not sure how to define a second special choice screen.

To go even further, it would be cool if you could apply ATL on the choice menu. This sounds very difficult though.
Last edited by aqua.soo on Sun Aug 10, 2014 1:23 am, edited 1 time in total.

User avatar
aqua.soo
Newbie
Posts: 15
Joined: Tue Jun 03, 2014 4:27 am
Location: Korea
Contact:

Re: [Partially Solved] Moving choice menu around during game

#2 Post by aqua.soo »

Eh, I solved the first problem myself.

I just had to define a second menu_window style and make the choice screen choose between the styles depending on the value of some variable.

I would still like to know whether there's a way to apply animation on moving menu choices.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: [Partially Solved] Moving choice menu around during game

#3 Post by PyTom »

You should be able to apply a transform to a button using the at property of the button.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

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