raliz #1

Merged
zjt merged 5 commits from raliz into master 2024-07-03 10:57:35 +08:00
Showing only changes of commit e1cbab4d48 - Show all commits

View File

@ -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="输入方式"
/> />