Drag & Drop for Xbox 360 Controller

For questions about using Classic.

Post » Mon May 20, 2013 7:55 am

Hi
How I can use Drag & Drop behavior with X360 Controller?
B
9
S
2
Posts: 95
Reputation: 1,019

Post » Mon May 20, 2013 9:16 am

Use a sprite as your cursor, control it with the gamepad object. Check to see if the sprite is over the draggable object when the player hits the button. If it is, attach the object to your controlled sprite. And release it (set its x and y) to the last position the controlled sprite was at then the button was hit.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,413

Post » Mon May 20, 2013 9:17 am

Also the gamepad object does not work in IE
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,413

Post » Mon May 20, 2013 9:19 am

What is IE?
B
9
S
2
Posts: 95
Reputation: 1,019

Post » Mon May 20, 2013 10:49 am

The technique @BluePhaze said should work fine in both CC and C2, what he's referring to as "IE" is Internet Explorer, for when you export a game from Construct 2. At the moment Construct 2 gamepad should only work in Google Chrome web browser I believe.

Construct Classic should work fine for 360 controllers as long as the game itself runs (meaning the computer you run it on has Windows and DirectX9 (free) usually)
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests