Drag Drop - Touch

Get help using Construct 2

Post » Thu Jun 20, 2013 8:37 pm

HI

This drag&Drop works fine on mobile
but found out that if I made the sprite image smaller
and have a larger transparent area IT works much much better

when drag over it spawn an sprite to show where you drop on

But then it gives me a overlapping problem

Do anyone have a solution..



Please see the simple capx

Drag & Drop problem

Cheersflemmig2013-06-20 20:39:12
B
33
S
17
G
11
Posts: 350
Reputation: 8,690

Post » Thu Jun 20, 2013 9:16 pm

I don't have the moveTo behavior to open the capx but it's the sprite's collision polygon that counts.

I suppose the solution would be to have a larger invisible sprite for touching/dragging and the smaller visible sprite pinned to it for detecting overlaps.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,630

Post » Fri Jun 21, 2013 7:38 am

HI

Thanks for the hint !!!


I solved it by doing a smaller sprite as HIT-area and
position it to object

working just fine :-)
B
33
S
17
G
11
Posts: 350
Reputation: 8,690


Return to How do I....?

Who is online

Users browsing this forum: adamebastin, Bro7hers, korbaach, plinkie and 8 guests