Touch x,y position serious problem after Crop/Overscan in 0.10.1 [VIDEO]
DanielDoe
Member Posts: 307
Original project is in iPhone 5 resolution and after switching to iPhone 4 resolution project change position of some elements and change Camera.origin.X to keep everything visible. The problem is that after changing Camera.origin.X to -30 all elements that are touched change position to -30 relative to real touch.
Please check the video to make everything clear... Does anyone has the same problem?
Please check the video to make everything clear... Does anyone has the same problem?
Comments
So basically this is not a Overscanning issue, but rather a Camera issue from what we have seen.
So i avoid to do this.
Rule: if game.Screen.Size.Width = 480
constrain self.x to mouse.x - 30 (You may need to adjust this value)
otherwise
constrain self.x to mouse.x