Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我UIScrollView在 cocos2d 中添加了一个。我在滚动视图中有 100 条记录。当我滚动滚动视图时,所有 cocos2d 操作、事件和时间表都会停止。
UIScrollView
我正在使用 cocos2d 2.0 来支持视网膜。
使用 CCScrollLayer 而不是 uiscrollview。Cocos2D 使用 OpenGL ES 来渲染图像,所以它很难使用 UIScrollView。你可以在 cocos2D 扩展中找到 CCScrollLayer。便于使用。
如果你想要减速和反弹,你应该看看 CCKit。
我正在寻找一种在 Cocos2d 2.0 中获得 UIScrollView 感觉的方法,但没有成功地使用可靠的 UIKit 和 CC2d 混合。
如果你这样做,请报告。