C3 Suggestion: On Touch Object END

Post » Sat Sep 30, 2017 12:38 am

The subject line says it all.
While there are condition checks for when a Touch comes to an end, there's nothing for when touching a specific object stops. This can be very handy for when, for example, a player is holding a long-press over an object (or dragging said object) and then releases it. You don't want to test SIMPLE when the long-press is released, but when a long-press over an object is released.
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
142
S
24
G
8
Posts: 791
Reputation: 15,148

Post » Sat Sep 30, 2017 2:03 am

>Is touching object
>-On any touch end
Image ImageImage
B
171
S
50
G
180
Posts: 8,396
Reputation: 113,986

Post » Sat Sep 30, 2017 3:29 am

I'm not sure that will work. Do you mean to use those two conditions in the same singular event line?
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
142
S
24
G
8
Posts: 791
Reputation: 15,148

Post » Sat Sep 30, 2017 3:52 am

@Rhindon In a sub Event

>Is touching object
SubEvent >On any touch end >>>> Do your actions
B
40
S
23
G
83
Posts: 298
Reputation: 45,844

Post » Sat Sep 30, 2017 5:29 am

Ooooh, okay. I see. I guess I didn't realize to what extent the On Touch End worked. Alrighty then. Thanks, guys!
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
142
S
24
G
8
Posts: 791
Reputation: 15,148


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest