我在 cocos2d 中创建了一个游戏,因为我想使用我找到的一些 UIKit 元素 kobold2d。
我移植了游戏,但问题是我的 iPhone 刺激器旋转了,
但不是显示的节点。
必须使用:
background.rotation = 270;
对于我创建的每个 Sprite ,或者我忽略了一个方法
我将 Kobold2D v2.0.3 与 xCode 4.5 结合使用。
最佳答案
在 KKAppDelegate.m 中,更改此行:
// set the Navigation Controller as the root view controller
[window addSubview:navController.view];
为此:
// set the Navigation Controller as the root view controller
window.rootViewController = navController;
我会尽快发布更新版本。
关于iphone - Kobold2d - 方向,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12529101/