How do I swipe up event ?

Get help using Construct 2

Post » Fri Jan 13, 2017 9:10 pm

Hi,
i'm trying to done swipe up event .... i use the event below on picture attached but this seem to not work on ios iphone and ipad
that's work on desktop (preview) but not on phones
any help please ?
thanks in advance
Image
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Fri Jan 13, 2017 9:56 pm

On any touch start, set variable firsty to touch.y
On any touch end
->compare variable firsty>touch.y, do foo
Image ImageImage
B
168
S
50
G
164
Posts: 8,231
Reputation: 105,581

Post » Fri Jan 13, 2017 10:30 pm

Hi,
thanks a lot
but i did not understand your event ?
http://www.filedropper.com/swipeup
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Fri Jan 13, 2017 10:51 pm

Image ImageImage
B
168
S
50
G
164
Posts: 8,231
Reputation: 105,581

Post » Sat Jan 14, 2017 12:10 am

thank you
that work
B
45
S
16
G
8
Posts: 792
Reputation: 8,306


Return to How do I....?

Who is online

Users browsing this forum: bluesun66, plinkie and 5 guests