feat: added added new skin to ptilopsis

well, i have to make changes to spine-ts so it can handle the difference between the size of texture
This commit is contained in:
Haoyu Xu
2025-05-02 21:38:09 +08:00
parent 093f9d7f1a
commit 0af19cf652
385 changed files with 12361 additions and 121068 deletions

View File

@@ -64,12 +64,8 @@ export default function Error() {
setVoiceSrc(null)
} else {
setVoiceSrc(`/${buildConfig.directory_folder}/error.ogg`)
if (spinePlayer) {
spinePlayer.animationState.setAnimation(0, 'Interact', false, 0)
spinePlayer.animationState.addAnimation(0, 'Relax', true, 0)
}
}
}, [spinePlayer, voiceOn])
}, [voiceOn])
useEffect(() => {
voiceOnRef.current = voiceOn