Have a question on LIBGDX keyboard inputs. Currently I am using this method to read my input, Gdx.input.isKeyPressed(Input.Keys.A)Gdx.input.isKeyPressed(Input.Keys.A)
, it is working fine tho. But I do realisedrealized at times there are multiple instances of A being pressed when iI only press once. And iI understand that the method had to be placed in the render()render()
method for it to work. Is the problem due to the refreshing?
My question is, how can I only detect 1 instance of "A", when A is pressed for once.
Much Thanks for the help :)