AndEngine player, background and camera

Posted by valdemar593 on Game Development See other posts from Game Development or by valdemar593
Published on 2012-10-16T09:39:21Z Indexed on 2012/10/16 11:25 UTC
Read the original article Hit count: 214

Filed under:
|

I'm developing a 2D shooter using AndEngine. At the moment I'm trying to make the camera follow the player. As I've understood the common approach is to use the SmoothCamera zooming it and setting the chased entity. The problem is that the camera follows the player WITH background moving also (RepeatingSpriteBackground), so it looks like the player doesn't move at all though the actual position changes. So I don't really get how to make the camera follow the player and have the background not moving. Thanks in advance.

© Game Development or respective owner

Related posts about android

Related posts about andengine