用户:Yingxxxx/test.js:修订间差异

来自Limbo Wiki Mirror
创建页面,内容为“L2Dwidget.init({ "model": {        jsonPath: "https://unpkg.com/live2d-widget-model-tororo@1.0.5/assets/tororo.model.json", "scale": 1 }, "display": { "position": "right", //模型的表现位置 "width": 150, //模型的宽度 "height": 300, //模型的高度 "hOffset": 0, "vOffset": -20 }, "mobile": { "show": true, "scale": 0.5 }, "react": { "opacityDefault": 0.7, //模型默认透明度 "opacityOnHover": 0.2 } });”
 
Gaoice留言 | 贡献
已从limbowiki:用户:Yingxxxx/test.js导入4个版本
 
(未显示1个用户的3个中间版本)
第1行: 第1行:
L2Dwidget.init({
  L2Dwidget.init({
"model": {
        "model": {
       jsonPath: "https://unpkg.com/live2d-widget-model-tororo@1.0.5/assets/tororo.model.json",
            "jsonPath": "https://unpkg.com/live2d-widget-model-z16@1.0.5/assets/z16.model.json",
"scale": 1
            "scale": 1
},
        },
"display": {
        "display": {
"position": "right", //模型的表现位置
            "position": "left",
"width": 150, //模型的宽度
            "width": 150,
"height": 300, //模型的高度
            "height": 300,
"hOffset": 0,
            "hOffset": 0,
"vOffset": -20
            "vOffset": -20
},
        },
"mobile": {
        "mobile": {
"show": true,
            "show": true,
"scale": 0.5
            "scale": 0.5
},
        },
"react": {
        "react": {
"opacityDefault": 0.7, //模型默认透明度
            "opacityDefault": 0.7,
"opacityOnHover": 0.2
            "opacityOnHover": 0.2
}
        }
});
    });

2025年6月25日 (三) 23:40的最新版本

   L2Dwidget.init({
        "model": {
            "jsonPath": "https://unpkg.com/live2d-widget-model-z16@1.0.5/assets/z16.model.json",
            "scale": 1
        },
        "display": {
            "position": "left",
            "width": 150,
            "height": 300,
            "hOffset": 0,
            "vOffset": -20
        },
        "mobile": {
            "show": true,
            "scale": 0.5
        },
        "react": {
            "opacityDefault": 0.7,
            "opacityOnHover": 0.2
        }
    });