You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a code to move a character that use up down left right arrows and space. When I need to press up, left and space at the same time, the last pressed key does not work (usually left) (with the right one works fine). I tried different code and I get the same problem. I made a new project and did it from scratch and I get the same problem. I tried it in 3 computers and tried runing it in godot ans also as a exported project and I get the same problem in all cases. I changed space for other key and it works fine.
so sometimes this is due to zones on the keyboard, some keyboards don't support certain button combinations. I just tested mine with this site and on my USB keyboard that I've had since Windows XP, then I also cannot press space, up, and left as you described. try it here, and this will inform you if it's your keyboard, or Godot.
velocity=vel*delta# bad, becomes vel*delta*delta in move_and_slide()velocity=vel# ok
The speeds will need to be reduced accordingly from 500 to like 5.0
info
There are two functions, get_axis and get_vector that can help with getting directional input that can also handle analog joystick controllers, if you want to allow it.
Tested versions
Reproducible in 4.2.2 stable and 4.1 stable
System information
Windows 11 pro
Issue description
I made a code to move a character that use up down left right arrows and space. When I need to press up, left and space at the same time, the last pressed key does not work (usually left) (with the right one works fine). I tried different code and I get the same problem. I made a new project and did it from scratch and I get the same problem. I tried it in 3 computers and tried runing it in godot ans also as a exported project and I get the same problem in all cases. I changed space for other key and it works fine.
I tried it on 4.1 stable and get the same isue. I wasnt able to try it in a 3.x version because I dont know how the code works there
Steps to reproduce
Just run the project and try whats described
Minimal reproduction project (MRP)
Prueba2 (2).zip
The text was updated successfully, but these errors were encountered: