So basically I have two joysticks in my game. I used the example by 'willy' for touchscreen joysticks for android, however, the Adv Direction object he uses breaks the build when I try and export to Android in my version (as in I get a build error).
The Adv Direction object basically compares the direction of the player's finger and the actual joystick. I'm just wondering if anyone could help me with an alternate way of comparing the directions without using the Adv Direction extension.
It works like this;
+Players finger on joystick
-Set angle of joystick to AdvDirection( "Advanced Direction Object", X( "Joy2" ), Y( "Joy2" ), X( "finger" ), Y( "finger" ) )
The angle of the joysticks is what controls the player's aim and movement.
I can also provide the build error log if you want to see it
Any help would be really appreciated!
Thanks in advance.