Wednesday, 11 September 2013

how to move scene position in cocos2d on iPhone 5

how to move scene position in cocos2d on iPhone 5

I have made a game on cocos2d-iphone for iPhone 4, to make it compatible
on iPhone 5 wide screen I want to move cocos2d's scene a little bit on
right on the iPhone 5 screen. I am trying to move scene by 50 points but
after few seconds it gets back to its original position.
scene.position = CGPointMake(50, 0);
I have also set Default-568h@2x.png image in the cocos2d project

No comments:

Post a Comment