What do you want to save?
Add Code snippet
New code examples
-
Java 2021-09-10 07:16:03
libgdx move camera with touch
@Override public boolean touchDragged(int screenX, int screenY, int pointer) { //difference between the current pointer location and the last pointer location on X axis float x = Gdx.input.getDeltaX(); //difference between the current pointer ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5