Search the Community
Showing results for tags 'tink'.
-
Hi. I'm using the tink plugin for making a small mobile game. I'm using the pointer.x and pointer.y properties to check if some squares in an array are hit, and this works perfectly when I test it in my browser on my computer. However, when I test the same thing on my mobile browser I can't succesfully use pointer.x and pointer.y to register where I have tapped. It seems that it registers where I tapped last instead of where I am tapping? Does anyone know how to get the x and y coordinates of a finger tap at the moment of the tap? Hope somebody can help
-
Hi. I'm using the tink plugin for making a small mobile game. I'm using the pointer.x and pointer.y properties to check if some squares in an array are hit, and this works perfectly when I test it in my browser on my computer. However, when I test the same thing on my mobile browser I can't succesfully use pointer.x and pointer.y to register where I have tapped. It seems that it registers where I tapped last instead of where I am tapping? Does anyone know how to get the x and y coordinates of a finger tap at the moment of the tap? Hope somebody can help