CCFollow Problem

Hello @ all,

I’m new to Cocos2D-X and this Community and got a Problem with CCFollow.

When I call :

this->runAction(CCFollow::create(playerSprite));

in the init-method of my GameLayer, only the lower left Corner of my GameLayer gets shown in the center of my device’ and although the emulators screen.

As I understood the comments of the CCFollow.h the new create-method (v2.0.4) should get the Layer’s resolution automatically.

I guess it’s only a misconception of mine, which I don’t get at the moment.

Cheers,

stotheg