iphone - Kobold2d and Cocos Builder: setting start scene -
in kobold2d functions in cocos2d in appdelegate in config.lua file. , brings me problem cause initialize cocos builder first scene in cocos2d replace line (in app delegate)
[director runwithscene: [introlayer scene]];
with
[director runwithscene: [ccbreader scenewithnodegraphfromfile:@"mainmenuscene.ccbi"]];
but hidden away in kobold2d - replaced firstsceneclassname = "helloworldlayer"
in config.lua file.
anyone knows bugfree way around this?
you can still use runwithscene, put in appdelegate's initializationcomplete
method. take precedence on loading scene specified in config.lua.
Comments
Post a Comment