How do I do a touch object equivalent to on key released?

Get help using Construct 2

Post » Sun Nov 02, 2014 1:11 am

I'm targeting both computer and mobile platforms, and I don't see a "on touch released object", so I want to know how I can do the same thing as on key released with the touch object. K thnx!
:)
B
11
S
2
Posts: 91
Reputation: 1,017

Post » Sun Nov 02, 2014 1:21 am

I guess you will have to deal with instance variables. Pressing and releasing (not pressing) adding values.
B
33
S
5
G
1
Posts: 163
Reputation: 2,693

Post » Sun Nov 02, 2014 1:23 am

I think many people use the invert feature. Simply left click on your event and choose invert. Personally, I don't really like to use the invert features as its not what I am really looking for most of the time. I usually use a variable.

For example:

{On key pressed}
-Set var1 = 1

{On any key released
&
var1 = 1}
-Set var1 = 0
-and your triggers here
B
46
S
23
G
31
Posts: 693
Reputation: 20,637


Return to How do I....?

Who is online

Users browsing this forum: DiabloOvermind, kellehk and 26 guests