Is there a reliable way to keep track of controllers?

0 favourites
  • 1 posts
From the Asset Store
Simple and easily editable template for a dynamic camera that zooms in and out based on how far apart the players are.
  • I'm currently working on a game where I want to dynamically assign the control schemes to the players in the order they are used.

    It already works like a charm with all the keyboard control schemes, but with controllers, I've run into a big problem.

    For example: When I use [Gamepad].GamepadID(0), it refers to the first gamepad. So far, so good.

    But the moment a gamepad is used that, in Windows' order (as witnessed through the Game Controllers settings), comes before the gamepad that was previously the Gamepad with the ID 0, Construct now refers to that as Gamepad 0, pushing the other one forward to Gamepad 1.

    My question is, is there a way to either stop Construct from changing the order or to reliably be able to keep referring to the same gamepad?

    Thanks in advance.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)