Page 1 of 1

Items to click and drag around the screen

Posted: Thu Sep 16, 2010 7:49 pm
by Glazed Donuts
Is there a way to make images that you can click and drag around the screen? I was trying to do something like a jigsaw puzzle. I looked on the Pygame site, but I didn't see any jigsaw puzzle games so I wasn't sure if it was possible to do in Python/Ren'py or not...

Re: Items to click and drag around the screen

Posted: Thu Sep 16, 2010 11:55 pm
by Anima
Ren'py doesn't support draggable objects yet. But it's a planned feature. I don't know if you could do it with pygame.

Re: Items to click and drag around the screen

Posted: Fri Sep 17, 2010 12:52 am
by Glazed Donuts
Alright, thanks! It would be awesome if something like this was implemented for Ren'py :)

Re: Items to click and drag around the screen

Posted: Fri Sep 17, 2010 9:31 am
by Quadratic
I can't see dragging being done, but you can most likely click to highlight the object, then click where you want to place it. It shouldn't be very hard to do.