Perform keybindings in C2?

Get help using Construct 2

Post » Sun Mar 26, 2017 10:16 pm

How do i set the keybind in c2? Like when you go to the options menu and change the controls. Amyway this can be done?
B
27
S
12
G
3
Posts: 123
Reputation: 3,948

Post » Sun Mar 26, 2017 10:23 pm

Store a keycode in a variable, and pass that into the keyboard events to check whether that key is pressed, etc. Then you can change that variable to whatever new keycode you need it to be via some menu. You'll have to set up the menu system yourself though, which will be a pain, since there aren't any simple ways to handle menus, and that sort of thing.
B
41
S
19
G
65
Posts: 1,085
Reputation: 37,842


Return to How do I....?

Who is online

Users browsing this forum: vegapomme27 and 10 guests