Skip to content
Musk66Public

About

普通弹幕的实现,非CoreGraphics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Barrage

弹幕的实现逻辑:
1.让弹幕飞起来。
2.弹幕的速度控制,匀速、加速。
3.弹幕的自动追加。
4.弹幕的界面美化。

弹幕移动的距离 = 屏幕的宽度 + 弹幕的宽度。

弹幕的速度 v(速度) = s(要移动的距离) / t(时间)

image

About

普通弹幕的实现,非CoreGraphics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages