two mice two cursors

0 favourites
  • 3 posts
From the Asset Store
Mouse cursor is something that the player controls and sees all the time, that's why it is so important to make it cool!
  • hi

    i want to make virtual controls for a mobile game (not game yet,just curiosity).

    how do i test it with two mice at the same time(lets say i have two buttons that need to be pressed together)

    i have two mice and they work fine but they use the same cursor.

    thanks?!

  • you cannot have two independent mice afaik.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Web browsers only see one mouse. That alone makes it not doable.

    On mobile there is no mice, but you can have multiple touch. It can’t tell one finger from another so typically you’d have one player on one half of the screen and the 2nd on the other.

    Outside of the browser there are ways to get each mouse input independently. Typically you’d hide the operating system cursor and draw your own.

    Apparently you can add more features to nwjs exports to make it possible for windows exports. But I think it would be more worthwhile and easier to just remake your game from scratch in something else.

    So shorter answer, not possible in html5/JavaScript and in turn not possible in construct.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)