You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement this (fantastic) camera in a current project, and I'm wondering if I'm missing something to get the functionality I want, or if what I'm trying to do is just outside the scope of this project.
The maximum zoom is set to be the initial zoom as well, which centers a playable map inside a decorative environment like in the first diagram. I can align the custom bounds to the initial view, but that results in a very small zoomable area in the middle of the map. Aligning the bounds to allow panning throughout the map at min zoom results in the camera being allowed to move far into the environment at max zoom
Intended behavior is as in the diagram: at maximum zoom, the camera is static, with the blue playable map at the center of the screen. Otherwise, the bounds of the playable map become the bounds of the screen
Am I missing something in setting it up or do I need to take another approach for what I'm looking for?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to implement this (fantastic) camera in a current project, and I'm wondering if I'm missing something to get the functionality I want, or if what I'm trying to do is just outside the scope of this project.
The maximum zoom is set to be the initial zoom as well, which centers a playable map inside a decorative environment like in the first diagram. I can align the custom bounds to the initial view, but that results in a very small zoomable area in the middle of the map. Aligning the bounds to allow panning throughout the map at min zoom results in the camera being allowed to move far into the environment at max zoom
Intended behavior is as in the diagram: at maximum zoom, the camera is static, with the blue playable map at the center of the screen. Otherwise, the bounds of the playable map become the bounds of the screen
Am I missing something in setting it up or do I need to take another approach for what I'm looking for?
Beta Was this translation helpful? Give feedback.
All reactions