the face draws: relative asset paths over loopback, and a dead socket stops being a gate
This commit is contained in:
parent
d1e580ee00
commit
7f294a5fa2
2 changed files with 19 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
|||
<body>
|
||||
<div id="live2d-widget"><canvas id="live2d"></canvas></div>
|
||||
<div id="bubble"></div>
|
||||
<script src="rig://localhost/live2d/js/live2d.js"></script>
|
||||
<script src="live2d/js/live2d.js"></script>
|
||||
<script>
|
||||
// The character layer, reduced to what the shell drives. The reference's
|
||||
// message.js owns idle chatter, a talk box and sessionStorage position; none of
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
// loadlive2d is live2d.js's entry point: canvas id, model.json url.
|
||||
try {
|
||||
loadlive2d('live2d', 'rig://localhost/live2d/model/histoire/model.json');
|
||||
loadlive2d('live2d', 'live2d/model/histoire/model.json');
|
||||
} catch (e) {
|
||||
console.error('rig failed to load', e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue