Xbox 360 Controller object with Platform Behaviour

For questions about using Classic.

Post » Fri Aug 26, 2011 6:16 am

hi guys, ^^/

I'm having some trouble using the "Xbox 360 Controller" object in my platformer. The n00b questions now follow: ^^;

1. When turning left & right with the keyboard my sprite & animation flips correctly

Player 1 "Move Left" is down (Player 1 "Move Right" is NOT down)
->
Set animation angle to 180.

But when using the 360 controller the sprite refuses to behave, despite the control still being pointed to the input "Move Right". The only difference I can see is "Keyboard Left Arrow" or "Left Thumb-Left" triggering the control input "Move Left (P1)".

2. I've made some new control inputs of my own, EG: "Attack". I've assigned it to Space on the keyboard but have also tried assigning it to 360 controller buttons. The keyboard version works fine, plays animation but the 360 controller doesn't seem to call the control. Again, only difference I can see is between what is calling the input (either Keyboard "Space" or 360 "X button").

I'm surprised at how much trouble I'm having just mapping some new attacks/controls to a button on the 360 controller when they already work on keyboard.

If anyone else has some experience with that Xbox 360 Controller object, or can see a problem, please let me know. ^^b
B
4
G
1
Posts: 12
Reputation: 901

Post » Mon Aug 29, 2011 3:53 am

Is everyone just using the keyboard for their games? I thought more people would have been using Construct as a prototyping tool for PSN/XBLA, thus the 360 controller.

Again, if anyone has any experience using the 360 controller with the platform behaviour or any new custom inputs they've made in general, would be great to hear from you.

Cheers guys. ^^/
B
4
G
1
Posts: 12
Reputation: 901

Post » Mon Aug 29, 2011 4:10 am

To my knowledge the 360 controller plugin is obsolete. The input system plugin is way better and allows keyboard, mouse, and as far as I know ANY joypad/controller.Tokinsom2011-08-29 04:10:42
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Mon Aug 29, 2011 6:01 am

Ah, this is good news. ^^

Is that this one here?

http://www.scirra.com/forum/plugin-input-system-v096b-21-03-2011-keyb-mouse-joy_topic40990.html
B
4
G
1
Posts: 12
Reputation: 901

Post » Mon Aug 29, 2011 6:01 am

I use the 360 plugin in my game, but I don't use it for a platformer. I have also never used the built-in controls in my game (I use the custom movement behavior) sadly.

As for custom controls, I think the input system plugin allows that, while doing this via built-in input plugins requires an event for each control, and then checking if it is mapped to an action.
"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 5 guests