How do I subtitute keyboard events in Drag n Drop game

Get help using Construct 2

Post » Mon Mar 13, 2017 5:45 pm

I have a number of drag n drop educational games that need to have keyboard options instead of drag n drop.
Is there web standard for that and what keys should I use?

I am thinking that the student will need to:
1 - select the object to drag
2- use arrow key to move the object to the proper area
3- use a key to select next object to drag
B
8
S
1
Posts: 86
Reputation: 618

Post » Mon Mar 13, 2017 8:20 pm

So far I have tried using spacebar for selecting the objects according to a variable I call 'selected'.
Then I am using the arrow keys to navigate to the corresponding droppable which also works.

I am just not sure this is the 'standard' way to do things if there is a web standard.
B
8
S
1
Posts: 86
Reputation: 618

Post » Mon Mar 13, 2017 10:41 pm

resdesign wrote:So far I have tried using spacebar for selecting the objects according to a variable I call 'selected'.
Then I am using the arrow keys to navigate to the corresponding droppable which also works.

I am just not sure this is the 'standard' way to do things if there is a web standard.


There is a game standard that uses the WASD keys for directional controls and you might include both arrow and those for left handed people.

I think I would use control or shift to select so kids keep their hands near the buttons instead of looking around for a key to push.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,830

Post » Fri Mar 17, 2017 7:39 pm

Thanks Lamar. I think we may have gotten around with asking kids with disabilities that prevent them from using the mouse to use the accessibility settings on their OS. Do you think that this is adequate? This way they can use their keyboard as a mouse and are able to play drag n drop games as well.
B
8
S
1
Posts: 86
Reputation: 618

Post » Fri Mar 17, 2017 8:19 pm

resdesign wrote:Thanks Lamar. I think we may have gotten around with asking kids with disabilities that prevent them from using the mouse to use the accessibility settings on their OS. Do you think that this is adequate? This way they can use their keyboard as a mouse and are able to play drag n drop games as well.


I think that should work fine!
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,830

Post » Sat Mar 18, 2017 12:19 am

WASD keys are not done for AZERTY keyboards. I (but i am stubborn) will not ever play a 'WASD only' game.
And i dont think there is a web standard for kids with disabilities.

Wich is rather nice, because up to you to invent it. The possibilitys are wide and wild.

I would go for keys that can be chosen, starting from a configuration that you think is fine.

Also, i dont know if that is enough for kids with disabilities. Those keys are really tinny, certainly on the latest cheap laptops, and we all know that kids with disabilities have a big chance to fall in the market target for those tinny laptops.

I would use space to select/deselect. Its a big key. But i would also experiment with a rather totally different approach.

Like.

Touching any key on the right of the key board > move right.
Touching any key on the left of the key board > move left.
Same for up and down

Maybe you should even reconsider if up and down are really needed. You could do the up/and down in a automated way. Move it right and it moves automatically (and smooth) up/down to the nearest target. Now you have a big space bar, and the whole left and right of the keyboard to do the stuff. Dont matter if they press several keys at once, because 1 key is for some really really difficult.

Anyway, taught i give you my 2 cents.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Apr 20, 2017 7:10 pm

Thank you for your input. This is a complicated subject. I personally use keyboard shortcut for lots of things but in this instance it seems like the best approach is to use the OS disability keys which I discovered after researching the subject. That way the students can also do drag n' drop with the keyboard acting like a mouse.
B
8
S
1
Posts: 86
Reputation: 618


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 36 guests