CSpriteBatchNode:从[29]到[40]调整TextureAtlas容量的大小

时间:2013-05-06 21:30:36

标签: cocos2d-iphone image-resizing texturepacker ccspritebatchnode

好吧我不知道为什么但是突然间我的应用程序突然停顿并且有以下输出:

2013-05-06 13:40:09.606 BerryMunchers[66052:c07] cocos2d: OS version: 6.1 (0x06010000)
2013-05-06 13:40:09.609 BerryMunchers[66052:c07] cocos2d: GL_VENDOR:   Apple Computer, Inc.
2013-05-06 13:40:09.610 BerryMunchers[66052:c07] cocos2d: GL_RENDERER: Apple Software Renderer
2013-05-06 13:40:09.611 BerryMunchers[66052:c07] cocos2d: GL_VERSION:  OpenGL ES 2.0 APPLE
2013-05-06 13:40:09.612 BerryMunchers[66052:c07] cocos2d: GL_MAX_TEXTURE_SIZE: 4096
2013-05-06 13:40:09.613 BerryMunchers[66052:c07] cocos2d: GL_MAX_TEXTURE_UNITS: 8
2013-05-06 13:40:09.614 BerryMunchers[66052:c07] cocos2d: GL_MAX_SAMPLES: 4
2013-05-06 13:40:09.615 BerryMunchers[66052:c07] cocos2d: GL supports PVRTC: YES
2013-05-06 13:40:09.616 BerryMunchers[66052:c07] cocos2d: GL supports BGRA8888 textures: YES
2013-05-06 13:40:09.617 BerryMunchers[66052:c07] cocos2d: GL supports NPOT textures: YES
2013-05-06 13:40:09.619 BerryMunchers[66052:c07] cocos2d: GL supports discard_framebuffer: YES
2013-05-06 13:40:09.620 BerryMunchers[66052:c07] cocos2d: GL supports shareable VAO: NO
2013-05-06 13:40:09.621 BerryMunchers[66052:c07] cocos2d: compiled with Profiling Support: NO
2013-05-06 13:40:09.623 BerryMunchers[66052:c07] cocos2d: cocos2d v2.0.0
2013-05-06 13:40:09.624 BerryMunchers[66052:c07] cocos2d: Using Director Type:CCDirectorDisplayLink
2013-05-06 13:40:09.665 BerryMunchers[66052:c07] Retina Display Not supported
2013-05-06 13:40:09.733 BerryMunchers[66052:c07] cocos2d: animation started with frame interval: 60.00
2013-05-06 13:40:09.736 BerryMunchers[66052:c07] cocos2d: surface size: 480x320
2013-05-06 13:40:11.294 BerryMunchers[66052:c07] cocos2d: CCSpriteBatchNode: resizing TextureAtlas capacity from [29] to [40].

我使用带有纹理打包器的batchnode,我不知道为什么它不起作用。 有没有人遇到过类似的错误?有什么想法吗?

编辑: 我现在知道调整大小不是错误(感谢learncocos2d),这是我的调用堆栈(我认为它与box 2d有关...) enter image description here

0 个答案:

没有答案