Jump to content

Strange camera movement


hmr
 Share

Recommended Posts

Hi,

i try to create a game with a moving ball in a stage which is bigger than the device screen.

So i need to have a camera movement but when the ball flys from top left to bottom right and the camera starts to move, it looks strange.

It looks like the ball is changing the direction.

 

I know its causing of the camera movement but is there a way to fix that?

 

Here is a jsfiddle to show you the problem: http://jsfiddle.net/p7ffp/1/ (Toggle the background to see the effect)

 

Thanks

Henning

Link to comment
Share on other sites

I don't know what to suggest other than having a background so there's some point of reference. This isn't really a bug or an issue with Phaser as much as it is a design challenge. Without a point of reference the ball will appear to be moving weirdly as the camera tracks it. Even if you smoothed the camera motion manually, it'd still look like it was moving erratically.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...