virtual-joystick-android
virtual-joystick-android copied to clipboard
Custom values for joystick movement
Hello, I wanna use your library, but I want to use custom values, like I don't want to use Angle/Strength.
For each axis I want a max and a min value, Is this possible? If yes then how?
Thanks.
Right now, you can use getNormalizedX() and getNormalizedY() to the position along each axis as a integer between 0 and 100. You can use these to calculated values between a min and max value.
I want to have a range(NormalisedXorY) between to be customizable like, not only from 0 to 100, I want it to be 1000 range. like 0, 1, 2 ......1000. Can something like this be done?
Right now, you can use getNormalizedX() and getNormalizedY() to the position along each axis as a integer between 0 and 100. You can use these to calculated values between a min and max value.
Please consider above question.