1
Support / Mouse input offset on the second screen ?
« on: March 01, 2014, 06:22:34 pm »
Hi,
I just tried using the Basic Button prefab from tkdUI_demo but I have a problem.
I'm using two tk2d cameras, each one displaying to a different screen.
The native resolution of the game is 1920x1080 and camera1 is displayed on a 1920x1080 screen and camera2 is displayed on a 854x480 touch screen.
When I try to touch the button it doesn't work, but by randomly tapping on the screen I found it works but with a big offset :
If I put the tk2dUICamera component on :
-the camera1, there is a horizontal and vertical offset
-the camera2, there is a only a vertical offset
Is there some camera settings I missed to make this setup works ?
Thanks !
I just tried using the Basic Button prefab from tkdUI_demo but I have a problem.
I'm using two tk2d cameras, each one displaying to a different screen.
The native resolution of the game is 1920x1080 and camera1 is displayed on a 1920x1080 screen and camera2 is displayed on a 854x480 touch screen.
When I try to touch the button it doesn't work, but by randomly tapping on the screen I found it works but with a big offset :
If I put the tk2dUICamera component on :
-the camera1, there is a horizontal and vertical offset
-the camera2, there is a only a vertical offset
Is there some camera settings I missed to make this setup works ?
Thanks !
