i’m using cocosbuilder for my map editor, and also using cocos2d::extension::CCBReader as parser…
basically it works fine, but i found a little trouble, i think maybe it’s a bug:
in cocosbuilder side, I had a custom class and ccb file named “NestCCBClass”, added a custom property, named myCustomPropery, default value was “hello”.
then i made another ccb class “Test”, nest use NestCCBClass, and set the value of “myCustomPropery” as “world”.
in code side, both of class implements CCBMemberVariableAssigner.
here’s the error: in onAssignCCBCustomProperty, i can never get the value “world”, but always get default value “hello”….
my cocos2d version is “cocos2d-2.1rc0-x-2.1.2”, cocosbuilder version is 3.0-alpha5..
1.png (47.5 KB)
2.png (98.0 KB)