Browse Source

feature: makes kite fully visible if game mode B

lairaalmas 8 tháng trước cách đây
mục cha
commit
46ac556f0f
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      js/games/circleOne.js

+ 5 - 0
js/games/circleOne.js

@@ -590,6 +590,11 @@ const circleOne = {
       self.kite_line = game.add.image(kiteX, validPath.y0 - 30, 'kite_line', 2);
       self.kite_line.alpha = 0.8;
       self.kite_line.anchor(0.5, 0);
+
+      if (gameMode === 'b') {
+        self.kite_line.alpha = 1;
+        self.kite.alpha = 1;
+      }
     },
     renderMainUI: function () {
       // Help pointer