Swipe Gesture Cont.

Get help using Construct 2

Post » Fri Feb 03, 2012 11:41 am

How do I achieve something like this in Construct 2...

Photoswipe

I want smooth swipe movements.

This is my current Capx file, I am not much for code so help would be very useful...

capx
B
5
S
1
G
1
Posts: 111
Reputation: 1,122

Post » Mon Jun 01, 2015 2:24 pm

Hello mate, I'm wondering if you got this to work and how.
Thanks
B
9
S
2
Posts: 27
Reputation: 553

Post » Mon Jun 01, 2015 3:05 pm

Should be pretty simple..
Give the photo's drag and drop behaviour and instance variables OldX and OldY

On drag and drop start
> set OldX to object.x
> set OldY to object.Y

And "On drag and drop drop" compare the OldX and OldY with object.x and object.y or Mouse/touch.x and Mouse/Touch.y and decide which actions to take accordingly..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
53
S
16
G
8
Posts: 6,157
Reputation: 19,744


Return to How do I....?

Who is online

Users browsing this forum: mercuryus, mystazsea and 16 guests