Hey, I just made a game where my score increases 1 point when I click with mouse on an object.
When I change mouse event to touch event, my score increases 3-5 points instead of 1. (I make no change with score.. I just change mouse to touch.)
What might be the problem?
Develop games in your browser. Powerful, performant & highly capable.
Try This. You don't need the mouse object. remove it. set the touch object to default to mouse in properties dialog.
also what touch conditions are you using?
I suggest something like...
I sorted it out. If I use "Is touching object", it keeps increasing score as long as I touch the moving object. Even if it's only miliseconds.
But if I use someting like "On touched any object" or "On Nth touch started (and give coordinates of the object), it does what it supposed to do. Gives only 1 point.