Nadav-01 / Physics_Game

School project based on 2d physics. Written in Java. Pretty crappy, nothing to see here.
0 stars 0 forks source link

Find better input method #2

Closed Nadav-01 closed 5 years ago

Nadav-01 commented 5 years ago

Current input method (implementing keylistener) is ineffective and unintuitive. Need to replace with input that works instantly.

Nadav-01 commented 5 years ago

https://gamedev.stackexchange.com/questions/56017/java-best-implementation-keylistener-for-games

try improving the input to reduce lag between holding down the movement keys and the movement.

Nadav-01 commented 5 years ago

While still not the best, using the link above the input now works as intended. Shelving the issue to optimization.