hi, in my app i control a square, with the xbox controller, i would like to achive this.
that object is at the start of layout centered on screen, when i move the gamepad analog left joystick the square move to a direction, works same for all directions.
my square sprite has 8 directions behaviour for that.
i tried to center the object on screen when the left analog is not used, but i can't make it working.
also i dont know how to make the sprite move to any direction, like diagonal corners from the gamepad analog
can someone help with this problem, when the player release the analog joystick the sprite need to return to the center of the screen allways.