[SOLVED] center object on screen with a controller?

Get help using Construct 2

Post » Wed Aug 02, 2017 4:29 pm

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.

thanks
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests