Jump to content

Wierd camera moving


nosferat
 Share

Recommended Posts

Hi! I wanted to put together a basic platformer in Phaser to know the very basics of the framework. So far I really like it but recently I run into a glitch that I think is related to the camera. When the character jumps it seems the camera tries to follow it but it hits the bounds of the world so in the end it only moves1 or 2 pixels on the y axis. Setting the size of the camera to the size of the world won't elminite the problem, neither setting the camera offset for the player. I'm clueless now. :( This is what I'm talking about: https://dl.dropboxusercontent.com/u/45620018/frozen-secret-kitten/index.html Its just a simple project so you will find the code of it in the html source.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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