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
55
S
21
G
8
Posts: 875
Reputation: 9,224

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
178
S
50
G
206
Posts: 8,688
Reputation: 127,719

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
55
S
21
G
8
Posts: 875
Reputation: 9,224

Post » Fri Jan 13, 2017 10:51 pm

Image ImageImage
B
178
S
50
G
206
Posts: 8,688
Reputation: 127,719

Post » Sat Jan 14, 2017 12:10 am

thank you
that work
B
55
S
21
G
8
Posts: 875
Reputation: 9,224


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests