简体   繁体   English

在 cocos2d 上收到一些警告,任何人都可以告诉我如何解决这些问题

[英]getting some warnings on cocos2d can any body tell me how to solve these

i developed the game using levelHelper game is working fine but i am getting some error or some kind of warnings in the logs which are我使用 levelHelper 开发的游戏运行良好,但我在日志中收到一些错误或某种警告

2013-03-07 12:59:59.744 RobotRunner[3970:c07] cocos2d: ** WARNING ** CC_ENABLE_GL_STATE_CACHE is disabled. 2013-03-07 12:59:59.744 RobotRunner[3970:c07] cocos2d: ** 警告 ** CC_ENABLE_GL_STATE_CACHE 被禁用。 To improve performance, enable it by editing ccConfig.h要提高性能,请通过编辑 ccConfig.h 启用它

2013-03-07 12:59:59.745 RobotRunner[3970:c07] cocos2d: cocos2d v2.0.0 2013-03-07 12:59:59.745 RobotRunner[3970:c07] cocos2d: Using Director Type:CCDirectorDisplayLink 2013-03-07 12:59:59.745 RobotRunner[3970:c07] cocos2d: cocos2d v2.0.0 2013-03-07 12:59:59.745 RobotRunner[3970:c07] cocos2d: Using DirectorLink Type:

2013-03-07 12:59:59.761 RobotRunner[3970:c07] Retina Display Not supported 2013-03-07 12:59:59.761 RobotRunner[3970:c07] 不支持 Retina 显示

2013-03-07 12:59:59.765 RobotRunner[3970:c07] cocos2d: animation started with frame interval: 60.00 2013-03-07 12:59:59.765 RobotRunner[3970:c07] cocos2d: 动画以帧间隔开始:60.00

2013-03-07 12:59:59.766 RobotRunner[3970:c07] cocos2d: surface size: 480x320 2013-03-07 12:59:59.766 RobotRunner[3970:c07] cocos2d:表面尺寸:480x320

2013-03-07 12:59:59.767 RobotRunner[3970:c07] cocos2d: CCTexture2D: Using RGB565 texture since image has no alpha 2013-03-07 12:59:59.767 RobotRunner[3970:c07] cocos2d:CCTexture2D:使用 RGB565 纹理,因为图像没有 alpha

2013-03-07 13:00:00.905 RobotRunner[3970:c07] cocos2d: CCSpriteBatchNode: resizing TextureAtlas capacity from [29] to [40]. 2013-03-07 13:00:00.905 RobotRunner[3970:c07] cocos2d:CCSpriteBatchNode:将 TextureAtlas 容量从 [29] 调整为 [40]。

can any body tell me how to solve these things and why it's showing任何人都可以告诉我如何解决这些问题以及它为什么显示

Only the first is a warning you can fix.只有第一个是您可以修复的警告。 It tells you how to do so.它告诉你如何做到这一点。

The rest are just noise from cocos2d.其余的只是来自 cocos2d 的噪音。

这些不是警告,而是信息\\调试消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM