gamepad and touch. problems

Get help using Construct 2

Post » Sun Jan 12, 2014 6:25 pm

trying to make "actions in one event with different sub events which are based on test of bool. and it doesn't work if it in one event. could somebody explain me why? thanks a lot
i mean using of touch and gamepad at the same time
654kos2014-01-12 18:27:32
B
2
Posts: 9
Reputation: 268

Post » Sun Jan 12, 2014 6:26 pm

Could you show us your events?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jan 12, 2014 6:43 pm

yes by link
http://www.ex.ua/449266243268
B
2
Posts: 9
Reputation: 268

Post » Sun Jan 12, 2014 6:45 pm

i think i don't understand this sub-events conditions. i'm testing for local bool in sprite "button"
B
2
Posts: 9
Reputation: 268

Post » Sun Jan 12, 2014 6:48 pm

Construct2 reads from top to bottom, so the if button is off - set button to on is followed by if button is on - set button to off, that way it always stays off. replace the if button is on by a system else and all should work.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jan 12, 2014 6:55 pm

You could also use a sprite toggle boolean action on the top-event and change the subevents to check the boolean and set the visibility.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jan 12, 2014 6:59 pm

Great great thanks! i've already forget about this
B
2
Posts: 9
Reputation: 268


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests