Adding CCLayer over another CCLayer in cocos2d-x -


i have main cclayer covering start screen, , added 1 more cclayer , set it's width , height requirement. target class of added layer class different main cclayer. want when user clicks on the adde cclayer should call motionbegin method. when try run program give me error. working on cocos2d-x in c++, , using coco builder add cclayer on .ccbi files. can tell me how can add new cclayer on layer? program main cclayer works fine have add layer.

in last cocos2d-x versions worked ok.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -