2D Toolkit Forum
2D Toolkit => Support => Topic started by: arthurconti on October 22, 2013, 11:50:30 am
-
Hello guys,
I'm using a tk2dCamera with zoomFactor=2 in the begging of the scene. After user touchs the screen I would like to zoom out smoothly to zoomFactor=1 and centered in the point used in the begging.
I didn't find any way to do that. If you need any more explanation, please tell me.
Looking foward for an answer.
Thanks
-
You could use a tweening library, eg. Hotween, GoKit to do this. Or you can write your own script to do it. tk2dTileMapDemoFollowCam does this.