소스 검색

代码修改

林旭祥 1 개월 전
부모
커밋
0daaa0b45c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/game/components/fruit.vue

+ 2 - 2
src/views/game/components/fruit.vue

@@ -485,7 +485,7 @@ class Bomb {
       const light = lights[index];
       self.game.tweens.add({
         targets: light,
-        alpha: { from: 0, to: 1, from: 0 },
+        alpha: { from: 0, to: 1 },
         scale: { from: 1, to: 2 },
         duration: 100,
         onComplete: () => {
@@ -498,7 +498,7 @@ class Bomb {
     function playWhiteScreenAnimation() {
       self.game.tweens.add({
         targets: whiteScreen,
-        alpha: { from: 0, to: 1, to: 0 },
+        alpha: { from: 0, to: 1 },
         duration: 50,
         onUpdate: (tween) => {
           if (tween.progress >= 0.25 && tween.progress <= 0.3) {