Is the Xbox 360 Controller Object Bugged?

For questions about using Classic.

Post » Tue Mar 02, 2010 11:09 pm

I added the Xbox 360 Controller Object to my game and it was working really well for my platformer game. Then I started placing a bunch of a second type of enemy (which I had already used quite a while ago without this problem) into the layout. I suddenly started to get unresponsiveness issues with the Xbox Controller for moving left/right and stuff. I'm using platform behavior by the way. The keyboard works perfectly for it (both can be used at the same time) but the Controller seems to lock up randomly. The face buttons still work though. At first I thought it was tied to the objects placed in the layout. It was freezing as soon as the layout started at first. I messed with the enemy spawn objects and their boundary boxes (to keep enemies moving around set areas) and it suddenly started to work...or so I thought until it would still randomly do that. I can't see any events that effect movement as the keyboard still works and the movement for the controller is handled by the plugin. There's no consistency to the bug either.
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Wed Mar 03, 2010 1:45 am

sure it's not your controller?
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Wed Mar 03, 2010 3:09 am

100% positive that my controller is fine. I use this controller for stuff all the time and it isn't even that old. It still only randomly stops working (meaning the Dpad and Left Stick since those are both tied to left/right/up/down) when I have the stuff for one of my enemy types present and actually attacking them (all but the Spawn sprite were sitting offscreen and being destroyed at start before this) but it doesn't seem tied to them since it doesn't occur during anything specific. I've gone through all the events and there's nothing tied to using the controller for movement.

Note: I remembered it breaks jumping too. Hmm, that is all platform related stuff.

Edit: It will even cut out in the middle of a jump and it is ONLY when the controller is using controls for the Platform Behavior (eg. Dpad Left is Move Left). It looks like there's a bug with the plugin, but why I am only seeing it when a certain enemy type is spawned (or has been spawned then killed or a few are still alive and just walk off the layout and fall into nothingness or whatever) makes no sense.
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Wed Mar 03, 2010 11:07 am

I think David's looking in to fixing a related bug in the Xbox 360 controller behavior for the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Wed Mar 03, 2010 2:27 pm

[quote="Ashley":3j31w7z2]I think David's looking in to fixing a related bug in the Xbox 360 controller behavior for the next build.[/quote:3j31w7z2]
That's great. Nice to know that there's a known bug with it before it confuses me any more while messing with it. :)
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Thu Mar 04, 2010 4:30 am

While it looks like there is a bug, I have not seen it on my game and I have tested it a lot wiht the Xbox 360 controller.

I did have problems when I used a clone Xbox 360 controller under WinXP. It was very flaky and would not work at all on one of the WinXP machines, until I switched to an Official Xbox 360 controller. It now is rock solid and plays perfectly.

So whether I just had a bad clone controller or MS made sure theirs works better I can't say. But the problem only occurred while testing it on 2 WinXP machines. Vista and WIn 7 were fine.
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Thu Mar 04, 2010 8:38 am

[quote="Guyon":k9wvmjin]While it looks like there is a bug, I have not seen it on my game and I have tested it a lot wiht the Xbox 360 controller.

I did have problems when I used a clone Xbox 360 controller under WinXP. It was very flaky and would not work at all on one of the WinXP machines, until I switched to an Official Xbox 360 controller. It now is rock solid and plays perfectly.

So whether I just had a bad clone controller or MS made sure theirs works better I can't say. But the problem only occurred while testing it on 2 WinXP machines. Vista and WIn 7 were fine.[/quote:k9wvmjin]

The XBox controller for Windows has had a history of not being so great. The unofficial one some guy did (I forget it's name but so many use it, it's easy to google for) worked awesomely. Alas it still wouldn't work for 64bit versions of Vista, last I checked.

But on the plus side, the newest official controller works fine from what I can tell.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Thu Mar 04, 2010 12:30 pm

No problems on any of my 3 Xbox360 controllers.

I've not tested it extensively on any Construct program (although they have been used a fair amount in them), but I've been using them with various PC games and emulators for more than a year and I've had no problems whatsoever.

Based on that, it sounds to me like the problem lies with the plugin, or its use.

Krush.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Thu Mar 04, 2010 12:43 pm

Just re-read the original post. Does the controller work ok in other games? Have you tested it? Maybe it's just broken or there's a loose wire. Is the plug thing plugged? Try turning it off and on again? It probably wont help, but you'll feel satisfied you've tried everything.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Thu Mar 04, 2010 1:38 pm

After having done a pretty good test (posted here) and then reading the issues of others, it's quite clear that there is a problem. It's not simply an issue of the way people are programming (an accusation I've seen while searching on this issue).

When I ran the test, I used the exact same commands with both the keyboard object and the 360 controller object, starting with the controller object. The keyboard object responded to all of them correctly, the 360 controller object responded to only a few and even switched operations around to other parts of the controller. I'd tell the left thumb stick to command a jump, and it would make the right thumbstick do it... screwy stuff like that. Certain buttons just didn't operate no matter what I did.

Personally, my 360 controller works fine on every game I have. Never had a single problem. It also works fine for me in XNA (I program in C# sometimes) and MMF, but in Construct it's a no-go.
B
2
G
2
Posts: 47
Reputation: 744

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests