How do I add a controller to my game?

Get help using Construct 2

Post » Sun Sep 22, 2013 8:45 pm

Here's a simple file I made with working controller support. I have no special plugins or anything like that. Just the Chrome browser and a plugged in controller.

By the way, I'm using a PS3 controller with special drivers I downloaded that basically make the PC think it's an Xbox 360 controller. I only own a PS3, so that was my workaround.

Movement is with the D-Pad left and right and Jumping is set to the "A" button on a 360 controller.

I hope this helps.

https://dl.dropboxusercontent.com/u/98323832/Construct2/Controller%20Test.capx
B
10
S
1
Posts: 12
Reputation: 476

Post » Sun Sep 22, 2013 10:30 pm

Oh man!!!! Thank you guys!!!! I haven't checked on this post in a bit... Thank you @jobel and @Mcflygold!!! I've been trying to figure out ways around using events at all in my game... But my luck has ran out :/ So now I'm back online filtering through tutorials again... I'm getting better at using C2 which is a good thing really... Anyway, appreciate you guys taking the time to chime in
Image
B
33
S
15
G
9
Posts: 103
Reputation: 7,876

Post » Tue Sep 24, 2013 2:03 am

thanks, I checked that out... cool..

I had to download new drivers for the MadCatz controller at
http://www.microsoft.com/hardware/en-us/d/xbox-360-controller-for-windows

The Madcatz site doesn't seem to support their own Gamepad, so don't bother looking there.

but after the driver update, all was easy..
B
80
S
27
G
14
Posts: 1,108
Reputation: 14,492

Post » Tue Sep 24, 2013 10:40 pm

Awesome!!!! Ok, I'll check that link out asap @jobel! appreciate you sharing this with me
Image
B
33
S
15
G
9
Posts: 103
Reputation: 7,876

Post » Mon Nov 25, 2013 11:11 pm

Thank you so much for this too, @jobel =)

D-Pad is working, but I'd rather use the Left stick as with 95% of the games. Any help? @Ashley


---

Edit: It was the "Compare Axis" thingie. Pretty useful! Might do a tutorial soon =)notnsane2013-11-26 00:14:44
B
33
S
9
G
1
Posts: 156
Reputation: 3,024

Previous

Return to How do I....?

Who is online

Users browsing this forum: marcoscodas, raulcg1981 and 10 guests