Hello, this is my take on how to make a Joystick for character movement in Kodular.
At the moment this project consists of 510 blocks so i will not upload any photos of them, i highly recommend to download the .aia or .ais files and read the code to better understand the concept.
Example with IsDynamicJoystick variable set to true.
Example with IsDynamicJoystick
variable set to false
AIS:JoyStick_Screen1.ais (21.7 KB)
AIA:JoyStick.aia (41.4 KB)
APK:JoyStick.apk (5.2 MB)
1Implemented “Circle-Line Intersection” method to create circular collisions for the joystick bounds.
2Added “JoystickStrenght” variable that returns a percentage of how much the joystick is pulled from its origin point.
3 Added*“IsDynamicJoystick”* variable that let’s you use the joystick at any point on the screen dynamically.
Implemented “Linear-Interpolation Function” at the Joystick Touch-Up Event so that the character doesn’t stop immediately.
Play around with the c increment value to see cool behaviors.
Default Value: 0.1 | Accepted Values: 0 - 1
It would be nice if you provide some screenshots or a small video of what app does
I mainly uploaded this so people can see the blocks and learn how to make a proper joystick in Kodular, because it was really hard for me to find out and now that i did i shared it here for everyone
Nice joystick control is smooth
Well done !
Really loved the way you achieve this .
Perfect ! Thank you for sharing the code
I must say that i uploaded immediately after finishing it and the code isn’t very clean.
But i will try to clean it and upload the new files as soon as i can!
Awesome and we leant new idea with your tricks… good for our community…
Excellent project. Thanks for sharing it, especially for free.
Thank you, although i wouldn’t recommend making 3D games in Kodular!
Can someone suggest how to make the joystick export a value in degrees? And even remove the rocket character? Thank you!