Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

浮动弹幕不能设置透明度(滚动弹幕生效了) #67

Open
13167281921 opened this issue Aug 10, 2017 · 1 comment
Open

浮动弹幕不能设置透明度(滚动弹幕生效了) #67

13167281921 opened this issue Aug 10, 2017 · 1 comment

Comments

@13167281921
Copy link

13167281921 commented Aug 10, 2017

您好大神,弹幕分为滚动和浮动弹幕,滚动弹幕(walksprite)目前都显示正常,但是浮动弹幕(Floatsprite):
在ILabel+BarrageView里面加入self.alpha = 0.6属性,对于滚动弹幕起作用,但是却对浮动弹幕(Floatsprite)不起作用,请问浮动弹幕需要怎么才能改变弹幕的透明度呢?

@13167281921 13167281921 changed the title 浮动弹幕悬浮时间+浮动弹幕不能设置透明度 浮动弹幕不能设置透明度(滚动弹幕生效了) Aug 10, 2017
@unash
Copy link
Owner

unash commented Aug 11, 2017

浮动弹幕有渐出渐隐,故透明度失效了。
可以调整下代码以支持。

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

No branches or pull requests

2 participants