If incorrect key is pressed

Get help using Construct 2

Post » Sun Oct 19, 2014 9:17 pm

Hello,

I'm just wondering what would be the best way to implement this logic:

If "left arrow" is pressed in certain condition add 1 to score
If incorrect key is pressed in those conditions substract 1 to score.

I just noticed i can't invert the the "if key pressed" event so i am wondering what would be the best way to implement this logic.
You do not have the required permissions to view the files attached to this post.
B
12
S
4
G
1
Posts: 241
Reputation: 1,699

Post » Sun Oct 19, 2014 9:40 pm

You could use 'On any key pressed' and then in a sub-event check if left arrow is down or not.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Sun Oct 19, 2014 11:07 pm

thank you! this worked
B
12
S
4
G
1
Posts: 241
Reputation: 1,699


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Kermad, yiuyiu6666 and 20 guests