DanmakuFlameMaster
Introduction: android 上开源弹幕解析绘制引擎项目
Tags:
DFM Inside:
- libndkbitmap.so(ndk)源码:https://github.com/Bilibili/NativeBitmapFactory
- 开发交流群:314468823 (加入请注明 DFM 开发交流)
Features
使用多种方式(View/SurfaceView/TextureView)实现高效绘制
B 站 xml 弹幕格式解析
基础弹幕精确还原绘制
支持 mode7 特殊弹幕
多核机型优化,高效的预缓存机制
支持多种显示效果选项实时切换
实时弹幕显示支持
换行弹幕支持/运动弹幕支持
支持自定义字体
支持多种弹幕参数设置
支持多种方式的弹幕屏蔽
TODO:
继续精确/稳定绘帧周期
增加 OpenGL ES 绘制方式
改进缓存策略和效率
Download
Download the latest version or grab via Maven:
<dependency>
<groupId>com.github.ctiao</groupId>
<artifactId>dfm</artifactId>
<version>0.3.9</version>
</dependency>
or Gradle:
dependencies {
compile 'com.github.ctiao:dfm:0.3.9'
}
Snapshots of the development version are available in Sonatype's snapshots repository.
License
Copyright (C) 2013-2015 Chen Hui <calmer91@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");