Skip to content

Releases: benpigchu/danmakubox.js

1.0.0

20 Feb 10:47
Compare
Choose a tag to compare
  • The first argument of Renderer#send can be a string or a {message:string,type:string} now.
    • The type is default to "rtl" . Other value like "ltr" , "top" , "bottom" can also be used.
  • Added Renderer#registerDanmakuType to add user defined danmaku type.
  • Export class Danmaku used to create user defined danmaku type.

0.7.0

16 Feb 14:44
Compare
Choose a tag to compare
  • renderer#style has a fontFamily property now.
  • added renderer#setStyle
  • prepared custom danmaku type

0.6.0

08 Feb 09:34
Compare
Choose a tag to compare
  • The first argument of Renderer can be a HTMLCanvasElement or a String now.
  • Renderer#send now return the added Danmaku.
  • Add Renderer#withdraw the remove the danmaku returned by Renderer#send.
  • Fix an danmaku size measuring issue in v0.5.0.

0.5.0

31 Jan 08:43
Compare
Choose a tag to compare
  • _Break Change_ Renderer() only have two arguments renderer and style now.
  • _Break Change_ Renderer#style is used instead of Renderer#color, Renderer#time , Renderer#font , Renderer#strokeColor .
  • Renderer#send have a second argument style to specific style for single danmaku now.

0.2.1

28 Oct 11:59
Compare
Choose a tag to compare
  • new layout engine

0.2.0

28 Oct 10:10
Compare
Choose a tag to compare
  • Add renderer#clear()

v0.1.2

27 Oct 13:27
Compare
Choose a tag to compare

Nearly Init.