How Do I Swap Objects?

Get help using Construct 2

Post » Thu Oct 11, 2012 6:06 pm

Hey, I am new to Construct, and I am lovin' it! But with new softwares comes new questions :(

How do I swap positions of two objects once they overlap?
For ex: I have Object A and Object B. Both the objects have "Drag and Drop" and "Solid" behavior. They are of the same size. What I want to do is, when I drag Object A and place it over Object B, the positions of those two should swap.

For now, I have:
Object A -> Drag and Drop is Dragging -> (dunno what action to put here)
Object A -> Is Overlapping Object 2 -> (dunno what action to put here)

Any help will be appreciated. :)
Thanks!
B
5
S
1
Posts: 38
Reputation: 839

Post » Thu Oct 11, 2012 6:33 pm


it has a little flaw as it does'nt completely swap
B
20
S
8
G
2
Posts: 122
Reputation: 3,202

Post » Thu Oct 11, 2012 6:34 pm

[QUOTE=ash1221]
it has a little flaw as it does'nt completely swap[/QUOTE]

sorry it was an error
B
20
S
8
G
2
Posts: 122
Reputation: 3,202

Post » Thu Oct 11, 2012 6:44 pm

B
12
S
2
G
2
Posts: 96
Reputation: 1,583

Post » Fri Oct 12, 2012 7:32 am

@podpathos: Thanks! This is exactly what I needed. :)
B
5
S
1
Posts: 38
Reputation: 839


Return to How do I....?

Who is online

Users browsing this forum: MrLOL64 and 22 guests