Multitouch Issue

Not favoritedFavorited Favorited 0 favourites
  • 4 posts
From the Asset Store
Fully customized keyboard for mobile devices. This example does not use TextInput
  • If I touch anywhere on the screen first and then try to use the shooting controls, I can’t use them, the gray crosshair simply doesn’t move.

    Results, when I use the movement controls on the left, the shooting controls on the right become unusable. But if I use the shooting controls first and then the movement controls, both work fine.

    How can I fix this?

  • 1 - You don't need to do this action every tick, you need to do it at the start of the layout.

    2 - This action is not necessary at all, because we determine the position of the crosshairs according to the angle using the formula.

    3 - This action is not necessary at all, you fix the crosshairs at a certain point, but we must position it according to the formula every time according to the angle.

    As for your question, you have not provided any information on how you have implemented weapon switching, how can we help you?

  • Drag and Drop behavior may not work with multi-touch. Instead, save the TouchID in a variable when the right control is touched.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you very much guys, I got it working...

    Again thanks for the help....

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