Can you make a key is not down event?

Get help using Construct 2

Post » Sat Jun 25, 2016 10:21 am

Becuase i need one thing to happen when the player hits a enemy and no key is down and something else when the player hits a enemy and a specific key is down. I now that you can make seperate animations to solve this but i don't want to make the player change animations for this so can you do it whitout it?
B
12
S
2
Posts: 267
Reputation: 1,344

Post » Sat Jun 25, 2016 10:53 am

Just use a "key IS down" event, and invert it (right click the event condition and select INVERT.)

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474

Post » Sat Jun 25, 2016 11:22 am

Okay i have never touched those options on the events mostly becuase there is nothing in Construct itself that tells what they do. But the invert option did work well so thanks alot for suggesting that. Can you also tell me what the, Toggle disabled, Toggle bookmark and Toggle breakpoint does so i can use those options to?
B
12
S
2
Posts: 267
Reputation: 1,344

Post » Sat Jun 25, 2016 11:36 am

Toggle disabled disables the event, prevents you from deleting it for troubleshooting if a certain event causes a bug. Bookmark bookmarks the event and allows you to find it easily, in-case you have a lot of events, and I'm not sure what breakpoint does.
B
9
S
5
Posts: 40
Reputation: 919

Post » Sat Jun 25, 2016 11:43 am

No problem.

You can read more about inverting conditions, and breakpoints HERE

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474


Return to How do I....?

Who is online

Users browsing this forum: AllanR, BackendFreak and 33 guests