cocosbuilder bug!

i found a tiny bug in cocosbuilder

‘Touch enabled’ is not working in CCLayer

i’m using cocos2d-x 2.1.2 lastest version and cocobuilder is lastest alpha version too.

you can change a line in CCLayerLoader.cpp

#define PROPERTY_TOUCH_ENABLED “isTouchEnabled”

to

#define PROPERTY_TOUCH_ENABLED “touchEnabled”

then it works!

Hi Han:

Thanks for posting this. I was stack with this issue for almost an hour until I find your post. Great job. Hope cocosbuilder will fix this one.

Emmy
han genie wrote:

i found a tiny bug in cocosbuilder
>
>
‘Touch enabled’ is not working in CCLayer
>
>
i’m using cocos2d-x 2.1.2 lastest version and cocobuilder is lastest alpha version too.
>
>
you can change a line in CCLayerLoader.cpp
>
#define PROPERTY_TOUCH_ENABLED “isTouchEnabled”
>
to
>
#define PROPERTY_TOUCH_ENABLED “touchEnabled”
>
>
then it works!