Swipe to destroy

Get help using Construct 2

Post » Thu Dec 06, 2012 2:21 pm

Hi, what I want is to everytime i swipe my finger, to destroy every object i've touched before when my finger stops touching the screen. Something similar to fruit ninja when you swipe 3 fruits in a combo, but destroying them once i stop touching.

There's any way to do this in construct?

Sorry for my english.

Thanks.
B
7
S
1
Posts: 14
Reputation: 1,178

Post » Thu Dec 06, 2012 5:06 pm

simply move the destroy action to after your finger is lifted off the screen. (eg: is NOT in touch)

event
touch (is in touch) -> right click and pick "invert" thus making it "is not in touch

action -> "last touched object(s)" destroyjustifun2012-12-06 17:07:51
B
50
S
21
G
8
Posts: 844
Reputation: 10,299


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 21 guests