Search found 34 matches

by abeplaga
Mon Oct 15, 2018 4:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Drag and drop with returning drag to his original position
Replies: 4
Views: 527

Re: Drag and drop with returning drag to his original position

If you have just one object you can use variables to store the initial position of this object, like Then in your "myobject_drag" you can check if the object wasn't droped over droppable area and move it back. Change it, thanks! But it doesn't work :( When I drop on non-drop area it appears this er...
by abeplaga
Mon Oct 15, 2018 1:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Drag and drop with returning drag to his original position
Replies: 4
Views: 527

Drag and drop with returning drag to his original position

Hi again. I would like to have a simple drag and drop system. I made one with one object drag to one area drop but now I want that the drag object returns to its original position if the player doesn't place it in the drop area. I found this thread with a solution https://lemmasoft.renai.us/forums/v...
by abeplaga
Mon Oct 15, 2018 12:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Drag and drop with image hover effect
Replies: 2
Views: 327

Re: Drag and drop with image hover effect

philat wrote:
Mon Oct 15, 2018 11:06 am
You were close.

Code: Select all

drag:
    idle_child "idle.png"
    hover_child "hover.png"
Thank you! With selected_idle_child "myarea_hover.png" now it's working ^^
by abeplaga
Mon Oct 15, 2018 10:40 am
Forum: Ren'Py Questions and Announcements
Topic: Drag and drop with image hover effect
Replies: 2
Views: 327

Drag and drop with image hover effect

[Warning: I'm not programmer but last week I install Ren'Py and even though I think I've learned a lot, I'm still a newbie :s] I everyone. I’m trying a drag and drop system with two images: one is the objet to drag and the other the area to drop it. I want that when cursor hover the image object cha...