Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

关于waifu-tips.js #137

Open
Yanstory opened this issue Mar 8, 2019 · 2 comments
Open

关于waifu-tips.js #137

Yanstory opened this issue Mar 8, 2019 · 2 comments
Assignees

Comments

@Yanstory
Copy link

Yanstory commented Mar 8, 2019

这个页面里有供live2d使用的waifu-tips.js,可以给live2d小人添加(基于鼠标动作的)文字浮动框。

这个插件支持waifu-tips.js吗?或者怎样可以集成到插件里?

@xiazeyu xiazeyu self-assigned this Mar 21, 2019
@EYHN
Copy link
Owner

EYHN commented Apr 2, 2019

很抱歉!让您久等了

我在 xiazeyu/live2d-widget.js@d700ae3 实现了一个简单的 hitokoto 示例。
image

现在将你的 hexo-helper-live2d 升级到 3.1.1 ,然后如下修改设置,可以体验此功能

live2d:
  enable: true
  dialog:
    enable: true
    hitokoto: true

关于会话框后续更新请关注 xiazeyu/live2d-widget.js#48

@yanickxia
Copy link

@EYHN 可否配置脚本,好像如下方式无效

 dialog:
    enable: true
    hitokoto: true
    script:
      'every 2s': '$hitokoto'
      'tap face': 'text2'
      'tap body': 'text3'

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

No branches or pull requests

4 participants