Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GImage 边缘显示有问题 #44

Open
shker-tt opened this issue Apr 8, 2019 · 8 comments
Open

GImage 边缘显示有问题 #44

shker-tt opened this issue Apr 8, 2019 · 8 comments

Comments

@shker-tt
Copy link

shker-tt commented Apr 8, 2019

dadfadfzcxv2131

cocos版本是3.17.1

左边的是直接创建的sprite

auto testSprite = cocos2d::CCSprite::create("button-normal.png");
this->addChild(testSprite);
testSprite->setPosition(300, 300);
testSprite->setCenterRect(Rect(20,9,14,9));
testSprite->setContentSize(Size(150, 200));

右边是UI里的GImage

@xiaoguzhu
Copy link
Member

原图发上来看看

@shker-tt
Copy link
Author

shker-tt commented Apr 8, 2019

用的是编辑器内置包里的图,上面代码里有图片名

@xiaoguzhu
Copy link
Member

这张图片我的测试结果是这样

TIM截图20190408182602

@shker-tt
Copy link
Author

shker-tt commented Apr 8, 2019

这张图片我的测试结果是这样

TIM截图20190408182602

cocos2d-x也是3.17.1?

@xiaoguzhu
Copy link
Member

3.16

@shker-tt
Copy link
Author

shker-tt commented Apr 8, 2019

3.16

刚试了下 ,
确实3.16 没问题,3.17.1有问题

@xiaoguzhu
Copy link
Member

一个小版本号更新都有这么神奇的效果吗,迟点有时间再查查。

@dingmingxin
Copy link
Contributor

我的coco2dx 3.16 边缘渲染有问题

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants