cocos2d-objc
cocos2d-objc copied to clipboard
Cocos2d for iOS and OS X, built using Objective-C
Recently upgraded my project from 3.1 to 3.5. CCDirectorIOS has a call to 'drawScene' in 'mainLoop'  ![screen shot 2016-08-12 at 12 10...
Hi , guys. I have just meet a problem about 'EXC_BAD_ACCESS'. The 'CCDirector.shared().startAnimation()' method is used to start a animation of scene. First, I push to next ViewController, I add...
CCLabelTTF with very long string with many lines (in my case about 200 lines for credits screen) is displayed as black rectangle and no text is visible (cocos2d v3).
http://2sa-studio.blogspot.com/2014/05/soft-bodies-with-cocos2d-v3.html That example still works except of this code: ``` // Draw the triangle fan CC_NODE_DRAW_SETUP(); ccGLBlendFunc(self.blendFunc.src, self.blendFunc.dst); ccGLBindTexture2D(self.texture.name); ccGLEnableVertexAttribs( kCCVertexAttribFlag_PosColorTex ); glVertexAttribPointer(kCCVertexAttrib_Position, 2, GL_FLOAT, GL_FALSE, 0, vertices); glVertexAttribPointer(kCCVertexAttrib_TexCoords, 2,...
Is the site and forum no longer supported?
Is there any complete documentations?
in Xcode 9.3 -(id)objectForKey:(id)options { id src = options[CCBlendFuncSrcColor] ?: @(GL_ONE); CCBlendFuncSrcAlpha: (options[CCBlendFuncSrcAlpha] ?: src), Expected method to read dictionary element not found on object of type 'id'
 Here 'blendMode' is nil!
Is there any way to get ripple effect on image in Objective C ios Application. I am using cocos2d-objc framework for ios application. UIImage *spriteNumber = [UIImage imageNamed:@"congrats.png"]; CCSpriteGrid *grid...