CCFollow always keep the targeted node at the center of the screen. I would like to create a camera that is a little bit different from CCFollow.
In general, the player movement is slow and the camera behaves like CCFollow. The player is at the center of the screen. Once the player accelerates forward, it will be a little bit in front of the camera and the camera tried to catch up. When the player stop move, the player slowly goes back to the center of the screen.
The effect could be similar as following video, but in 2D version. (http://www.youtube.com/watch?v=BuEumlKnHiI). See the effect when the ship moves forward.
I used CCMoveBy to simulate the effect but the result is not good. If there is any similar effect or suggestions, please let me know. Thank you.