Items to click and drag around the screen

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
Message
Author
Glazed Donuts
Regular
Posts: 121
Joined: Thu Aug 12, 2010 11:47 am
Contact:

Items to click and drag around the screen

#1 Post 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...

Anima
Veteran
Posts: 448
Joined: Wed Nov 18, 2009 11:17 am
Completed: Loren
Projects: PS2
Location: Germany
Contact:

Re: Items to click and drag around the screen

#2 Post 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.
Avatar created with this deviation by Crysa
Currently working on:
  • Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III

Glazed Donuts
Regular
Posts: 121
Joined: Thu Aug 12, 2010 11:47 am
Contact:

Re: Items to click and drag around the screen

#3 Post by Glazed Donuts »

Alright, thanks! It would be awesome if something like this was implemented for Ren'py :)

Quadratic
Regular
Posts: 54
Joined: Fri Aug 20, 2010 10:53 pm
Projects: Dreamscape (VN)
Contact:

Re: Items to click and drag around the screen

#4 Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users