Tuesday, September 24, 2013
cocos2d-x CCScrollView problems
I have a layer1, and layer2 and a CCScrollview. Their relationship is as follows:
layer2 has a CCScrollview * cs.
cs-> setPosition (ccp (x1, y1));
layer1-> addChild (layer2);
layer2-> setPosition (ccp (x2, y2));
This way of viewing area and acceptance cs touch event area the inconsistency, that in some places you can display the content, but not touch. In some places you can touch, but can not display content.
This is how ah! ? Seek guidance
Reply:
Touch that location is not the issue?
Look
Reply:
@ Jiangyuaiqing. What you like. I have resolved, this is a real problem, considered a defect have to pay attention when used!
Reply:
@ Jlstmac3 ask, in the use of CCScrollview when ported to Android can be displayed on the location and size of the display area will change how we should solve it
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment