Sometimes keys dont respond

I made a 2d space shooter game, and made the spaceship go left and right, as well up and down.

Every time im going up and left I can’t activate any other key, as for intance the shoot key.

It’s really confusing me because any other two directions allow me to shoot while moving.

I’ve posted it already in script section of the forum, but it didn’t get any reply. Maybe it should had been post here at first.

If you want to check the code, it is here: http://forum.unity3d.com/viewtopic.php?t=55677

Thanks for your time.

Either get a better keyboard that can handle multiple inputs properly, or use a different key for shooting that your current keyboard can handle OK (probably shift or control).

–Eric

I dont think it is a keyboard problem, because i can press 3 keys down always, unless im moving up and left. (example, I can shoot while moving up and right, down and left, down and right,…)

I would understand if I couldn’t shoot in the other cases, but i can…

Thanks

Yes, and Eric already explained why that is. The keys are grouped in “sets” so it’s not (only) the total number of keys which is limited, but rather certain combinations won’t work while others will. It’s a cheap keyboard issue, and choosing different keys will help. Allowing the user to define their own keys is probably best if you plan on releasing it.

Sorry I didnt believe in the first time. I tested it and is true.

Once again sorry, and really thanks for the amazing fast reply.