Problem implementing perspective view

Hi, guys!

The idea is:
We have an object (player) on the field. Top view. User touch the screen and object moves that direction. Pretty is doing it by transit.to(), BUT! The camera have to follow the object and make obj be always on the center of the screen.
The background plays like parallax in this case.

I’ve already tried a lot of solutions and can’t get it works.

  1. I used module to achieve perspective view https://code.coronalabs.com/code/perspective-virtual-camera-system
  2. tried to use transition, but can’t get obj keep moving
  3. tried to use setLinearVelocity and it almost work fine, but the movement is always in random direction, not in touch.xy

I can post some code if needed.

Any ideas will be appreciated. Thank you!

Move the entire scene but keep the player at the centre of the screen.

Move the entire scene but keep the player at the centre of the screen.