[SUGGESTION] Prevent scrolling page with arroy key

Discussion and feedback on Construct 2

Post » Sun Oct 07, 2012 11:52 pm

If you set arrow keys for a longer width or height canvas affects scroll bar page, it could annoy us when we press down arrow that move scroll of the page.

Is possible to add project options like "Prevent scrolling with arrow keys: Yes or No" ?
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646

Post » Mon Oct 08, 2012 12:07 am

IIRC you can edit the exported html (I think) to disallow syskeys. I recall Ashley responding to a thread about a similar issue, but regarding the spacebar, which also causes the page to scroll.

But yeah, I'd agree that this is something that would be nice to be able to include when you're exporting, along with some simple tools to let you customise your game page or whatever (mostly because I'm not good with CSS, at all).
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Mon Oct 08, 2012 3:08 pm

This is already supported. Look up Keyboard in the manual.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Mon Oct 08, 2012 10:21 pm

I managed to create additional events for keys without actions, it works.

Thanks.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646


Return to Construct 2 General

Who is online

Users browsing this forum: elitezore and 10 guests