Camera working differently across devices
Help!
I'm making an interactive map where you click on a pin-shaped button to camera zoom in on that location and some stats appear. It was looking good in test view, as well as integrated into my website on desktop, but on mobile the camera is zooming to different locations.
I'm doing all the zooming/animation through action script- my animation is only one frame.
I have this issue when I tell the camera to zoom to
event.stageX / dpr,
event.stageY / dpr
or to
(env.cam.InitX + 100) / dpr
(env.cam.InitY -80) / dpr
where var env = {
cam.InitX: CameraObject.camera.x,
cam.InitY: CameraObject.camera.y }
What is happening???
