zsxsoft / danmu-client Goto Github PK
View Code? Open in Web Editor NEWA cross-platforms danmaku client that supports transparency which based on canvas + WebSocket. 多用跨平台透明弹幕客户端,支持图文弹幕,基于canvas + WebSocket。
A cross-platforms danmaku client that supports transparency which based on canvas + WebSocket. 多用跨平台透明弹幕客户端,支持图文弹幕,基于canvas + WebSocket。
大神,您好,我执行electron .,报错:
J:\zsxsoft\danmu-client\node_modules\electron-penetrate\bindings-fork\inde…:87 Uncaught Error: A dynamic link library (DLL) initialization routine failed.
?\J:\zsxsoft\danmu-client\node_modules\electron-penetrate\build\Release\penetrate.node
执行pack.ps1之后的exe后报错:
J:\zsxsoft\danmu-client\out\danmu-client-win32-x64\resources\app.asar\lib\…:43 弹幕初始化完成!
J:\zsxsoft\danmu-client\out\danmu-client-win32-x64\resources\app.asar\node…:92 Uncaught Error: Could not locate the bindings file. Tried:
→ J:\zsxsoft\danmu-client\build\penetrate.node
→ J:\zsxsoft\danmu-client\build\Debug\penetrate.node
→ J:\zsxsoft\danmu-client\build\Release\penetrate.node
→ J:\zsxsoft\danmu-client\out\Debug\penetrate.node
→ J:\zsxsoft\danmu-client\Debug\penetrate.node
→ J:\zsxsoft\danmu-client\out\Release\penetrate.node
→ J:\zsxsoft\danmu-client\Release\penetrate.node
→ J:\zsxsoft\danmu-client\build\default\penetrate.node
→ J:\zsxsoft\danmu-client\compiled\4.1.1\win32\x64\penetrate.node
可以麻烦您看下是怎么回事么?
谢谢!
如題所示
目前都是以字符的方式展示的
PS:你的作品很棒
谢谢
Dear zsx,
又发现一个小问题:
当我发送本地图片的代码时,每个本地图片第一次都不能显示出来,只有第二次以后才能显示,估计是因为第一次显示的时候缓存里面没有图片导致的?这里的缓存是不是指客户端的缓存?是缓存到哪里了?
检查了一下,Electron不知道从哪个版本开始有了setIgnoreMouseEvents
,所以electron-penetrate
已经失去了存在的意义,而且这个还能支持macOS了。
所以接下来的进度:
BTW, window-caption-color
should be removed too, but is there any other UI design?
见地址:nwjs/nw.js#199
Dear zsx,
发现个小问题:当弹幕中包含图片表情时滚动速度变得较快,不受lifeTime参数控制,其他不包含图片的弹幕滚动速度正常。貌似表情图片越多滚动越快,表情图片我都是放在末尾,引用的是外网图片。
我的测试环境参数:
服务端:"interval": 5000
客户端:
lifeTime: 2000
height: 70
谢谢
Dear zsx,
有个小问题哈:
我看到qq的gif表情在弹幕上显示起来是个静态的图片,没有动画效果,而且这些gif图片显示在黑色背景上是有白边的,知道怎么解决吗?
gif图片例子:
http://res.mail.qq.com/zh_CN/images/mo/DEFAULT2/32.gif
谢谢
我用size:xxpx或者直接设置xxPX
字体大小都没变化
而且我发现设置textStyle貌似没啥影响
Dear zsx,
2个问题请教一下,可能一个是客户端的一个服务端的:
1、怎么控制客户端中弹幕滚动的速度呢?照默认速度从右向左滚动速度有点快;
2、怎么控制弹幕内容弹出速度尽量均匀,不要一次出现太多内容,一下又没有内容:特别在高并发情况下可能出现一下弹出很多弹幕的情况,等高并发过去以后就一下没有内容,不知道能否控制弹幕内容不管是否处于高并发期都能比较均匀的按一定频率弹出内容?
谢谢。
Dear zsx,
我的同事发现在win8下客户端不能使用,是不是对win8不兼容啊?
谢谢
调整好位置后,点击回车没反应还是一块黑屏。服务端配置在daocloud,改了客户端的config.js的地址,是不是要重新编译生成文件?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.