How to do smooth Camera movement?

I wonder how to achieve the following with Camera movement:

The cam is following a character and then it should move to another object on screen, but slowly move there. Right now it just jumps there.

How can I make the Camera focusing on a new object and smoothly move it there from the “old” focus object?

I fixed this issue by using a helper object the camera is focused on. This way I can smoothly move the helper object and the cam follows.

Sorry for the late reply; you can use map.setTrackingLevel() for this in the current version of Dusk. Helper objects will work, but when Dusk 1.0 comes around you’ll need to make a couple of edits to them to keep them working. If you’re willing to do that, carry on, otherwise, you can use map.setTrackingLevel(). http://rawgit.com/GymbylCoding/Dusk-Engine/master/docs/guides/faq.html#camera-tracking-level

  • Caleb

thx (again) for your help!

I fixed this issue by using a helper object the camera is focused on. This way I can smoothly move the helper object and the cam follows.

Sorry for the late reply; you can use map.setTrackingLevel() for this in the current version of Dusk. Helper objects will work, but when Dusk 1.0 comes around you’ll need to make a couple of edits to them to keep them working. If you’re willing to do that, carry on, otherwise, you can use map.setTrackingLevel(). http://rawgit.com/GymbylCoding/Dusk-Engine/master/docs/guides/faq.html#camera-tracking-level

  • Caleb

thx (again) for your help!