I have a question...Object snaps back to the left when drag off screen on the right side.
Posted: Sat Oct 21, 2017 5:41 pm
I have a problem when i drag an object off screen to the right it snaps back to the left. I just want the object to stay at the very right if drag off screen to the right.
Code: Select all
screen send_detective_screen:
xmaximum 720
ymaximum 720
$ xpo = renpy.random.randint(1, 720)
$ xpo1 = renpy.random.randint(1, 720)
$ ypo = renpy.random.randint(1, 520)
$ ypo1 = renpy.random.randint(1, 520)
draggroup:
ypos ypo
drag:
ysize 130
drag_name "Ivy"
child "images/ivy.png"
xpos xpo
draggroup:
ypos ypo1
drag:
ysize 130
drag_name "Zack"
child "images/zack.png"
xpos xpo1