Drag and drop 2 items, drop first one (.capx)

Get help using Construct 2

Post » Wed Mar 06, 2013 10:13 pm


I'm using the Drag and Drop example as sample, but I stumbled on this:

Having two items that share the same description, when I drag & drop the second item in the correct slot, how can I make the first item "drop out", i.e. return it to it's initial position (start.X, start.Y)?

http://db.tt/OZmKGdyV

thaxCalifornia2013-03-06 23:37:40
B
18
S
5
G
4
Posts: 568
Reputation: 5,084

Post » Thu Mar 07, 2013 1:03 am

Try adding an instance variable to your slot object - isFilled.

Create a seperate set of events for if slot.isFilled = true or false
Mistakes were made.
B
54
S
28
G
115
Posts: 1,705
Reputation: 65,083

Post » Mon Jul 01, 2013 2:32 am

@oosyrag hi man, sorry I never replied, late thanks!
B
18
S
5
G
4
Posts: 568
Reputation: 5,084


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests