I have some sprite
_truck = CCSprite.sprite("truck.png");
_truck.setPosition(CGPoint.make(400, 240));
addChild(_truck);
(for Desire Z 400px and 240px is the middle of screen - landscape)
and I want set boundaries and camera for my sprite
this.runAction(CCFollow.action(_truck, CGRect.make(0, 0, 1280, 800)));
but it doesn't work. My truck moved but camera didn't. Without boundaries
everything is ok.
Original issue reported on code.google.com by TheSurix on 12 Aug 2012 at 2:31
Original issue reported on code.google.com by
TheSurix
on 12 Aug 2012 at 2:31