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
46
S
16
G
8
Posts: 794
Reputation: 8,335

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
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

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
46
S
16
G
8
Posts: 794
Reputation: 8,335

Post » Fri Jan 13, 2017 10:51 pm

Image ImageImage
B
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

Post » Sat Jan 14, 2017 12:10 am

thank you
that work
B
46
S
16
G
8
Posts: 794
Reputation: 8,335


Return to How do I....?

Who is online

Users browsing this forum: TRMG and 32 guests