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

高级代码弹幕引擎 #7

Open
jabbany opened this issue Apr 16, 2014 · 1 comment
Open

高级代码弹幕引擎 #7

jabbany opened this issue Apr 16, 2014 · 1 comment

Comments

@jabbany
Copy link
Owner

jabbany commented Apr 16, 2014

有关高级代码弹幕引擎,目前还需要实现如下

  • 补全Bili播放器的API:估计部分需要采用一些getter/setter 的hack,或多或少会降低兼容性,保证在Webkit能跑就可以采取了通用的getter/setter模式
  • 还原Bili和AS3的各个API
  • 细化沙箱传输协议:以便以后开发和调试,以及扩展(使用其他的代码解析器/API)
  • 考虑增加单一Worker模式,这样全局变量就能实现了,然后通过messaging来注入代码,因为在Callback里面,所以也不会破坏Worker
  • 解决目前SVG问题:Bili播放器图形绘制支持负坐标,SVG不支持(*目前设想是找到最小负坐标,然后offset一下所有的坐标。但是由于SVG是动态绘制的。。。可能比较BUG,也许看看有没有其他的SVG的API 支持负值坐标。。。)
  • Tween 库
  • 解决事件挂载 event listener 效率问题
  • 实现 canvas 作为前端渲染的绘图模式
  • 支持 Bitmap 库
  • 代码容错:JavaScript比较严格,出现语法错误就不运行了,B站大部分代码弹幕都略坑,所以得想办法解决,最可怕的是Parse问题,比如多一两个括号啥的。。。
@jabbany jabbany added this to the 实现脚本弹幕的整合 milestone Apr 26, 2014
@jabbany
Copy link
Owner Author

jabbany commented May 19, 2014

更换了引擎,修正了无数BUG。

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

No branches or pull requests

1 participant