Cocos2d调试器控制台显示了很多东西

时间:2013-04-04 08:02:12

标签: iphone ios debugging cocos2d-iphone console

为什么会发生这种情况我不知道但是我仍然没有帮助....... 在运行我的游戏应用程序时,我发现有很多关于Cocos2d的信息:用粗体字体像这样

 2013-04-04 13:21:02.338 RunemanApp[280:207] cocos2d: cocos2d v0.99.5
2013-04-04 13:21:02.340 RunemanApp[280:207] cocos2d: Using Director Type:CCDirectorDisplayLink
2013-04-04 13:21:02.341 RunemanApp[280:207] Device Flag :> 0
2013-04-04 13:21:03.105 RunemanApp[280:207] cocos2d: OS version: 4.2 (0x04020000)
2013-04-04 13:21:03.106 RunemanApp[280:207] cocos2d: GL_VENDOR:   Apple Computer, Inc.
2013-04-04 13:21:03.107 RunemanApp[280:207] cocos2d: GL_RENDERER: Apple Software Renderer
2013-04-04 13:21:03.107 RunemanApp[280:207] cocos2d: GL_VERSION:  OpenGL ES-CM 1.1 APPLE
2013-04-04 13:21:03.108 RunemanApp[280:207] cocos2d: GL_MAX_TEXTURE_SIZE: 2048
2013-04-04 13:21:03.109 RunemanApp[280:207] cocos2d: GL_MAX_MODELVIEW_STACK_DEPTH: 16
2013-04-04 13:21:03.109 RunemanApp[280:207] cocos2d: GL_MAX_SAMPLES: 4
2013-04-04 13:21:03.111 RunemanApp[280:207] cocos2d: GL supports PVRTC: YES
2013-04-04 13:21:03.111 RunemanApp[280:207] cocos2d: GL supports BGRA8888 textures: YES
2013-04-04 13:21:03.112 RunemanApp[280:207] cocos2d: GL supports NPOT textures: YES
2013-04-04 13:21:03.112 RunemanApp[280:207] cocos2d: GL supports discard_framebuffer: YES
2013-04-04 13:21:03.113 RunemanApp[280:207] cocos2d: compiled with NPOT support: NO
2013-04-04 13:21:03.113 RunemanApp[280:207] cocos2d: compiled with VBO support in TextureAtlas : YES
2013-04-04 13:21:03.114 RunemanApp[280:207] cocos2d: compiled with Affine Matrix transformation in CCNode : YES
2013-04-04 13:21:03.114 RunemanApp[280:207] cocos2d: compiled with Profiling Support: NO
2013-04-04 13:21:03.630 RunemanApp[280:207] Retina Display Not supported
2013-04-04 13:21:03.635 RunemanApp[280:207] cocos2d: surface size: 480x320
2013-04-04 13:21:04.364 RunemanApp[280:207] cocos2d: Frame interval: 1
[Switching to process 280]

应用程序正在进行游戏时的显示我玩游戏后其结果很多行

它可能影响我的游戏速度我认为.......

我正在尝试减少My DEBUGGER CONSOLE窗口中的结果......

1 个答案:

答案 0 :(得分:1)

您发布的日志就是您在发布时看到的内容。如果你每帧记录一些东西,我会担心的。即便如此,只需停止记录。 Cocos2d本身并不记录每一帧。

如果要评估性能,请在发布版本中运行游戏,因为调试版本总是会慢一些。版本构建默认情况下不会写出日志。

顺便说一句,你使用的是3年前的真正旧版本的cocos2d。它甚至不支持iPad Retina。如果您打算发布应用程序,则必须升级。