I'm just starting to dive into the drag functions of Renpy and I've got a small idea for a "move away shrubs/grass to find objects" interaction.
So far, I've got the draggable objects functioning, we can make a draggable bush and hide something behind it:
Code: Select all
drag:
drag_name "bush1"
droppable False
xpos 75
ypos 600
child "gui/botany/0/bush1.png"
For example, right now the draggable object is free to move anywhere (we want to uncover what's behind the bush after all) but it's a bit immersion-breaking to be able to drag the bush into the sky or the treetops and leave it there.
I suppose the alternate is an image that can be transformed a few pixels to the left or right on clicking but it feels less exciting than dragging something, so I thought I'd ask the folks here if there's a way. ^-^)
Any insight is appreciated, cheers!