How to make a drag and drop menu-like screen?

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
LolitaOfJustice
Newbie
Posts: 3
Joined: Tue Jul 25, 2017 3:30 pm
Tumblr: lolitaofjustice
Contact:

How to make a drag and drop menu-like screen?

#1 Post by LolitaOfJustice » Tue Nov 14, 2017 3:29 am

Can someone help me with figuring out how to make a screen pop up in my game when prompted, that has a layout of item buttons that you can drag to a certain center point that accepts it?
I know the basis of "show screen" and screen but I don't know where to go from there. A close enough example of what I'm looking for is something like in the game VA1-HALL-A Bartender action, that drink maker menu is pretty similar to what i have in mind since it's also like a recipe style menu thing. (for example dragging milk, eggs, sugar into a bowl with a mix and reset button etc)
Hi-hi! It's me the lolita of justice! Ready to bring justice everywhere! ^u^

User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Re: How to make a drag and drop menu-like screen?

#2 Post by Divona » Tue Nov 14, 2017 5:09 am

Completed:
Image

User avatar
LolitaOfJustice
Newbie
Posts: 3
Joined: Tue Jul 25, 2017 3:30 pm
Tumblr: lolitaofjustice
Contact:

Re: How to make a drag and drop menu-like screen?

#3 Post by LolitaOfJustice » Tue Nov 14, 2017 9:45 pm

Divona wrote:
Tue Nov 14, 2017 5:09 am
See: Drag and Drop
https://www.renpy.org/doc/html/drag_dro ... g-and-drop
I looked there first actually. I tried starting off with the second code but it didn't work out for the code I'm looking for initially.
Hi-hi! It's me the lolita of justice! Ready to bring justice everywhere! ^u^

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], loliconazter