Map Zoom and XY Movement Speed corelation

Hi,

I am trying to implement a world map a la google maps.

For the movement and zoom I am using an unuiform_scale and translate on the view.

I am trying to figure out a good relation between the zoom factor and the movement speed of the camera.
Whereas the movement speed of the camera is basically a integrate on the translate.

Anyone has something done in this direction or can point out the theroy behind it?

Camera (Transform 2d)?

oh i figured it out,
its

velocity = velocity_Multiplyer * 1/ scale_factor

then you get exact mapping in every zoom level.

thanks anyway :)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.