문제

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

도움이 되었습니까?

해결책

You really dont need to change the position of the scene. Just change the position of the layer that is added to your scene

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top