objective c - Xcode + CocosBuilder: Could not create class of type -
i utilize xcode 4.5 + cocosbuilder-3.0 alpha + cocos2d cocosbuilder's source:
cocos2d: cocos2d-iphone v2.1-rc0 cocos2d: compiled profiling support: no cocos2d: os version: 6.0 (0x06000000) cocos2d: gl_vendor: apple computer, inc. cocos2d: gl_renderer: apple software renderer cocos2d: gl_version: opengl es 2.0 apple cocos2d: gl_max_texture_size: 4096 cocos2d: gl_max_texture_units: 8 cocos2d: gl_max_samples: 4 cocos2d: gl supports pvrtc: yes cocos2d: gl supports bgra8888 textures: yes cocos2d: gl supports npot textures: yes cocos2d: gl supports discard_framebuffer: yes cocos2d: gl supports shareable vao: no
i seek connect mainmenuscene. created new project on cocosbuilder, added new file subclass of cclayer, , set cclayer customclass 'mainmenuscene'. published , re-create mainmenuscene.cb, mainmenuscene.ccb, , builder's images xcode project , added in project + set project target membership.
then added next line appdelegate.m:
- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions { ccscene* myscene = [ccbreader scenewithnodegraphfromfile:@"mainmenuscene.ccbi"]; }
but in string see ccbreader: not create class of type mainmenuscene why??? help me please. found 1 post here, not understand how utilize in project.
objective-c xcode cocos2d-iphone
No comments:
Post a Comment