raliz #1
@ -196,7 +196,7 @@ export default function Home() {
|
|||||||
(async function () {
|
(async function () {
|
||||||
const app = new PIXI.Application({
|
const app = new PIXI.Application({
|
||||||
view: document.getElementById("canvas") as HTMLCanvasElement,
|
view: document.getElementById("canvas") as HTMLCanvasElement,
|
||||||
backgroundAlpha: 1,
|
backgroundAlpha: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
const model = await Live2DModel.from(
|
const model = await Live2DModel.from(
|
||||||
@ -222,6 +222,7 @@ export default function Home() {
|
|||||||
model.motion("speak");
|
model.motion("speak");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
console.log("ok")
|
||||||
})();
|
})();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
@ -285,8 +286,7 @@ export default function Home() {
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
className="w-full h-full scale-[2.5]"
|
className="w-full h-full scale-[2.5]"
|
||||||
src={`http://picdown.jchysoft.com/uiIcon/${
|
src={`http://picdown.jchysoft.com/uiIcon/${useVoice ? "jianpan" : "yuyin"
|
||||||
useVoice ? "jianpan" : "yuyin"
|
|
||||||
}.png`}
|
}.png`}
|
||||||
alt="输入方式"
|
alt="输入方式"
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user