作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 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/
目前,我正在开发的 Kobold2D/Cocos2D 游戏遇到了一个奇怪的问题。不幸的是,没什么可说的,除了在我的 iPad 以及我测试过的其他 iPad 上最小化游戏后,然后通过屏幕底部的进程托盘再
启动 vanilla Sprite Kit 项目时,它会显示使用这些调用的节点数和 FPS SKView * skView = (SKView *)self.view; skView.showsFPS
我是一名优秀的程序员,十分优秀!