Flexible Controls

Discussion and feedback on Construct 2

Post » Mon Jun 10, 2013 12:34 pm

Hi there,

first, i'd like to apologize if some sentences are gramaticaly wrong since im not a native english speaker.

I'm new to Construct and I took the time to test some things.
I haven't found any content concerning ingame customizable controls, I mean, redefining the keys you use to controls your player in the game.

So I just made a template/example/whateverworksforyou of how i would do it.

Should I submit this as a tutorial ?

Project Example link :
https://mega.co.nz/#!VMdxkLAA!RSTirQWmRwhUpaTZ6SSFGmhhbb033fd7Fb2RKLfpZII

If i could get some feedback on this, it would be awesome.

Thanks

- Max -
B
3
Posts: 2
Reputation: 179

Post » Mon Jun 10, 2013 12:45 pm

In the keyboard object, there are some actions like "Key Code Pressed", "Key Code Down", etc. You can use those to redefine keyboard controls in-game.
The keycodes are in Javascript, I believe. You can also use this convenient site to find what the key codes are.

EDIT: Oops... I didn't read through the whole post. My mistake! :P
Personally, I think the example is complicated to read. It's best to keep examples as simple as possible, for instance, a square that appears when you press a key or something like that.Zero62013-06-10 12:54:25
B
13
S
4
Posts: 117
Reputation: 2,242

Post » Wed Jun 12, 2013 7:17 pm

I see what you want to say :)
The project is hard to read because of the "player input" instance, i should just keep the part about redefining the keys.
I'll try working on it when i got some time and uploading a new version
B
3
Posts: 2
Reputation: 179


Return to Construct 2 General

Who is online

Users browsing this forum: X3M and 7 guests