-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
+ 修改了waifu.css使模型出现在右侧 | ||
+ 修改了看板娘的z-index使得她出现在页面最上层 | ||
+ 让[模型图片](https://fastly.jsdelivr.net/gh/wuuconix/live2d-cdn@latest/model/xiaomai/umaru2048/texture_00.png)加载完毕后再加载live2d与widget(避免了模型图片还没加载出来就已经在说话了的诡异场面) | ||
+ 让[模型图片](https://jsd.onmicrosoft.cn/gh/wuuconix/live2d-cdn@latest/model/xiaomai/umaru2048/texture_00.png)加载完毕后再加载live2d与widget(避免了模型图片还没加载出来就已经在说话了的诡异场面) | ||
|
||
模型来自 [imuncle/live2d](https://github.com/imuncle/live2d) | ||
|
||
|
@@ -19,9 +19,13 @@ | |
在html文件中引入一个js文件即可。 | ||
|
||
```html | ||
<script src="https://fastly.jsdelivr.net/gh/wuuconix/[email protected].5/autoload.js"></script> | ||
<script src="https://jsd.onmicrosoft.cn/gh/wuuconix/[email protected].6/autoload.js"></script> | ||
``` | ||
|
||
## 感谢 | ||
|
||
十分[渺软公益 CDN](https://cdn.onmicrosoft.cn/)对此项目的加速 | ||
|
||
## 在线预览 | ||
|
||
[https://wuuconix.github.io/live2d-cdn/](https://wuuconix.github.io/live2d-cdn/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const live2d_path = "https://fastly.jsdelivr.net/gh/wuuconix/[email protected].5/"; | ||
const modelTextures = "https://fastly.jsdelivr.net/gh/wuuconix/[email protected].5/model/xiaomai/umaru2048/texture_00.png"; | ||
const live2d_path = "https://jsd.onmicrosoft.cn/gh/wuuconix/[email protected].6/"; | ||
const modelTextures = "https://jsd.onmicrosoft.cn/gh/wuuconix/[email protected].6/model/xiaomai/umaru2048/texture_00.png"; | ||
|
||
// 封装异步加载资源的方法 | ||
function loadExternalResource(url, type) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script src="https://fastly.jsdelivr.net/gh/wuuconix/[email protected].5/autoload.js"></script> | ||
<script src="https://jsd.onmicrosoft.cn/gh/wuuconix/[email protected].6/autoload.js"></script> | ||
<title>预览</title> | ||
</head> | ||
<body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.