zorfmorf / hedge

0 stars 0 forks source link

Bounded camera #46

Closed zorfmorf closed 9 years ago

zorfmorf commented 9 years ago

We need the camera to move with the player. However, it should not be centered but instead there should be some kind of sqaure in the center and the camera only moves if the player reaches the square borders.

zorfmorf commented 9 years ago

I bound the camera to the player position which was easy. But we probably want some sort of map boundary definition where the camera never moves over it. This would have to be defined in the editor

zorfmorf commented 9 years ago

Done!