We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如题,想让同一轨道的弹幕速度相同。不同轨道有差异
The text was updated successfully, but these errors were encountered:
暂不支持哈,后续可以考虑加入这一功能
Sorry, something went wrong.
@XiaoIsGood 不同轨道怎么设置不同速度 该功能已加入, yarn add js-bullets@latest 参数设置
不同轨道怎么设置不同速度
yarn add js-bullets@latest
{ trackHeight: 35, // 每条轨道高度 speed: 100, // 速度 100px/s 根据实际情况去配置 trackArr: [ { speed: 120 }, { speed: 150 }, ... ] // 数组索引与轨道序号相对应,当数组长度小于轨道数时降级取 speed 参数 }
详见 README
No branches or pull requests
如题,想让同一轨道的弹幕速度相同。不同轨道有差异
The text was updated successfully, but these errors were encountered: