adnan97m's Forum Posts

  • 5 posts
  • I found more info, it is indeed a limitation on chrome (though I got the same result on firefox)

    bugs.chromium.org/p/chromium/issues/detail

  • I'm making a local multipleyer game and want to add a 3v3 mode, but apparently there is a limit on the number of concurrent gamepads detected by the gamepad plugin.

    I have searched online but havent found anything related to such limitation on either the browser's gamepad api or the construct plugin.

    I'm using 6 xbox one controllers via bluethoth but only the 4 first are detected (Gamepad.GamepadCount returns 4 instead of the six that windows detects).

    I have tried on Chrome, exporting as nwjs and webview(win) with the same results.

    Tagged:

  • awesome, thanks for the fast reply!

  • Hi, the pointer events returns the absolute coordinates of the touch on the screen, since I need the relative coordinates in the event sheet I can use CanvasToLayerX and CanvasToLayerY to convert them.

    Pointer event (using mouse as input)

    In scripting I cannot find how to get the screen (not the layout) width and height to do the calculations myself or if there is function that already does that.

    Right now I use CanvasToLayer calling an event sheet funtion from the script, but I would like to use only js.

    If anything is not clear just ask, thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • in the latest beta update (r236) a parameter to runtime.createInstance() has been added for that

  • 5 posts