diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/Joystick.kt b/core/src/ru/deadsoftware/cavedroid/game/input/Joystick.kt
index ef4ead15ef574f65f4e0b904bae6ab3e77eb9474..6cbc0526014d3f187e8e1ae8f0190dbcb52a43bf 100644 (file)
if (!active) {
return Vector2.Zero
}
- println(stickVector)
return Vector2(
stickVector.x * value,
stickVector.y * value
}
companion object {
- const val RADIUS = 24f
+ const val RADIUS = 48f
const val SIZE = RADIUS * 2
- const val STICK_SIZE = 16f
+ const val STICK_SIZE = 32f
}
}
\ No newline at end of file