From b0673bc09e007d19dc339205be11c68567ae3c6e Mon Sep 17 00:00:00 2001 From: StevenJoeZhang <1119186082@qq.com> Date: Mon, 25 Mar 2019 10:54:43 +0800 Subject: [PATCH] Add more demos --- README.md | 21 +++- demo.html => demo-1.html | 0 demo-2.html | 252 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 268 insertions(+), 5 deletions(-) rename demo.html => demo-1.html (100%) create mode 100755 demo-2.html diff --git a/README.md b/README.md index 40c98ce..b95afc3 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,24 @@ # Live2D Widget -## Feature +## 特性 Feature 在网页中添加Live2D看板娘。 Add Live2D widget to web page. **警告:不支持IE。** **WARNING: DO NOT SUPPORT IE.** -## Demo +## 示例 Demo 在[米米的博客](https://zhangshuqiao.org)的左下角可查看效果。需要使用支持WebGL的现代浏览器浏览。 ![](screenshot-1.png) ![](screenshot-2.png) ![](screenshot-3.png) +这个仓库中也提供了两个Demo,即 + +- [demo-1.html](https://mi.js.org/live2d-widget/demo-1.html) ,展现基础效果 +- [demo-2.html](https://mi.js.org/live2d-widget/demo-2.html) ,仿NPM的登陆界面 + ## 依赖 Dependencies 本插件需要jQuery和font-awesome支持,请确保它们已在页面中加载,例如在``中加入: jQuery and font-awesome is required for this plugin. You can add this to ``: @@ -68,7 +73,7 @@ https://www.example.com/path/to/live2d-widget/ **警告:作者不对`waifu-tips.json`和`waifu-tips.js`中的内容负责,请自行确保它们是合适的。** 如果有任何疑问,欢迎提交ISSUE。 -## 更多 +## 更多 More Live2D官方网站: https://www.live2d.com/en/ https://live2d.github.io @@ -85,14 +90,20 @@ https://www.fghrsh.net/post/123.html 相比初始的版本,这个Repo增加了一些功能,并优化了提示展现机制。 更多内容可以参考: +https://zhangshuqiao.org/2018-07/在网页中添加Live2D看板娘/ https://imjad.cn/archives/lab/add-dynamic-poster-girl-with-live2d-to-your-blog-02 -https://zhangshuqiao.org/2018-07/在网页中添加Live2D看板娘/ +https://github.com/summerscar/live2dDemo 还可以自行搭建后端api,并增加模型(需要修改的内容比较多,此处不再赘述): +https://github.com/fghrsh/live2d_api https://github.com/xiazeyu/live2d-widget-models https://github.com/xiaoski/live2d_models_collection -## License +除此之外,还有桌面版本: +https://github.com/amorist/platelet +https://github.com/akiroz/Live2D-Widget + +## 许可证 License Released under the GNU General Public License v3 http://www.gnu.org/licenses/gpl-3.0.html diff --git a/demo.html b/demo-1.html similarity index 100% rename from demo.html rename to demo-1.html diff --git a/demo-2.html b/demo-2.html new file mode 100755 index 0000000..3366151 --- /dev/null +++ b/demo-2.html @@ -0,0 +1,252 @@ + + + + + +看板娘登陆平台 + + + + + + + +
+
+
+
+
+ MIMIPOWERED +
+
+
+
+ +
+ + +
+

看板娘登陆平台

+ + + + +
+ +
+ +

Copyleft © Mimi 2019

+
+ + +