Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
My game is using gamepad stick 360 degree rotation for player. It works like this: set rotation towards angle: angle(0,0,Gamepad.Axis(0,0),Gamepad.Axis(0,1)), but it uses joystick movements of all my gamepads. I want to create local multiplayer with multiple gamepads that will control different players' movement.
I think you need to add gamepad number after "Gamepad":
Develop games in your browser. Powerful, performant & highly capable.
I can't connect 2 gamepads right now. Only one. Is it normal that the same gamepade works with gamepad(0), gamepad(1) and etc. ?
Sorry, I was wrong. Gamepad number is the first parameter of Axis expression:
Gamepad.Axis(0,1) - means gamepad #0, axis 1
Gamepad.Axis(3,2) - means gamepad #3, axis 2
Hmmm, it's strange but my other gamepad not working at all in construct but x360ce see it correctly. In x360 ce it's shown as first controller and in construct 2 I tried to set it as #0-4 controller but it don't want to work at all. If i try with old gamepad it works with #0. Another strange thing is that I can't use old's gamepad buttons at all, maybe p.s. another gamepad is also connected but it's still stays strange.
My old gamepad in x360ce is second conntroller.
Ok, yes. If I disconnect new controller the old's buttons works correctly but if I disconnect old one nothing wants to work.