Hello, I would appreciate any help or explanation why the Touch and Mouse objects perform the way they do. Here is what happens:
See picture below and this is for a cookie clicker type game.
1) Touch object only: Works, but the mouse click does not register fast enough.
2) Mouse object only: Mouse click works perfectly! but no touch?
3) Both Touch and Mouse object: Works, but mouse click registers twice.
What happens when clicking on the player object, both the score and resources increase by 2 not 1 and on the enemy object the score only increase by 1 like it should. I think the enemy object works because it gets destroyed once clicked/tapped on. If I destroy the player object after it is clicked/tapped on then the score and resources only increase by 1 like they should.
Any suggestions or solutions?