Need help for proper way to do on release for Touch event

Discussion and feedback on Construct 2

Post » Sat Apr 05, 2014 3:12 am

On touch end - and - is touching object

That should work. It's late and I'm using my phone to type so I cannot confirm first before posting but I'm pretty sure that's the easiest way to do it.
A big fan of JavaScript.
B
76
S
20
G
74
Posts: 2,244
Reputation: 46,462

Post » Sat Apr 05, 2014 3:18 am

Then if you just use 'Is touching' and invert would be like being released. Release is more of a mouse button terminology but is touching and is not touching is the same as press/release.

But Colludium idea works also.
Last edited by PhoenixNightly on Sat Apr 05, 2014 10:22 am, edited 1 time in total.
B
23
S
4
G
2
Posts: 364
Reputation: 2,392

Post » Sat Apr 05, 2014 6:49 am

@Colludium

That totally worked. I would never have thought that putting those two together would have done that though. In my head you can't both be touching the button and not touching the button but I guess since technically it does run them in order and is checking for all those things to be true it ends up working out. Thanks for the help!
B
4
Posts: 11
Reputation: 247

Post » Sat Apr 05, 2014 4:03 pm

Yeah it works, but it does sound a bit iffy.
Might get @Ashley in here to confirm if its proper usage, or not.
Image ImageImage
B
170
S
50
G
179
Posts: 8,378
Reputation: 113,425

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests