Skip to content

Updated APIs and New Rendering Systems

Pre-release
Pre-release
Compare
Choose a tag to compare
@jabbany jabbany released this 13 Jun 01:29
· 84 commits to master since this release

本次 Release 跳过了单独点发布 0.10.0-rc 系列内实验性的CSS弹幕,直接将其设定为默认渲染模式。
本次更新有API变动

We are skipping the v0.10.0 series of changes in favor of introducing the improvements directly from merging changes in modularization and animation to produce v0.11.

This update introduces breaking changes to the API


更新内容

  • 并入代码弹幕引擎优化
    • Bezier移动支持
    • 初步“渐变”填充支持
    • 修正Tween库的一些BUG情况
    • 传递 blendMode到前端CSS(不知道是不是work)
  • 弹幕加载器实现 (提供了可扩展弹幕加载和发送的API模板,和一些简单的用来加载HTTP下XML和JSON弹幕的实现)
  • 修正格式解析器的一些BUG
    • BilibiliFormat 修正 border 可以同时接受 (bool) false(string) "false"
    • AcfunFormat 通过 Acfun 播放器高级弹幕实验结合 Issue 内提到的的一些参考材料,极大改善了 AcfunFormat支持
    • 弹幕格式文档
  • 新的 CommentFactory 实现,可以提供 Legacy (DOM + Timer)和 CSS (CSS3 Animation + 高级弹幕依然Timer)不同渲染引擎选项
    • 全面并入 0.10.0-rc 下提出的的CSS3实现(*虽然前些时候围观了一下各种CCL的未开源第三方改进发现了另一些更高端的 CSS Animation 和 Canvas弹幕的实现 >_< )
  • 更多的 TypeScript 组件。为 1.0.0 过渡到纯 TS 项目准备。
  • 一些文档改进和修正+新的测试。文档增加初步多语言支持。

Updates:

  • Merge in improvements from dev-scripter
    • Support bezier movement
    • Fix base case errors (no-tween case) in tween library
    • Basic support for gradient fills
    • Basic support for blendMode passthrough to CSS (not tested yet)
  • Comment Loader Mechanism update. Introduced a new extensible system+API to load and send comments.
  • Parser Fixes
    • Bilibili: Fixed parsing of border to accept both (bool) false and (string) "false"
    • AcFun: Enabled support for lots of new properties by testing output of the new AcFun Flash player and using documents provided in the Issues section.
    • Documented the formats for reference use (this may eventually move out to separate project?)
  • New CommentFactory implementation supports different render modes such as Legacy (DOM + Timer) or CSS (CSS3 animations) etc.
    • Merge in improvements experimented from v0.10.0-rc for CSS3 danmaku (* Although newer and possibly better approaches are around in third party improvements for CCL (plz PR me >_<))
  • More things in TypeScript to prepare for transition to full TS in version 1.0.0
  • Lots of documentation updates and new unit tests. Basic multi-language documentation (still needs work! Translations welcome!)