我在Cocos2d v3.0中找不到以下内容
CCTiledGrid3D CCTiledGrid3DAction CCGrid3D CCGrid3DAction
此外,以下代码已过时或无效:
// IMPORTANT: Call this function at the very beginning, before running your 1st scene
// Create a depth buffer of 24 bits
// These means that openGL z-order will be taken into account
[[CCDirector sharedDirector] setDepthBufferFormat:kDepthBuffer16];
答案 0 :(得分:2)
[self setupCocos2dWithOptions:@{
CCSetupDepthFormat: @GL_DEPTH24_STENCIL8,
CCSetupPixelFormat: kEAGLColorFormatRGBA8
}];