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
32
S
14
G
3
Posts: 135
Reputation: 4,297

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
45
S
21
G
65
Posts: 1,118
Reputation: 38,227


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, dand, tinhofiel and 31 guests