problem about cctexturecache-Collection of common programming errors


  • iSeeker
    ios cocos2d-iphone didreceivememorywarning cctexturecache
    To find a solution I have gone thru this similar link: TextureCache Error from Cocos2d when integrated into UIKit App but seems like it is dealing with this error in a different context..Question: I have a UIKit project integrated with Cocos2d. When build, succeeds and runs but, at times crashes after receiving a memory warning with this error:Assertion failure in -[CCTextureCache init], /Users/MyName/Documents/CSProject/CSProject/libs/cocos2d/CCTextureCache.m:90Terminating app due to uncaught

  • Guru
    objective-c cocos2d-iphone cocos2d cctexturecache
    I want to change a sprite texture with another texture from a sprite sheet//normal sprite character = [CCSprite spriteWithSpriteFrameName:@”char1.png”];//change texture [character setTexture:[[CCTextureCache sharedTextureCache] addImage:[CCSprite spriteWithSpriteFrameName:@”char2.png”]]];but this gives me an error.I have tried without spriteWithSpriteFrameName and it gives me a blank texture.//error Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[CCSprite last

Web site is in building

I discovery a place to host code、demo、 blog and websites.
Site access is fast but not money