Need a solution for this Drag&Drop problem.

Get help using Construct 2

Post » Sun Dec 18, 2011 6:51 am

Example: http://dl.dropbox.com/u/1910765/DragTest/index.html
Capx: http://dl.dropbox.com/u/1910765/DragTest/dragtest.capx

Hello. I'm using the Rex_Drag&Drop plugin, the goal of the example is to drag and drop the bricks on top of the cogs.

As you can in the example, if I drag one of the bricks, it will make the other one disappear or it grabs both of them at the same time, I suppose that's because it's just a copy&paste of the same object.

I'm wondering if it's possible to do so each copy of the object acts individually so I can just copy&paste the object multiple times and I wouldn't have to make more events for each copy everytime.

Thanks.Xavier2011-12-18 06:58:25
B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Sun Dec 18, 2011 8:02 am

B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Mon Dec 19, 2011 2:51 am

That was very helpful. I just edited it a little to add drop zones and it works. Thanks.

http://dl.dropbox.com/u/1910765/DragTest2/index.htmlXavier2011-12-19 02:53:25
B
63
S
23
G
17
Posts: 254
Reputation: 14,342


Return to How do I....?

Who is online

Users browsing this forum: Kagubro and 22 guests