Skip to content

Commit

Permalink
示例页面关于音频以及初始化尺寸部分修改。
Browse files Browse the repository at this point in the history
  • Loading branch information
fguby committed Apr 21, 2019
1 parent 64752e0 commit aa45ac3
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 10 deletions.
9 changes: 7 additions & 2 deletions haro.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</head>

<body onload="InitLive2D()">

<audio id="my_audio"></audio>
<p>

</p>
Expand Down Expand Up @@ -174,7 +174,12 @@
HIT_AREA_HEAD : "head",
HIT_AREA_BODY : "body",

//关于各个事件触发的表情可以用动作常量优先级来取代
//初始化的模型大小
SCALE : 1.0,
//新增属性,是否播放音频 默认为true
IS_PLAY_AUDIO : true,
//新增属性,audio标签id值
AUDIO_ID : "my_audio"
};
</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion katou.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</head>

<body onload="InitLive2D()">

<audio id="my_audio"></audio>
<input class="searchbox" placeholder="这是一个搜索框"/>
<div id="landlord">
<div class="message" style="opacity:0.2;margin-top:20px;"></div>
Expand Down
2 changes: 1 addition & 1 deletion live2D.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</head>

<body onload="InitLive2D()">

<audio id="my_audio"></audio>
<p>
<button id="Change" class="active">Change Model</button>
</p>
Expand Down
9 changes: 7 additions & 2 deletions pio.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</head>

<body onload="InitLive2D()">

<audio id="my_audio"></audio>
<p>
<button id="btnTexure" class="active" >换件衣服吧</button>
</p>
Expand Down Expand Up @@ -162,7 +162,12 @@
HIT_AREA_HEAD : "head",
HIT_AREA_BODY : "body",

//关于各个事件触发的表情可以用动作常量优先级来取代
//初始化的模型大小
SCALE : 1.0,
//新增属性,是否播放音频 默认为true
IS_PLAY_AUDIO : true,
//新增属性,audio标签id值
AUDIO_ID : "my_audio"
};
</script>
</body>
Expand Down
9 changes: 7 additions & 2 deletions sisters.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</head>

<body onload="InitLive2D()">

<audio id="my_audio"></audio>
<p>

</p>
Expand Down Expand Up @@ -174,7 +174,12 @@
HIT_AREA_HEAD : "head",
HIT_AREA_BODY : "body",

//关于各个事件触发的表情可以用动作常量优先级来取代
//初始化的模型大小
SCALE : 1.0,
//新增属性,是否播放音频 默认为true
IS_PLAY_AUDIO : true,
//新增属性,audio标签id值
AUDIO_ID : "my_audio"
};
</script>
</body>
Expand Down
9 changes: 7 additions & 2 deletions xiaomai.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</head>

<body onload="InitLive2D()">

<audio id="my_audio"></audio>
<p>
<button onclick="test()" class="active">小埋我要走了</button>
<button onclick="color()" class="active">小埋你的可乐呢</button>
Expand Down Expand Up @@ -164,7 +164,12 @@
HIT_AREA_HEAD : "head",
HIT_AREA_BODY : "body",

//关于各个事件触发的表情可以用动作常量优先级来取代
//初始化的模型大小
SCALE : 1.0,
//新增属性,是否播放音频 默认为true
IS_PLAY_AUDIO : true,
//新增属性,audio标签id值
AUDIO_ID : "my_audio"
};
</script>

Expand Down

0 comments on commit aa45ac3

Please sign in to comment.