Projects > cpp > Issues > Bug #3155

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

CCClippingNodeTest按照裁剪图片的*大小*而不是*alpha值*来裁剪

Bug #3155 [Closed]
lishinko 2013-11-11 10:40 . Updated about 2 years ago

我现在在windows7 64位系统下,发现CCClippingNode不能正常工作:
裁剪不是根据alpha值来工作,而是根据裁剪图片的大小来的(如果被裁剪图片大于裁剪图片,那么被裁剪图片将按照裁剪图片的矩形大小来裁剪,否则,无效果)。
我的环境:
Windows7 64位旗舰版,
Visual Studio 2012 Exprese,
Cocos2d-x 2.2版,
复现步骤:
打开TestCpp.exe,选择ClippingNodeTest->Sprite Inverted Basic Test,可以看到这个反向裁剪是错误的。(我自己写的测试例子中,正向裁剪也是错误的)
截图如下:(见附件)

ClippingNodeBug.jpg (86.2 kB) lishinko, 2013-11-11 10:40

walzer@cocos2d-x.org 2014-10-08 02:45

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8252

Atom PDF

Status:Closed
Start date:2013-11-11
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:windows
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.