Browse Source

项目初始化

王育民 4 years ago
commit
4e155f9891
100 changed files with 8661 additions and 0 deletions
  1. BIN
      1611557925872957.gif
  2. 2 0
      README.md
  3. 198 0
      ads.js
  4. 3754 0
      cocos2d-js-min.js
  5. 282 0
      index.html
  6. 277 0
      main.js
  7. 0 0
      res/import/04/049f3a810.json
  8. 0 0
      res/import/07/079499991.json
  9. 0 0
      res/import/07/07ce7530a.json
  10. 0 0
      res/import/0a/0ab855d50.json
  11. 1 0
      res/import/0d/0d669730c.json
  12. 0 0
      res/import/0e/0e4bc3b03.json
  13. 0 0
      res/import/28/2874f8dd-416c-4440-81b7-555975426e93.json
  14. 1 0
      res/import/41/417a8a59-c0fc-4767-8be2-bf5124bb4b8d.json
  15. 1 0
      res/import/6f/6f801092-0c37-4f30-89ef-c8d960825b36.json
  16. 0 0
      res/import/79/79eafaef-b7ef-45d9-9c3f-591dc836fc7a.json
  17. 1 0
      res/import/ec/eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432.json
  18. BIN
      res/loading.gif
  19. BIN
      res/raw-assets/00/00fc415f-8c49-4e58-877d-075cc11bae4a.png
  20. BIN
      res/raw-assets/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.png
  21. BIN
      res/raw-assets/03/03c33f55-5932-4ff7-896b-814ba3a8edb8.png
  22. BIN
      res/raw-assets/0c/0cbb3dbb-2a85-42a5-be21-9839611e5af7.png
  23. BIN
      res/raw-assets/13/132ded82-3e39-4e2e-bc34-fc934870f84c.png
  24. BIN
      res/raw-assets/13/137b8bd7-03dc-47be-94d1-efd7ac5d0a74.png
  25. BIN
      res/raw-assets/17/17e2847d-2998-4ef4-96d5-eefe31137c30.png
  26. BIN
      res/raw-assets/18/187640ff-894f-47fb-b3a1-874e0688f231.png
  27. BIN
      res/raw-assets/19/190ae658-5d64-44b1-ba46-6e85eb3063f9.png
  28. BIN
      res/raw-assets/2d/2d5160a3-03a4-4f60-9354-3b4e772008b1.png
  29. BIN
      res/raw-assets/3e/3e5fe49c-0083-4a31-b7e9-df83ffbaeab0.png
  30. BIN
      res/raw-assets/44/4482cf48-850b-4221-b0de-ae7559aeb54c.png
  31. BIN
      res/raw-assets/47/4756311b-4364-4160-bc7e-299876f49770.png
  32. BIN
      res/raw-assets/4b/4b19a79e-5566-42aa-bf99-75ec53f78a94.png
  33. BIN
      res/raw-assets/4b/4bbcda1e-9eb4-4f56-94f8-b72a7422260c.png
  34. BIN
      res/raw-assets/4e/4e19a181-af6e-4ef1-8adc-6babec1773c0.png
  35. BIN
      res/raw-assets/50/5035266c-8df3-4236-8d82-a375e97a0d9c.png
  36. BIN
      res/raw-assets/53/53e8e9ea-a7ad-4d7d-ba2f-2068f3e65ef6.png
  37. BIN
      res/raw-assets/55/55076d53-f1fd-40fd-97fc-3a14ca11a10a.png
  38. BIN
      res/raw-assets/55/554774b4-b2c1-4539-9786-b4e42401abc4.png
  39. BIN
      res/raw-assets/56/564ba620-6a55-4cbe-a5a6-6fa3edd80151.png
  40. BIN
      res/raw-assets/5f/5f932042-0f42-44fa-9f47-e3ea49850807.png
  41. BIN
      res/raw-assets/5f/5fa0264d-acbf-4a7b-8923-c106ec3b9215.png
  42. BIN
      res/raw-assets/64/643437d2-b6fa-406a-813d-568749e085d2.png
  43. BIN
      res/raw-assets/66/665a0ec9-6c43-4858-974c-025514f2a0e7.png
  44. BIN
      res/raw-assets/68/68241990-57fc-43aa-bf28-edc78c6808ff.png
  45. BIN
      res/raw-assets/69/69b660e0-4cf7-4586-af31-27cc48947b8d.png
  46. BIN
      res/raw-assets/6f/6f8e281b-5650-4b5e-a1fe-397521d705d0.png
  47. BIN
      res/raw-assets/74/74237057-2880-4e1f-8a78-6d8ef00a1f5f.png
  48. BIN
      res/raw-assets/80/8006b403-caef-4f84-9d19-f3aad560db3d.png
  49. BIN
      res/raw-assets/84/84bc9d40-83d0-480c-b46a-3ef59e603e14.png
  50. BIN
      res/raw-assets/85/856267d0-6891-4660-a28a-3eb110bf6395.png
  51. BIN
      res/raw-assets/86/868c3162-bc78-4c7f-a8a7-0cb2282700f6.png
  52. BIN
      res/raw-assets/86/86a35167-1a64-4346-ac38-44ea77b43861.png
  53. BIN
      res/raw-assets/8c/8c52a851-9969-4702-9997-0a2ca9f43773.png
  54. BIN
      res/raw-assets/8e/8e5d5af5-708e-4a2b-967d-5765b8411e4f.png
  55. BIN
      res/raw-assets/8e/8ea9800f-272d-4494-99d4-e53d5599eefe.png
  56. BIN
      res/raw-assets/95/954e1838-6f16-4b94-855a-e2edabe0a97b.png
  57. BIN
      res/raw-assets/97/9742ffbb-2412-47bd-bcbb-00967c943edb.png
  58. BIN
      res/raw-assets/9e/9ed91ad5-dc75-48f7-b1dd-30dc29048969.png
  59. BIN
      res/raw-assets/a5/a5313013-8d03-4fb7-8ef7-e940c227cc61.png
  60. BIN
      res/raw-assets/a7/a74390ae-6d68-48d1-ad36-f652a43b8694.mp3
  61. BIN
      res/raw-assets/a7/a798cd25-4145-4b0b-bffd-472f42977e9f.png
  62. BIN
      res/raw-assets/a7/a7de1099-ffab-450b-8db5-54b51514fd54.png
  63. BIN
      res/raw-assets/a8/a8027877-d8d6-4645-97a0-52d4a0123dba.png
  64. BIN
      res/raw-assets/a9/a98f13b0-c9f9-45c1-a728-466e72938bbc.png
  65. BIN
      res/raw-assets/ad/ad16ccdc-975e-4393-ae7b-8ac79c3795f2.png
  66. BIN
      res/raw-assets/ae/aed1aa25-ff42-45fd-a79c-f099e49de29e.png
  67. BIN
      res/raw-assets/b0/b0dd9862-1b33-4857-87f3-0d45f325f63b.png
  68. BIN
      res/raw-assets/b1/b139d8b5-98b3-441d-a0ef-3d1739a54f67.png
  69. BIN
      res/raw-assets/b3/b31f518e-342c-453f-8246-0e061947e3e6.png
  70. BIN
      res/raw-assets/b7/b791fe71-a679-4bb6-b434-89872b64590a.png
  71. BIN
      res/raw-assets/bb/bb54cc4f-da05-430f-be09-a0dab6473562.mp3
  72. BIN
      res/raw-assets/bb/bb85caad-191e-40b6-b95d-7eb5da61503f.png
  73. BIN
      res/raw-assets/bc/bcb2c9bc-a01c-409c-8984-4712446e1f05.png
  74. BIN
      res/raw-assets/bd/bd585caf-7451-49a1-b2c5-d0f89ed0c6bd.png
  75. BIN
      res/raw-assets/be/be48cbf7-99c4-4a84-8f46-d121ac8bd575.png
  76. BIN
      res/raw-assets/c1/c15f3ea5-f9a0-4e70-b5b3-565ede11df1c.png
  77. BIN
      res/raw-assets/c2/c21d0b8e-3640-486c-afb5-636deed5f6b8.png
  78. BIN
      res/raw-assets/cc/ccecca49-49b4-4c77-97cc-701fdb6f39d9.png
  79. BIN
      res/raw-assets/d0/d0c676e4-0956-4a03-90af-fee028cfabe4.png
  80. BIN
      res/raw-assets/d2/d2cb5a4f-1334-4eab-8578-a76aa028644e.mp3
  81. BIN
      res/raw-assets/d3/d314aef5-920d-44f4-aa26-423c3664acc6.mp3
  82. BIN
      res/raw-assets/d4/d4dbb246-a76f-470f-8c62-40758dc478f6.png
  83. BIN
      res/raw-assets/d7/d77514d7-e7ca-4c9e-b0f8-fe61b8e79382.png
  84. BIN
      res/raw-assets/db/dbdf0ff3-7b61-490f-955a-7984336c571a.png
  85. BIN
      res/raw-assets/e3/e3eb16da-9ad7-4234-9970-89162d72e3bf.png
  86. BIN
      res/raw-assets/e4/e49accbe-a5e2-4d4c-9249-4ce926d9b997.png
  87. BIN
      res/raw-assets/e5/e527d98d-fe10-4e39-a9fe-e600554e0c43.png
  88. BIN
      res/raw-assets/e9/e944e1cb-fa9f-48c7-90c4-c05fef3176fc.png
  89. BIN
      res/raw-assets/e9/e9c8144d-05c4-4201-b69a-1594a0888b1a.png
  90. BIN
      res/raw-assets/ea/ea74bb16-a964-4553-b051-74e2b6823e74.png
  91. BIN
      res/raw-assets/eb/ebc8d774-5965-416e-96f8-8b44c552570f.png
  92. BIN
      res/raw-assets/eb/ebdc0e91-9eb2-40b6-8211-5061a73bb542.png
  93. BIN
      res/raw-assets/f2/f26ac5a6-b8e1-480f-b741-cf0608b83bb0.mp3
  94. BIN
      res/raw-assets/ff/ff04abf0-e33f-4321-be10-9490ce3b6547.png
  95. BIN
      res/raw-assets/ff/ff18081c-bd9d-48b9-8459-f6916cd20c0e.png
  96. BIN
      res/share.jpg
  97. BIN
      singleColor.png
  98. 3974 0
      src/project.js
  99. 47 0
      src/settings.js
  100. 123 0
      style-mobile.css

BIN
1611557925872957.gif


+ 2 - 0
README.md

@@ -0,0 +1,2 @@
+## 合成大西瓜
+未改动版本源码

+ 198 - 0
ads.js

@@ -0,0 +1,198 @@
+var videoContent = document.getElementById('contentElement');
+
+var adDisplayContainer = new google.ima.AdDisplayContainer(document.getElementById('adContainer'), videoContent);
+// Must be done as the result of a user action on mobile
+adDisplayContainer.initialize();
+
+// Re-use this AdsLoader instance for the entire lifecycle of your page.
+var adsLoader = new google.ima.AdsLoader(adDisplayContainer);
+
+// Add event listeners
+adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, onAdsManagerLoaded, false);
+adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, onAdError, false);
+
+function onAdError(adErrorEvent) {
+    console.log("adError");
+    document.getElementById("adContainer").style.display = "none";
+    var GameConfig = __require("GameConfig");
+    if (GameConfig.playNum == 0) {
+        adCompleteFlag = true;
+        if (adCompleteFlag && resCompleteFlag) {
+            adCompleteFlag = false;
+            var launchScene = GameConfig.launchScene;
+            var Bros = GameConfig.Bros;
+            var caS = GameConfig.caS;
+            cc.director.loadScene(launchScene, null,
+                function () {
+                    adCompleteFlag = false;
+                    if (Bros) {
+                        // show canvas
+                        caS = '';
+                        var div = document.getElementById('GameDiv');
+                        if (div) {
+                            div.style.backgroundImage = '';
+                        }
+                    }
+                    cc.loader.onProgress = null;
+                    console.log('Success to load scene: ' + launchScene);
+                }
+            );
+        }
+    }
+
+    adEndComplete = true;
+    if (adEndComplete && resEndComplete) {
+        adEndComplete = false;
+        console.log("indexOverErr");
+        var MainManger = __require("MainManage");
+        MainManger.showGameEndLayer();
+    }
+
+    // Handle the error logging and destroy the AdsManager
+    console.log(adErrorEvent.getError());
+    adsManager.destroy();
+}
+
+// An event listener to tell the SDK that our content video
+// is completed so the SDK can play any post-roll ads.
+var contentEndedListener = function () {
+    adsLoader.contentComplete();
+};
+videoContent.onended = contentEndedListener;
+
+// Request video ads.
+var preloader = new google.ima.AdsRequest();
+preloader.adTagUrl = 'https://googleads.g.doubleclick.net/pagead/ads?ad_type=video_image&client=ca-games-pub-8708616103041212&description_url=http%3A%2F%2Fwww.vsane.com&videoad_start_delay=-1&hl=zh_CN&max_ad_duration=15000';
+// Specify the linear and nonlinear slot sizes. This helps the SDK to
+// select the correct creative if multiple are returned.
+preloader.linearAdSlotWidth = 640;
+preloader.linearAdSlotHeight = 400;
+preloader.nonLinearAdSlotWidth = 640;
+preloader.nonLinearAdSlotHeight = 400;
+
+
+// showMyAds();
+
+function showMyAds() {
+    // alert("showMy");
+    if (typeof (killads) == 'undefined') {
+        // alert('广告被过滤');
+        console.log("AdNo");
+        adEndComplete = false;
+        var MainManger = __require("MainManage");
+        MainManger.showGameEndLayer();
+    } else {
+        var winHeight = document.documentElement.clientHeight;
+        // document.getElementById("adContainer").style.height = winHeight-60+"px";
+        if (document.body.clientHeight > 700) {
+            document.getElementById("adContainer").style.height = winHeight - 85 + "px";
+        } else {
+            document.getElementById("adContainer").style.height = winHeight - 65 + "px";
+        }
+        document.getElementById("adContainer").style.display = "block";
+        adsLoader.requestAds(preloader);
+    }
+}
+
+function onAdsManagerLoaded(adsManagerLoadedEvent) {
+    console.log("ADLoad");
+    adCompleteFlag = true;
+    // document.getElementById("adContainer").style.display = "block";
+    // Get the ads manager.
+    adsManager = adsManagerLoadedEvent.getAdsManager(videoContent); // See API reference for contentPlayback
+    // Add listeners to the required events.
+    adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, onAdError);
+    adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED, onContentPauseRequested);
+    adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED, onContentResumeRequested);
+
+    var o = document.getElementById("adContainer");
+    var h = o.offsetHeight; //高度
+    var w = o.offsetWidth; //宽度
+    try {
+        // Initialize the ads manager. Ad rules playlist will start at this time.
+        adsManager.init(w, h, google.ima.ViewMode.FULLSCREEN);
+        // Call start to show ads. Single video and overlay ads will
+        // start at this time; this call will be ignored for ad rules, as ad rules
+        // ads start when the adsManager is initialized.
+        adsManager.start();
+    } catch (adError) {
+        // An error may be thrown if there was a problem with the VAST response.
+        // Play content here, because we won't be getting an ad.
+        // videoContent.play();
+    }
+}
+
+function onContentPauseRequested() {
+    // This function is where you should setup UI for showing ads (e.g.
+    // display ad timer countdown, disable seeking, etc.)
+    videoContent.removeEventListener('ended', contentEndedListener);
+    videoContent.pause();
+}
+
+// 广告结束的时候调用的函数
+function onContentResumeRequested() {
+    console.log("ADLoadComplete", resEndComplete);
+    var GameConfig = __require("GameConfig");
+    console.log("IndexMainManger", GameConfig.launchScene, GameConfig.Bros, GameConfig.caS);
+    if (GameConfig.playNum == 1) {
+        adCompleteFlag = true;
+        if (adCompleteFlag && resCompleteFlag) {
+            var launchScene = GameConfig.launchScene;
+            var Bros = GameConfig.Bros;
+            var caS = GameConfig.caS;
+            cc.director.loadScene(launchScene, null,
+                function () {
+                    adCompleteFlag = false;
+                    if (Bros) {
+                        // show canvas
+                        var canvas = document.getElementById('GameCanvas');
+                        canvas.style.visibility = '';
+                        var div = document.getElementById('GameDiv');
+                        if (div) {
+                            div.style.backgroundImage = '';
+                        }
+                    }
+                    cc.loader.onProgress = null;
+                    console.log('Success to load scene1: ' + launchScene);
+                }
+            );
+        }
+    }
+    adEndComplete = true;
+    if (adEndComplete && resEndComplete) {
+        adEndComplete = false;
+        console.log("indexOverErr");
+        var MainManger = __require("MainManage");
+        MainManger.showGameEndLayer();
+    }
+
+    // This function is where you should ensure that your UI is ready
+    // to play content.
+    document.getElementById("adContainer").style.display = "none";
+    // videoContent.addEventListener('ended', contentEndedListener);
+    // videoContent.play();
+}
+
+function noAdGoToScene() {
+    var GameConfig = __require("GameConfig");
+    console.log("IndexMainMangerMaing", GameConfig.launchScene, GameConfig.Bros, GameConfig.caS);
+    var launchScene = GameConfig.launchScene;
+    var Bros = GameConfig.Bros;
+    var caS = GameConfig.caS;
+    cc.director.loadScene(launchScene, null,
+        function () {
+            adCompleteFlag = false;
+            if (Bros) {
+                // show canvas
+                var canvas = document.getElementById('GameCanvas');
+                canvas.style.visibility = '';
+                var div = document.getElementById('GameDiv');
+                if (div) {
+                    div.style.backgroundImage = '';
+                }
+            }
+            cc.loader.onProgress = null;
+            console.log('Success to load scene1Main: ' + launchScene);
+        }
+    );
+}

File diff suppressed because it is too large
+ 3754 - 0
cocos2d-js-min.js


+ 282 - 0
index.html

@@ -0,0 +1,282 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8"/>
+
+    <title>合成大西瓜</title>
+
+    <!--http://www.html5rocks.com/en/mobile/mobifying/-->
+    <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1"/>
+
+    <!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
+    <meta name="format-detection" content="telephone=no">
+
+    <!-- force webkit on 360 -->
+    <meta name="renderer" content="webkit"/>
+    <meta name="force-rendering" content="webkit"/>
+    <!-- force edge on IE -->
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
+    <meta name="msapplication-tap-highlight" content="no"/>
+
+    <!-- force full screen on some browser -->
+    <meta name="full-screen" content="yes"/>
+    <meta name="x5-fullscreen" content="true"/>
+    <meta name="360-fullscreen" content="true"/>
+
+    <!-- force screen orientation on some browser -->
+    <meta name="screen-orientation" content=""/>
+    <meta name="x5-orientation" content=""/>
+
+    <!--fix fireball/issues/3568 -->
+    <!--<meta name="browsermode" content="application">-->
+    <meta name="x5-page-mode" content="app"/>
+
+    <!--<link rel="apple-touch-icon" href=".png" />-->
+    <!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
+
+    <!-- <script>
+        pushHistory();
+        window.addEventListener("popstate", function(e) {
+
+        }, false);
+        function pushHistory() {
+            var state = {
+                title: "",
+                url: window.location.href
+            };
+            window.history.pushState(state, state.title, state.url);
+        }
+    </script> -->
+    <script type="text/javascript">
+        var ua = navigator.userAgent.toLowerCase(); //获取判断用的对象
+        //判断是否是微信下访问
+        if (ua.match(/MicroMessenger/i) == "micromessenger") {
+            // if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
+            location.href = "https://mp.weixin.qq.com/s/m0U0L-vnD0Gu8aPJ2vcPoA";
+            // }               
+        }
+    </script>
+    <link rel="stylesheet" type="text/css" href="style-mobile.css"/>
+</head>
+
+<body style="margin: 0; background: #ddd;" align="center">
+<div style="align:center;display: none"><img src="res/share.jpg" width="10%"/></div>
+
+<div id="canvasDiv" style="width:100%;height:100%;">
+    <canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas>
+    <video id="contentElement" style="display:none;position: absolute;top:0px;left: 0px;">
+        <source src="http://rmcdn.2mdn.net/Demo/vast_inspector/android.mp4"/>
+        <source src="http://rmcdn.2mdn.net/Demo/vast_inspector/android.webm"/>
+    </video>
+    <div id="block-Box" style="display:block;width:100%;height:100%;"></div>
+</div>
+
+<div id="adContainer" style="display:none;position: absolute;top:0px;left: 0px;width:100%;height:100%;z-index:999;"></div>
+<div id="loadingText" style="width:100%;display: none;text-align:center;position:absolute;top:45%;z-index:2;font-size:20px;color:#f99f0a">
+    loading......0%
+</div>
+
+<div id="splash">
+    <!-- <div class="progress-bar stripes"> -->
+    <!-- <span style="width: 0%"></span> -->
+    <!-- </div> -->
+</div>
+
+<div id="loadingImg" style="top:45%;width: 100%;position:absolute; ">
+    <img src="res/loading.gif" width="7%" height="7%" alt=""/>
+</div>
+
+<!-- 判断浏览器是否屏蔽广告 -->
+<script src="http://demo.jb51.net/js/2015/adview_pic_cpc_cpm_cpa_guanggao_gg_ads_300x250.js" type="text/javascript"></script>
+<script type="text/javascript">
+    var killAdT = typeof (killads);
+    <!-- if (typeof(killads)=='undefined'){ -->
+    <!-- alert('广告被过滤'); -->
+    <!-- } -->
+</script>
+
+<!--<div align="center" style="font-size: 10px;color: dimgrey">advertisement</div>-->
+
+<script type="text/javascript" src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
+<script type="text/javascript" src="ads.js"></script>
+<script src="src/settings.js" charset="UTF-8"></script>
+
+<script type="text/javascript">
+    var preloader;
+    var adCompleteFlag = false;
+    var resCompleteFlag = false;
+    var adEndComplete = false;
+    var resEndComplete = false;
+    judgeLanTitle();
+
+    function judgeLanTitle() {
+        // console.log("window.navigator.language",window.navigator.language);
+        if (window.navigator.language == "zh-CN" || window.navigator.language == "zh-cn") {
+            document.title = "小游戏:合成大西瓜";
+        } else if (window.navigator.language == "zh-TW") {
+            document.title = "小遊戲:合成大西瓜";
+        } else if (window.navigator.language == "zh-HK") {
+            document.title = "小遊戲:合成大西瓜";
+        } else if (window.navigator.language == "ko-KR") {
+            document.title = "작은 놀이:큰 수박 을 합성 하 다";
+        } else if (window.navigator.language == "ja-JP") {
+            document.title = "ミニゲーム:合成スイカ";
+        } else if (window.navigator.language == "th-TH") {
+            document.title = "เกมเล็กๆ:แตงโมสังเคราะห์";
+        } else {
+            document.title = "Little game:Synthetic watermelon";
+        }
+    }
+
+    var loadintT = document.getElementById("loadingText");
+    var loadintGif = document.getElementById("loadingImg")
+    setTimeout(function () {
+        loadintGif.remove();
+        loadintT.style.display = ""
+        updateLabView(0.1);
+    }, 1 * 1000)
+
+    window.timer = null;
+    window.tempSeconds = 1;
+    window.loadData = {};
+    loadData.completedCount = 0;
+    loadData.totalCount = 0;
+
+    onload();
+
+    function onload() {
+        var winHeight = document.documentElement.clientHeight;
+        document.getElementById("canvasDiv").style.height = winHeight + "px";
+    }
+
+    window.onload = function () {
+        document.getElementById("block-Box").style.display = "none";
+    }
+
+    function updateLabView(t) {
+        if (timer != null) {
+            clearInterval(timer);
+        }
+        timer = setInterval(function () {
+            // tempSeconds++;
+            tempSeconds = 101;
+            actualTotal();
+            var loadintT = document.getElementById("loadingText")
+            if (!loadintT) {
+                return;
+            }
+            loadintT.innerHTML = 'loading......' + parseInt(tempSeconds) + '%';
+
+            switch (tempSeconds) {
+                case 20:
+                    updateLabView(0.2);
+                    break;
+                case 40:
+                    updateLabView(0.3);
+                    break;
+                case 60:
+                    updateLabView(0.4);
+                    break;
+                case 96:
+                    updateLabView(5);
+                    break;
+                case 97:
+                    updateLabView(10);
+                    break;
+                case 98:
+                    updateLabView(50);
+                    break;
+                case 99:
+                    updateLabView(100);
+                    break;
+                default:
+                    if (tempSeconds >= 80 && tempSeconds < 96) {
+                        updateLabView(t + 0.1);
+                    }
+                    break;
+            }
+            if (tempSeconds > 100) {
+                clearInterval(timer);
+                tempSeconds = 100
+                loadintT.innerHTML = 'loading......' + parseInt(tempSeconds) + '%';
+            }
+        }, t * 1000);
+    }
+
+    function actualTotal() {
+        var percent = parseInt(100 * loadData.completedCount / loadData.totalCount);
+        if (percent > tempSeconds && loadData.totalCount > 1) {
+            tempSeconds = percent;
+        }
+    }
+
+    /*setTimeout("ShowBannerAD()","2000");*/
+</script>
+
+<script src="src/settings.js" charset="utf-8"></script>
+<script src="main.js" charset="utf-8"></script>
+
+<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
+<!-- 暴力扣篮 -->
+<!-- <ins class="adsbygoogle"
+  style="position:absolute;border-top:5px #f0f0f1 solid;background:#f0f0f1;bottom:0px;z-index:1000;display:inline-block;min-width:320px;max-width:970px;width:100%;height:60px"
+ data-ad-client="ca-pub-3932234672445376"
+ data-ad-slot="7048809290"
+ ></ins>
+<script>
+ var ads = document.getElementsByClassName('adsbygoogle')[0];
+
+ if (document.body.clientHeight > 700){
+     ads.style.height = 80+'px';
+ }else{
+     ads.style.height = 60+'px';
+ }
+
+</script>
+
+<script>
+function ShowBannerAD(){
+    (adsbygoogle = window.adsbygoogle || []).push({});
+}
+
+</script> -->
+
+<script async data-ad-client="ca-pub-3932234672445376" data-ad-channel="7171445254" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
+
+<script>
+    window.adsbygoogle = window.adsbygoogle || [];
+    const adBreak = function (o) {
+        adsbygoogle.push(o);
+    }
+</script>
+
+<script type="text/javascript">
+    (function () {
+        // open web debugger console
+        if (typeof VConsole !== 'undefined') {
+            window.vConsole = new VConsole();
+        }
+
+        var splash = document.getElementById('splash');
+        splash.style.display = 'block';
+
+        console.log("indexlTextTTTT");
+
+        var cocos2d = document.createElement('script');
+        cocos2d.async = true;
+        cocos2d.src = window._CCSettings.debug ? 'cocos2d-js.js' : 'cocos2d-js-min.js';
+
+        var engineLoaded = function () {
+            document.body.removeChild(cocos2d);
+            cocos2d.removeEventListener('load', engineLoaded, false);
+            window.boot();
+        };
+        cocos2d.addEventListener('load', engineLoaded, false);
+        document.body.appendChild(cocos2d);
+    })();
+</script>
+</body>
+</html>

+ 277 - 0
main.js

@@ -0,0 +1,277 @@
+// QQPlay window need to be inited first
+if (false) {
+    BK.Script.loadlib('GameRes://libs/qqplay-adapter.js');
+}
+
+var loadingBool = true;
+var loadingNum = 0;
+window.boot = function() {
+
+    var settings = window._CCSettings;
+    window._CCSettings = undefined;
+
+    if (!settings.debug) {
+        var uuids = settings.uuids;
+
+        var rawAssets = settings.rawAssets;
+        var assetTypes = settings.assetTypes;
+        var realRawAssets = settings.rawAssets = {};
+        for (var mount in rawAssets) {
+            var entries = rawAssets[mount];
+            var realEntries = realRawAssets[mount] = {};
+            for (var id in entries) {
+                var entry = entries[id];
+                var type = entry[1];
+                // retrieve minified raw asset
+                if (typeof type === 'number') {
+                    entry[1] = assetTypes[type];
+                }
+                // retrieve uuid
+                realEntries[uuids[id] || id] = entry;
+            }
+        }
+
+        var scenes = settings.scenes;
+        for (var i = 0; i < scenes.length; ++i) {
+            var scene = scenes[i];
+            if (typeof scene.uuid === 'number') {
+                scene.uuid = uuids[scene.uuid];
+            }
+        }
+
+        var packedAssets = settings.packedAssets;
+        for (var packId in packedAssets) {
+            var packedIds = packedAssets[packId];
+            for (var j = 0; j < packedIds.length; ++j) {
+                if (typeof packedIds[j] === 'number') {
+                    packedIds[j] = uuids[packedIds[j]];
+                }
+            }
+        }
+
+        var subpackages = settings.subpackages;
+        for (var subId in subpackages) {
+            var uuidArray = subpackages[subId].uuids;
+            if (uuidArray) {
+                for (var k = 0, l = uuidArray.length; k < l; k++) {
+                    if (typeof uuidArray[k] === 'number') {
+                        uuidArray[k] = uuids[uuidArray[k]];
+                    }
+                }
+            }
+        }
+    }
+
+    function setLoadingDisplay() {
+        // Loading splash scene
+        var splash = document.getElementById('splash');
+        // var progressBar = splash.querySelector('.progress-bar span');
+
+
+
+        cc.loader.onProgress = function(completedCount, totalCount, item) {
+
+            loadData.completedCount = completedCount;
+            loadData.totalCount = totalCount;
+
+            if (loadingBool) {
+                var loadintT = document.getElementById("loadingText")
+            }
+            var percent = 100 * completedCount / totalCount;
+            if (loadingBool && loadingNum >= 1 && totalCount > 1) {
+                if (percent.toFixed(0) >= 100) {
+                    loadintT.innerHTML = 'loading......100' + '%';
+                    setTimeout(function() {
+                        loadingBool = false;
+                        loadintT.remove();
+                    }, 0.1 * 1000);
+                    clearInterval(timer);
+                }
+            }
+            loadingNum++;
+            // if(loadingBool){
+            // 	var loadintT = document.getElementById("loadingText")
+            // }
+            // var percent = 100 * completedCount / totalCount;
+            // if(loadingBool && loadingNum >= 1){
+            // 	   console.log("dskpi",loadingNum);
+            // 	   loadintT.innerHTML = 'loading......' + parseInt(percent)  + '%';
+            // 	   if(percent.toFixed(0) >= 100){
+
+            // 		   loadingBool = false;
+            // 		   loadintT.remove();
+            // 	   }
+            // }
+            // loadingNum ++;
+
+            // var percent = 100 * completedCount / totalCount;
+            // if (progressBar) {
+            // progressBar.style.width = percent.toFixed(2) + '%';
+            // }
+
+
+        };
+        splash.style.display = 'block';
+        // progressBar.style.width = '0%';
+
+        cc.director.once(cc.Director.EVENT_AFTER_SCENE_LAUNCH, function() {
+            splash.style.display = 'none';
+        });
+    }
+
+    var onStart = function() {
+
+        cc.loader.downloader._subpackages = settings.subpackages;
+
+        cc.view.enableRetina(true);
+        cc.view.resizeWithBrowserSize(true);
+
+        if (!false && !false) {
+
+            if (cc.sys.isBrowser) {
+                setLoadingDisplay();
+            }
+
+            if (cc.sys.isMobile) {
+                if (settings.orientation === 'landscape') {
+                    cc.view.setOrientation(cc.macro.ORIENTATION_LANDSCAPE);
+                } else if (settings.orientation === 'portrait') {
+                    cc.view.setOrientation(cc.macro.ORIENTATION_PORTRAIT);
+                }
+                // cc.view.enableAutoFullScreen([
+                //     cc.sys.BROWSER_TYPE_BAIDU,
+                //     cc.sys.BROWSER_TYPE_WECHAT,
+                //     cc.sys.BROWSER_TYPE_MOBILE_QQ,
+                //     cc.sys.BROWSER_TYPE_MIUI,
+                // ].indexOf(cc.sys.browserType) < 0);
+                cc.view.enableAutoFullScreen(false);
+            }
+
+            // Limit downloading max concurrent task to 2,
+            // more tasks simultaneously may cause performance draw back on some android system / browsers.
+            // You can adjust the number based on your own test result, you have to set it before any loading process to take effect.
+            if (cc.sys.isBrowser && cc.sys.os === cc.sys.OS_ANDROID) {
+                cc.macro.DOWNLOAD_MAX_CONCURRENT = 2;
+            }
+        }
+
+        // function loadScene(launchScene) {
+        // cc.director.loadScene(launchScene, null,
+        // function () {
+        // if (cc.sys.isBrowser) {
+        // // show canvas
+        // var canvas = document.getElementById('GameCanvas');
+        // canvas.style.visibility = '';
+        // var div = document.getElementById('GameDiv');
+        // if (div) {
+        // div.style.backgroundImage = '';
+        // }
+        // }
+        // cc.loader.onProgress = null;
+        // console.log('Success to load scene: ' + launchScene);
+        // }
+        // );
+
+        // }
+
+        var launchScene = settings.launchScene;
+
+        // load scene
+        // loadScene(launchScene);
+
+        var canvas;
+
+        if (cc.sys.isBrowser) {
+            canvas = document.getElementById('GameCanvas');
+        }
+        var launchScene = settings.launchScene;
+        console.log("landscape,", launchScene);
+        var MainManger = __require("MainManage");
+        MainManger.init(launchScene, cc.sys.isBrowser, canvas.style.visibility);
+
+
+
+
+
+
+    };
+
+    // jsList
+    var jsList = settings.jsList;
+
+    if (false) {
+        BK.Script.loadlib();
+    } else {
+        var bundledScript = settings.debug ? 'src/project.dev.js' : 'src/project.js';
+        if (jsList) {
+            jsList = jsList.map(function(x) {
+                return 'src/' + x;
+            });
+            jsList.push(bundledScript);
+        } else {
+            jsList = [bundledScript];
+        }
+    }
+
+    var option = {
+        id: 'GameCanvas',
+        scenes: settings.scenes,
+        debugMode: settings.debug ? cc.debug.DebugMode.INFO : cc.debug.DebugMode.ERROR,
+        showFPS: !false && settings.debug,
+        frameRate: 60,
+        jsList: jsList,
+        groupList: settings.groupList,
+        collisionMatrix: settings.collisionMatrix,
+    }
+
+    // init assets
+    cc.AssetLibrary.init({
+        libraryPath: 'res/import',
+        rawAssetsBase: 'res/raw-',
+        rawAssets: settings.rawAssets,
+        packedAssets: settings.packedAssets,
+        md5AssetsMap: settings.md5AssetsMap,
+        subpackages: settings.subpackages
+    });
+
+    cc.game.run(option, onStart);
+};
+
+// main.js is qqplay and jsb platform entry file, so we must leave platform init code here
+if (false) {
+    BK.Script.loadlib('GameRes://src/settings.js');
+    BK.Script.loadlib();
+    BK.Script.loadlib('GameRes://libs/qqplay-downloader.js');
+
+    var ORIENTATIONS = {
+        'portrait': 1,
+        'landscape left': 2,
+        'landscape right': 3
+    };
+    BK.Director.screenMode = ORIENTATIONS[window._CCSettings.orientation];
+    initAdapter();
+    cc.game.once(cc.game.EVENT_ENGINE_INITED, function() {
+        initRendererAdapter();
+    });
+
+    qqPlayDownloader.REMOTE_SERVER_ROOT = "";
+    var prevPipe = cc.loader.md5Pipe || cc.loader.assetLoader;
+    cc.loader.insertPipeAfter(prevPipe, qqPlayDownloader);
+
+    window.boot();
+} else if (window.jsb) {
+
+    var isRuntime = (typeof loadRuntime === 'function');
+    if (isRuntime) {
+        require('src/settings.js');
+        require('src/cocos2d-runtime.js');
+        require('jsb-adapter/engine/index.js');
+    } else {
+        require('src/settings.js');
+        require('src/cocos2d-jsb.js');
+        require('jsb-adapter/jsb-engine.js');
+    }
+
+    cc.macro.CLEANUP_IMAGE_CACHE = true;
+    window.boot();
+}

File diff suppressed because it is too large
+ 0 - 0
res/import/04/049f3a810.json


File diff suppressed because it is too large
+ 0 - 0
res/import/07/079499991.json


File diff suppressed because it is too large
+ 0 - 0
res/import/07/07ce7530a.json


File diff suppressed because it is too large
+ 0 - 0
res/import/0a/0ab855d50.json


+ 1 - 0
res/import/0d/0d669730c.json

@@ -0,0 +1 @@
+[{"__type__":"cc.EffectAsset","_name":"builtin-clear-stencil","techniques":[{"passes":[{"blendState":{"targets":[{"blend":true}]},"rasterizerState":{"cullMode":0},"program":"builtin-clear-stencil|vs|fs"}]}],"shaders":[{"hash":2380943059,"glsl3":{"vert":"\nprecision highp float;\n\nin vec3 a_position;\n\nvoid main () {\n  gl_Position = vec4(a_position, 1);\n}\n\n","frag":"\nprecision highp float;\n\nvoid main () {\n  gl_FragColor = vec4(1.0);\n}\n\n"},"glsl1":{"vert":"\nprecision highp float;\n\nattribute vec3 a_position;\n\nvoid main () {\n  gl_Position = vec4(a_position, 1);\n}\n\n","frag":"\nprecision highp float;\n\nvoid main () {\n  gl_FragColor = vec4(1.0);\n}\n\n"},"builtins":{"globals":{"blocks":[],"samplers":[]},"locals":{"blocks":[],"samplers":[]}},"defines":[],"blocks":[],"samplers":[],"dependencies":{},"name":"builtin-clear-stencil|vs|fs"}]},{"__type__":"cc.Material","_name":"builtin-clear-stencil","_effectAsset":{"__uuid__":"c0BAyVxX9JzZy8EjFrc9DU"},"_defines":{},"_props":{}}]

File diff suppressed because it is too large
+ 0 - 0
res/import/0e/0e4bc3b03.json


File diff suppressed because it is too large
+ 0 - 0
res/import/28/2874f8dd-416c-4440-81b7-555975426e93.json


+ 1 - 0
res/import/41/417a8a59-c0fc-4767-8be2-bf5124bb4b8d.json

@@ -0,0 +1 @@
+[{"__type__":"cc.Prefab","_name":"LinkIconSpr","data":{"__id__":1}},{"__type__":"cc.Node","_name":"IconSpr","_children":[{"__id__":2},{"__id__":3}],"_components":[{"__type__":"95474fr0oNDP7SAidILF03q","node":{"__id__":1},"iconSpr":{"__id__":2},"iconSpr1":{"__id__":3}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"41eopZwPxHZ4viv1Eku0uN"},"fileId":"26HCE6jlZH2JPlJysMpbFK"},"_contentSize":{"__type__":"cc.Size","width":55,"height":55},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"iconSpr","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"41eopZwPxHZ4viv1Eku0uN"},"fileId":"dfcxJv8x9NQ4rbq5mCpd2m"},"_contentSize":{"__type__":"cc.Size","width":55,"height":55},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"iconSpr1","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":3},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"41eopZwPxHZ4viv1Eku0uN"},"fileId":"df/Th35hhMw5m4XbK8Sp4o"},"_contentSize":{"__type__":"cc.Size","width":55,"height":55},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}]

+ 1 - 0
res/import/6f/6f801092-0c37-4f30-89ef-c8d960825b36.json

@@ -0,0 +1 @@
+{"__type__":"cc.Material","_name":"builtin-2d-base","_effectAsset":{"__uuid__":"28dPjdQWxEQIG3VVl1Qm6T"},"_defines":{},"_props":{}}

File diff suppressed because it is too large
+ 0 - 0
res/import/79/79eafaef-b7ef-45d9-9c3f-591dc836fc7a.json


+ 1 - 0
res/import/ec/eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432.json

@@ -0,0 +1 @@
+{"__type__":"cc.Material","_name":"builtin-2d-sprite","_effectAsset":{"__uuid__":"28dPjdQWxEQIG3VVl1Qm6T"},"_defines":{"USE_TEXTURE":true},"_props":{}}

BIN
res/loading.gif


BIN
res/raw-assets/00/00fc415f-8c49-4e58-877d-075cc11bae4a.png


BIN
res/raw-assets/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.png


BIN
res/raw-assets/03/03c33f55-5932-4ff7-896b-814ba3a8edb8.png


BIN
res/raw-assets/0c/0cbb3dbb-2a85-42a5-be21-9839611e5af7.png


BIN
res/raw-assets/13/132ded82-3e39-4e2e-bc34-fc934870f84c.png


BIN
res/raw-assets/13/137b8bd7-03dc-47be-94d1-efd7ac5d0a74.png


BIN
res/raw-assets/17/17e2847d-2998-4ef4-96d5-eefe31137c30.png


BIN
res/raw-assets/18/187640ff-894f-47fb-b3a1-874e0688f231.png


BIN
res/raw-assets/19/190ae658-5d64-44b1-ba46-6e85eb3063f9.png


BIN
res/raw-assets/2d/2d5160a3-03a4-4f60-9354-3b4e772008b1.png


BIN
res/raw-assets/3e/3e5fe49c-0083-4a31-b7e9-df83ffbaeab0.png


BIN
res/raw-assets/44/4482cf48-850b-4221-b0de-ae7559aeb54c.png


BIN
res/raw-assets/47/4756311b-4364-4160-bc7e-299876f49770.png


BIN
res/raw-assets/4b/4b19a79e-5566-42aa-bf99-75ec53f78a94.png


BIN
res/raw-assets/4b/4bbcda1e-9eb4-4f56-94f8-b72a7422260c.png


BIN
res/raw-assets/4e/4e19a181-af6e-4ef1-8adc-6babec1773c0.png


BIN
res/raw-assets/50/5035266c-8df3-4236-8d82-a375e97a0d9c.png


BIN
res/raw-assets/53/53e8e9ea-a7ad-4d7d-ba2f-2068f3e65ef6.png


BIN
res/raw-assets/55/55076d53-f1fd-40fd-97fc-3a14ca11a10a.png


BIN
res/raw-assets/55/554774b4-b2c1-4539-9786-b4e42401abc4.png


BIN
res/raw-assets/56/564ba620-6a55-4cbe-a5a6-6fa3edd80151.png


BIN
res/raw-assets/5f/5f932042-0f42-44fa-9f47-e3ea49850807.png


BIN
res/raw-assets/5f/5fa0264d-acbf-4a7b-8923-c106ec3b9215.png


BIN
res/raw-assets/64/643437d2-b6fa-406a-813d-568749e085d2.png


BIN
res/raw-assets/66/665a0ec9-6c43-4858-974c-025514f2a0e7.png


BIN
res/raw-assets/68/68241990-57fc-43aa-bf28-edc78c6808ff.png


BIN
res/raw-assets/69/69b660e0-4cf7-4586-af31-27cc48947b8d.png


BIN
res/raw-assets/6f/6f8e281b-5650-4b5e-a1fe-397521d705d0.png


BIN
res/raw-assets/74/74237057-2880-4e1f-8a78-6d8ef00a1f5f.png


BIN
res/raw-assets/80/8006b403-caef-4f84-9d19-f3aad560db3d.png


BIN
res/raw-assets/84/84bc9d40-83d0-480c-b46a-3ef59e603e14.png


BIN
res/raw-assets/85/856267d0-6891-4660-a28a-3eb110bf6395.png


BIN
res/raw-assets/86/868c3162-bc78-4c7f-a8a7-0cb2282700f6.png


BIN
res/raw-assets/86/86a35167-1a64-4346-ac38-44ea77b43861.png


BIN
res/raw-assets/8c/8c52a851-9969-4702-9997-0a2ca9f43773.png


BIN
res/raw-assets/8e/8e5d5af5-708e-4a2b-967d-5765b8411e4f.png


BIN
res/raw-assets/8e/8ea9800f-272d-4494-99d4-e53d5599eefe.png


BIN
res/raw-assets/95/954e1838-6f16-4b94-855a-e2edabe0a97b.png


BIN
res/raw-assets/97/9742ffbb-2412-47bd-bcbb-00967c943edb.png


BIN
res/raw-assets/9e/9ed91ad5-dc75-48f7-b1dd-30dc29048969.png


BIN
res/raw-assets/a5/a5313013-8d03-4fb7-8ef7-e940c227cc61.png


BIN
res/raw-assets/a7/a74390ae-6d68-48d1-ad36-f652a43b8694.mp3


BIN
res/raw-assets/a7/a798cd25-4145-4b0b-bffd-472f42977e9f.png


BIN
res/raw-assets/a7/a7de1099-ffab-450b-8db5-54b51514fd54.png


BIN
res/raw-assets/a8/a8027877-d8d6-4645-97a0-52d4a0123dba.png


BIN
res/raw-assets/a9/a98f13b0-c9f9-45c1-a728-466e72938bbc.png


BIN
res/raw-assets/ad/ad16ccdc-975e-4393-ae7b-8ac79c3795f2.png


BIN
res/raw-assets/ae/aed1aa25-ff42-45fd-a79c-f099e49de29e.png


BIN
res/raw-assets/b0/b0dd9862-1b33-4857-87f3-0d45f325f63b.png


BIN
res/raw-assets/b1/b139d8b5-98b3-441d-a0ef-3d1739a54f67.png


BIN
res/raw-assets/b3/b31f518e-342c-453f-8246-0e061947e3e6.png


BIN
res/raw-assets/b7/b791fe71-a679-4bb6-b434-89872b64590a.png


BIN
res/raw-assets/bb/bb54cc4f-da05-430f-be09-a0dab6473562.mp3


BIN
res/raw-assets/bb/bb85caad-191e-40b6-b95d-7eb5da61503f.png


BIN
res/raw-assets/bc/bcb2c9bc-a01c-409c-8984-4712446e1f05.png


BIN
res/raw-assets/bd/bd585caf-7451-49a1-b2c5-d0f89ed0c6bd.png


BIN
res/raw-assets/be/be48cbf7-99c4-4a84-8f46-d121ac8bd575.png


BIN
res/raw-assets/c1/c15f3ea5-f9a0-4e70-b5b3-565ede11df1c.png


BIN
res/raw-assets/c2/c21d0b8e-3640-486c-afb5-636deed5f6b8.png


BIN
res/raw-assets/cc/ccecca49-49b4-4c77-97cc-701fdb6f39d9.png


BIN
res/raw-assets/d0/d0c676e4-0956-4a03-90af-fee028cfabe4.png


BIN
res/raw-assets/d2/d2cb5a4f-1334-4eab-8578-a76aa028644e.mp3


BIN
res/raw-assets/d3/d314aef5-920d-44f4-aa26-423c3664acc6.mp3


BIN
res/raw-assets/d4/d4dbb246-a76f-470f-8c62-40758dc478f6.png


BIN
res/raw-assets/d7/d77514d7-e7ca-4c9e-b0f8-fe61b8e79382.png


BIN
res/raw-assets/db/dbdf0ff3-7b61-490f-955a-7984336c571a.png


BIN
res/raw-assets/e3/e3eb16da-9ad7-4234-9970-89162d72e3bf.png


BIN
res/raw-assets/e4/e49accbe-a5e2-4d4c-9249-4ce926d9b997.png


BIN
res/raw-assets/e5/e527d98d-fe10-4e39-a9fe-e600554e0c43.png


BIN
res/raw-assets/e9/e944e1cb-fa9f-48c7-90c4-c05fef3176fc.png


BIN
res/raw-assets/e9/e9c8144d-05c4-4201-b69a-1594a0888b1a.png


BIN
res/raw-assets/ea/ea74bb16-a964-4553-b051-74e2b6823e74.png


BIN
res/raw-assets/eb/ebc8d774-5965-416e-96f8-8b44c552570f.png


BIN
res/raw-assets/eb/ebdc0e91-9eb2-40b6-8211-5061a73bb542.png


BIN
res/raw-assets/f2/f26ac5a6-b8e1-480f-b741-cf0608b83bb0.mp3


BIN
res/raw-assets/ff/ff04abf0-e33f-4321-be10-9490ce3b6547.png


BIN
res/raw-assets/ff/ff18081c-bd9d-48b9-8459-f6916cd20c0e.png


BIN
res/share.jpg


BIN
singleColor.png


+ 3974 - 0
src/project.js

@@ -0,0 +1,3974 @@
+window.__require = function e(t, n, o) {
+    function c(i, r) {
+        if (!n[i]) {
+            if (!t[i]) {
+                var s = i.split("/");
+                if (s = s[s.length - 1], !t[s]) {
+                    var l = "function" == typeof __require && __require;
+                    if (!r && l) return l(s, !0);
+                    if (a) return a(s, !0);
+                    throw new Error("Cannot find module '" + i + "'")
+                }
+            }
+            var u = n[i] = {
+                exports: {}
+            };
+            t[i][0].call(u.exports, function(e) {
+                return c(t[i][1][e] || e)
+            }, u, u.exports, e, t, n, o)
+        }
+        return n[i].exports
+    }
+    for (var a = "function" == typeof __require && __require, i = 0; i < o.length; i++) c(o[i]);
+    return c
+}({
+    AddScore: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "68076EFnW1JeZUzdnbOOKNr", "AddScore");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../Common/Utils"),
+            i = cc._decorator,
+            r = i.ccclass,
+            s = i.property,
+            l = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.addSign = null, t.label = null, t
+                }
+                return o(t, e), t.prototype.SetScore = function(e) {
+                    this.label.string = e, this.scheduleOnce(function() {
+                        a.default.CenteredUi(0, this.addSign, this.label.node)
+                    }, 0)
+                }, c([s(cc.Node)], t.prototype, "addSign", void 0), c([s(cc.Label)], t.prototype, "label", void 0), t = c([r], t)
+            }(cc.Component);
+        n.default = l, cc._RF.pop()
+    }, {
+        "../Common/Utils": "Utils"
+    }],
+    AdjusWithHeight: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "0fe07DOz8VMcYKlDM2VxHhQ", "AdjusWithHeight");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc.Enum({
+                TOP: 0,
+                BOTTOM: 1
+            }),
+            i = cc._decorator,
+            r = i.ccclass,
+            s = i.property,
+            l = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.type = a.TOP, t.offset = 0, t
+                }
+                return o(t, e), t.prototype.onLoad = function() {
+                    var e = 0;
+                    e = this.type == a.TOP ? cc.winSize.height / 2 : -cc.winSize.height / 2, this.node.y = e + this.offset
+                }, c([s({
+                    type: cc.Enum(a),
+                    displayName: "AdjustType"
+                })], t.prototype, "type", void 0), c([s], t.prototype, "offset", void 0), t = c([r], t)
+            }(cc.Component);
+        n.default = l, cc._RF.pop()
+    }, {}],
+    AniTools: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "f05dbksdAdHtpW4ZpV1zW/T", "AniTools");
+        var o = {
+            doLabStrAni: function(e, t, n) {
+                e.node.stopAllActions(), e.string = "";
+                var o = t.split(""),
+                    c = 0,
+                    a = n / o.length;
+                e.node.runAction(cc.sequence(cc.callFunc(function() {
+                    e.string = e.string + o[c], c++
+                }), cc.delayTime(a)).repeat(o.length))
+            },
+            gunNumLabAni: function(e, t) {
+                var n = parseInt(e.string);
+                if (t != n) {
+                    var o = 0,
+                        c = t - n >= 50 ? 50 : t - n;
+                    e.node.runAction(cc.sequence(cc.callFunc(function() {
+                        o >= c - 1 ? e.string = t : (n++, e.string = n), o++
+                    }), cc.delayTime(.02)).repeat(c))
+                }
+            },
+            openUIAni: function(e, t, n, o) {
+                e.opacity = 0, t.scale = 0, e.runAction(cc.fadeTo(n, 100)), t.runAction(cc.sequence(cc.scaleTo(n, 1).easing(cc.easeBackOut()), cc.callFunc(o)))
+            },
+            closeUIAni: function(e, t, n, o) {
+                e.runAction(cc.fadeOut(n)), t.runAction(cc.sequence(cc.scaleTo(n, 0).easing(cc.easeBackIn()), cc.callFunc(o)))
+            },
+            fireColorArr: ["#F5CD4D", "#F77986", "#D0F057", "#7ACCE8", "#E365EE"],
+            fireworksAni: function(e, t, n, o) {
+                for (var c = 0; c < t; c++) {
+                    var a = ToolsJs.newSprite("fire" + this.returnRanNum(1, 4));
+                    a.scale = .3 + .5 * Math.random(), a.position = n, a.color = cc.color(this.fireColorArr[this.returnRanNum(0, this.fireColorArr.length - 1)]), e.addChild(a, 88);
+                    var i = this.returnRanNum(o - 15, o + 15),
+                        r = this.returnRanNum(300, 1e3);
+                    this.fireObjAni(a, i, r, 350, .005 * c)
+                }
+            },
+            fireObjAni: function(e, t, n, o) {
+                var c = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 0,
+                    a = .1 + .5 * Math.random();
+                e.runAction(cc.rotateBy(a, this.returnRanNum(-360, 360)).repeatForever());
+                var i = cc.misc.degreesToRadians(t),
+                    r = cc.v2(Math.cos(i) * n, Math.sin(i) * n),
+                    s = n / o;
+                e.runAction(cc.sequence(cc.delayTime(c), cc.jumpBy(s, cc.v2(1.5 * r.x, 0), n, 1), cc.removeSelf(!0)))
+            },
+            bombObjAni: function(e, t, n, o, c, a) {
+                t = t || this.returnRanNum(-180, 180);
+                var i = cc.misc.degreesToRadians(t),
+                    r = cc.v2(Math.cos(i) * n, Math.sin(i) * n),
+                    s = n / o,
+                    l = c ? 0 : e.scale,
+                    u = a ? 0 : 255;
+                e.runAction(cc.sequence(cc.spawn(cc.scaleTo(s + .1, l), cc.moveBy(s, r).easing(cc.easeQuadraticActionOut()), cc.fadeTo(s + .1, u)), cc.fadeOut(.1), cc.removeSelf(!0)))
+            },
+            playAni: function(e, t) {
+                e.getComponent(cc.Animation).play(t)
+            },
+            stopAni: function(e, t) {
+                e.getComponent(cc.Animation).stop(t)
+            },
+            addNodeAni: function(e, t, n, o, c, a, i) {
+                for (var r = e.getComponent(cc.Animation), s = [], l = o; l <= c; l++) {
+                    var u = new cc.SpriteFrame(cc.url.raw("resources/" + t + l + ".png"));
+                    s.push(u)
+                }
+                var d = cc.AnimationClip.createWithSpriteFrames(s, 5);
+                d.name = n, d.speed = i, d.wrapMode = a ? cc.WrapMode.Loop : cc.WrapMode.Normal, r.addClip(d)
+            },
+            returnRanNum: function(e, t) {
+                return e + Math.floor(Math.random() * (t - e + 1))
+            }
+        };
+        window.AniTools = o, cc._RF.pop()
+    }, {}],
+    AudioManager: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "3db2d9MuTtO8JRQKnPm9kfu", "AudioManager");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc._decorator,
+            i = a.ccclass,
+            r = a.property,
+            s = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.audioClip = [], t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this
+                }, t.prototype.Play = function(e, t, n) {
+                    cc.audioEngine.play(this.audioClip[e], t, n)
+                }, t.prototype.StopAll = function() {
+                    cc.audioEngine.stopAllEffects()
+                }, t.Instance = null, c([r({
+                    type: cc.AudioClip
+                })], t.prototype, "audioClip", void 0), t = n = c([i], t)
+            }(cc.Component);
+        n.default = s, cc._RF.pop()
+    }, {}],
+    AutoDestroy: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "aa0f5e77Z9FXJ3DrgQcqASi", "AutoDestroy");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../Common/PoolManager"),
+            i = cc._decorator,
+            r = i.ccclass,
+            s = i.property,
+            l = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.label = null, t.text = "hello", t.plane = null, t
+                }
+                return o(t, e), t.prototype.start = function() {
+                    this.plane = cc.find("Canvas/playerNode/plane")
+                }, t.prototype.update = function(e) {
+                    if (this.plane.y - this.node.y >= this.node.height + cc.winSize.height / 2) {
+                        for (var t = 0; t < 3; t++) this.node.children[t].removeComponent(cc.BoxCollider);
+                        a.default.Despawn(this.node.name, this.node)
+                    }
+                }, c([s(cc.Label)], t.prototype, "label", void 0), c([s], t.prototype, "text", void 0), t = c([r], t)
+            }(cc.Component);
+        n.default = l, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager"
+    }],
+    DataManager: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "fd2c5sUJdNElqycZdmzNC7g", "DataManager");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc._decorator,
+            i = a.ccclass,
+            r = a.property,
+            s = function() {
+                return function() {
+                    this.isFirstPlay = !0, this.score = 0, this.highScore = 0, this.goldCount = 0, this.playLevel = 1, this.maxFruitId = 2, this.successful = !1, this.currentLevelInfo = null, this.playCount = 0, this.guideTime = 0
+                }
+            }(),
+            l = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.gameName = "DefaultName", t.playerData = null, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this, n.Instance.playerData = JSON.parse(cc.sys.localStorage.getItem(this.gameName + "playerData11")), null == this.playerData && (this.playerData = new s, this.playerData.isFirstPlay = !0, this.playerData.score = 0, this.playerData.highScore = 0, this.playerData.goldCount = 0, this.playerData.playCount = 0, n.Instance.Save())
+                }, t.prototype.SetguideTime = function() {
+                    this.playerData.guideTime += 1, this.Save
+                }, t.prototype.GetguideTime = function() {
+                    return this.playerData.guideTime
+                }, t.prototype.SetLevel = function() {
+                    this.playerData.playLevel += 1, this.Save()
+                }, t.prototype.GetLevel = function() {
+                    return this.playerData.playLevel
+                }, t.prototype.GetCurrentLevelInfo = function() {
+                    return this.playerData.currentLevelInfo
+                }, t.prototype.SetCurrentLevelInfo = function(e) {
+                    this.playerData.currentLevelInfo = e, this.Save()
+                }, t.prototype.SetPlayerFirstPlay = function(e) {
+                    this.playerData.isFirstPlay = e, this.Save()
+                }, t.prototype.GetFirstPlay = function() {
+                    return this.playerData.isFirstPlay
+                }, t.prototype.SetPlayerGold = function(e) {
+                    this.playerData.goldCount = e, this.Save()
+                }, t.prototype.GetPlayerGold = function() {
+                    return this.playerData.goldCount
+                }, t.prototype.SetPlayerScore = function(e) {
+                    this.playerData.score = e, this.Save()
+                }, t.prototype.GetPlayerScore = function() {
+                    return this.playerData.score
+                }, t.prototype.SetPlayerHighScore = function(e) {
+                    this.playerData.highScore = e, this.Save()
+                }, t.prototype.GetPlayerHighScore = function() {
+                    return this.playerData.highScore
+                }, t.prototype.SetMaxFruitId = function(e) {
+                    this.playerData.maxFruitId = e, this.Save()
+                }, t.prototype.getMaxFruitId = function() {
+                    return this.playerData.maxFruitId
+                }, t.prototype.GetSuccessful = function() {
+                    return this.playerData.successful
+                }, t.prototype.SetSuccessful = function(e) {
+                    this.playerData.successful = e, this.Save()
+                }, t.prototype.GetPlayCount = function() {
+                    return this.playerData.playCount
+                }, t.prototype.SetPlayCount = function() {
+                    this.playerData.playCount += 1, this.Save()
+                }, t.prototype.ClearData = function() {
+                    this.playerData.playLevel = 1, this.Save()
+                }, t.prototype.Load = function() {
+                    n.Instance.playerData = JSON.parse(cc.sys.localStorage.getItem(this.gameName + "playerData11"))
+                }, t.prototype.Save = function() {
+                    cc.sys.localStorage.setItem(this.gameName + "playerData11", JSON.stringify(n.Instance.playerData))
+                }, t.Instance = null, c([r], t.prototype, "gameName", void 0), t = n = c([i], t)
+            }(cc.Component);
+        n.default = l, cc._RF.pop()
+    }, {}],
+    DynamicLoad: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "c6f04DncqhJIoWmE4UojNVj", "DynamicLoad");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc._decorator,
+            i = a.ccclass,
+            r = a.property,
+            s = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.adsbutton = [], t.adsbutton2 = [], t.caidia = [], t.fllows = [], t.fruit = [], t.guozhiZ = [], t.guozhiL = [], t.fruitL = [], t.TGColors = [], t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this
+                }, t.prototype.start = function() {
+                    this.TGColors.push("f43df7", "ef4126", "6ff814", "32cdf9", "fff02c", "f43df7", "fb4626", "6ff814", "50f7f0", "fff02c")
+                }, t.Instance = null, c([r(cc.SpriteFrame)], t.prototype, "adsbutton", void 0), c([r(cc.SpriteFrame)], t.prototype, "adsbutton2", void 0), c([r(cc.SpriteFrame)], t.prototype, "caidia", void 0), c([r(cc.SpriteFrame)], t.prototype, "fllows", void 0), c([r(cc.SpriteFrame)], t.prototype, "fruit", void 0), c([r(cc.SpriteFrame)], t.prototype, "guozhiZ", void 0), c([r(cc.SpriteFrame)], t.prototype, "guozhiL", void 0), c([r(cc.SpriteFrame)], t.prototype, "fruitL", void 0), t = n = c([i], t)
+            }(cc.Component);
+        n.default = s, cc._RF.pop()
+    }, {}],
+    EffectCenter: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "e94b9uwJsJB94QZmqCRpyTe", "EffectCenter");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../Common/Utils"),
+            i = e("../Common/PoolManager"),
+            r = e("../Common/SpriteManager"),
+            s = e("../common/DynamicLoad"),
+            l = e("./AudioManager"),
+            u = cc._decorator,
+            d = u.ccclass,
+            p = u.property,
+            f = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.bgEffect = null, t.downEffectPartiParent = null, t.upEffectPartiParent = null, t.uiEffectParent = null, t.cameraNode = null, t.fireLightNode = null, t.effectTxtParent = null, t.bgEffectParent = null, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this
+                }, t.prototype.LightOEffect = function(e) {
+                    var t = i.default.Spawn("lightEffect", this.upEffectPartiParent);
+                    t.position = e, t.scale = .2, t.runAction(cc.sequence(cc.scaleTo(.3, 1.2), cc.fadeOut(.3))), t.children[0].runAction(cc.spawn(cc.moveBy(.5, -65, 65), cc.fadeOut(.6))), t.children[1].runAction(cc.spawn(cc.moveBy(.5, 65, -65), cc.fadeOut(.6))), t.children[2].runAction(cc.spawn(cc.moveBy(.5, -65, -65), cc.fadeOut(.6))), t.children[3].runAction(cc.spawn(cc.moveBy(.5, 65, 65), cc.fadeOut(.6)))
+                }, t.prototype.MilkEffect = function(e, t) {
+                    var n = i.default.Spawn("milk", this.downEffectPartiParent);
+                    n.color = (new cc.Color).fromHEX(s.default.Instance.TGColors[t % 10]), n.position = e, n.scale = .3, n.runAction(cc.sequence(cc.scaleTo(.3, 1), cc.fadeOut(.3)))
+                }, t.prototype.FireLight = function() {
+                    this.fireLightNode.stopAllActions(), this.fireLightNode.opacity = 0, this.fireLightNode.runAction(cc.sequence(cc.fadeTo(.11, 180).easing(cc.easeCubicActionIn()), cc.fadeTo(.18, 0)))
+                }, t.prototype.SendGoldCoin = function(e, t, n) {
+                    var o = Math.floor(a.default.Random(8, 12));
+                    o = e;
+                    for (var c = a.default.ConvertPosition(t, this.uiEffectParent), r = a.default.ConvertPosition(n, this.uiEffectParent).sub(cc.v2(0, 0)), s = 0; s < o; s++) {
+                        var l = i.default.Spawn("Diamond");
+                        l.parent = this.uiEffectParent, l.position = c, l.scale = .7;
+                        var u = c.add(cc.v2(a.default.Random(-60, 60), a.default.Random(-60, 60))),
+                            d = cc.jumpTo(.3, u, a.default.Random(30, 150), 1),
+                            p = cc.sequence(d, cc.moveBy(.06, cc.v2(0, 10)), cc.moveBy(.06, cc.v2(0, -10))),
+                            f = r.sub(c),
+                            h = (cc.v2(u), cc.v2(a.default.Random(-300, 300), f.y * a.default.Random(.2, .8)), cc.v2(r)),
+                            m = cc.moveTo(.3, h).easing(cc.easeBackIn());
+                        l.runAction(cc.sequence(p, cc.delayTime(.05), m, cc.callFunc(function(e) {
+                            i.default.Despawn("Diamond", e)
+                        }, this)))
+                    }
+                }, t.prototype.SendGoldCoin2 = function(e, t) {
+                    for (var n = Math.floor(a.default.Random(5, 8)), o = a.default.ConvertPosition(e, this.uiEffectParent), c = a.default.ConvertPosition(t, this.uiEffectParent).sub(cc.v2(0, 0)), r = 0; r < n; r++) {
+                        var s = i.default.Spawn("DiamondIcon");
+                        s.parent = this.uiEffectParent, s.position = o;
+                        var l = .07 * r;
+                        s.runAction(cc.sequence(cc.delayTime(l), cc.moveTo(.7, c), cc.callFunc(function(e) {
+                            i.default.Despawn("DiamondIcon", e)
+                        }, this)))
+                    }
+                }, t.prototype.ShakeCamera = function(e, t, n) {
+                    this.cameraNode.stopAllActions()
+                }, t.prototype.AddScoreEffect = function(e, t) {
+                    var n = i.default.Spawn("AddScore");
+                    n.parent = this.upEffectPartiParent, n.getComponent("AddScore").SetScore(e), n.position = t, n.runAction(cc.fadeIn(.2)), n.runAction(cc.sequence(cc.moveBy(.5, cc.v2(0, 40)), cc.delayTime(.7), cc.fadeOut(.3), cc.callFunc(function() {
+                        i.default.Despawn("AddScore", n)
+                    }, this)))
+                }, t.prototype.BloodBoom = function(e, t, n) {
+                    for (var o = a.default.RandomInteger(t, n), c = 0; c < o; c++) {
+                        var r = cc.instantiate(i.default.GetPrefab("Star"));
+                        r.parent = this.downEffectPartiParent, r.position = e, r.scale = a.default.Random(.4, .8);
+                        var s = e.add(cc.v2(a.default.Random(-64, 64), a.default.Random(-30, -90))),
+                            l = a.default.Random(.5, .55),
+                            u = a.default.Random(20, 90);
+                        r.runAction(cc.sequence(cc.jumpTo(l, s, u, 1), cc.delayTime(1), cc.callFunc(function(e) {
+                            e.stopAllActions(), e.destroy()
+                        }, this))), r.runAction(cc.sequence(cc.delayTime(.5 * l), cc.fadeOut(.5 * l)))
+                    }
+                }, t.prototype.StepCloud = function(e, t) {
+                    for (var n = a.default.RandomInteger(3, 6), o = 0; o < n; o++) {
+                        var c = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        c.node.parent = this.downEffectPartiParent, c.node.position = t.add(cc.v2(a.default.Random(-40, 40), a.default.Random(-15, 15))), c.Reset(), c.SetSprite(r.default.Instance.GetSpriteFrame("cloud"));
+                        var s = a.default.RandomInteger(0, 100) < 50 ? 1 : -1;
+                        c.node.scale = a.default.Random(.2 * s, .6 * s), c.node.opacity = a.default.Random(150, 180);
+                        var l = cc.v2(a.default.Random(-10, 10), a.default.Random(-10, 10));
+                        c.node.runAction(cc.sequence(cc.delayTime(.2), cc.fadeOut(.3))), c.node.runAction(cc.sequence(cc.moveBy(.5, l), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)))
+                    }
+                }, t.prototype.EnemyDeadEFF = function(e) {
+                    for (var t = a.default.RandomInteger(10, 15), n = 0; n < t; n++) {
+                        var o = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        o.node.parent = this.downEffectPartiParent, o.Reset(), o.node.position = e;
+                        var c = r.default.Instance.GetSpriteFrame("star");
+                        Math.floor(20 * a.default.Random(.3, 1.6));
+                        32, o.SetSprite(c, cc.v2(32, 32)), o.node.scale = a.default.Random(.5, 1.5);
+                        var s = cc.v2(0, 1);
+                        s.rotateSelf(a.default.AngleToRadian(360 * Math.random()));
+                        var l = a.default.Random(20, 85);
+                        o.node.position.add(s.mul(a.default.Random(0, 30)));
+                        var u = a.default.Random(.3, .36);
+                        o.node.runAction(cc.sequence(cc.delayTime(.2 * u), cc.scaleTo(.8 * u, a.default.Random(.1, .3)))), o.node.runAction(cc.sequence(cc.moveBy(u, s.mul(l)).easing(cc.easeCubicActionOut()), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)))
+                    }
+                    var d = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                    d.node.parent = this.downEffectPartiParent, d.Reset(), d.node.position = e, d.SetSprite(r.default.Instance.GetSpriteFrame("whiteCircle"), cc.v2(150, 150)), d.node.opacity = 200, d.node.scale = 0, d.node.runAction(cc.scaleTo(.32, 1)), d.node.runAction(cc.sequence(cc.delayTime(.2), cc.fadeOut(.1), cc.callFunc(function(e) {
+                        i.default.Despawn("EffectSprite", e)
+                    }, this)))
+                }, t.prototype.StarFishDead = function(e) {
+                    for (var t = a.default.RandomInteger(20, 26), n = 0; n < t; n++) {
+                        var o = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        o.node.parent = this.downEffectPartiParent, o.Reset(), o.node.position = e;
+                        var c = r.default.Instance.GetSpriteFrame("bubbleW");
+                        Math.floor(20 * a.default.Random(.3, 1.6));
+                        32, o.SetSprite(c, cc.v2(32, 32)), o.node.scale = a.default.Random(.3, 1.6);
+                        var s = cc.v2(0, 1);
+                        s.rotateSelf(a.default.AngleToRadian(360 * Math.random()));
+                        var l = a.default.Random(80, 120);
+                        o.node.position.add(s.mul(a.default.Random(0, 30)));
+                        var u = a.default.Random(.3, .36);
+                        o.node.runAction(cc.sequence(cc.delayTime(u * a.default.Random(.1, .3)), cc.scaleTo(.8 * u, a.default.Random(.1, .3)))), o.node.runAction(cc.sequence(cc.moveBy(u, s.mul(l)).easing(cc.easeCubicActionOut()), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)))
+                    }
+                }, t.prototype.PutEFF = function(e, t) {
+                    for (var n = a.default.RandomInteger(15, 20), o = 0; o < n; o++) {
+                        var c = i.default.Spawn("EffectSprite");
+                        c.parent = this.upEffectPartiParent;
+                        var s = c.getComponent("EffectSprite");
+                        s.Reset();
+                        var l = r.default.Instance.GetSpriteFrame("ball");
+                        s.SetSprite(l, cc.v2(18, 18)), c.setPosition(e.x + 80 * Math.random() - 40, e.y + 80 * Math.random() - 40), c.setScale(.5 * Math.random() + .5), c.opacity = 150 * Math.random() + 50, c.color = t;
+                        var u = 360 * Math.random() * Math.PI / 180,
+                            d = 46 + 46 * Math.random(),
+                            p = cc.v2(e.x + Math.sin(u) * d, e.y + Math.cos(u) * d);
+                        c.runAction(cc.sequence(cc.spawn(cc.moveTo(.8, p).easing(cc.easeCircleActionOut()), cc.scaleTo(.8 * a.default.Random(.5, 1), 0).easing(cc.easeCircleActionIn())), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)))
+                    }
+                }, t.prototype.LevelUpEff = function(e, t) {
+                    for (var n = a.default.RandomInteger(27, 36), o = 0; o < n; o++) {
+                        var c = i.default.Spawn("EffectSprite");
+                        c.parent = this.downEffectPartiParent;
+                        var s = c.getComponent("EffectSprite");
+                        s.Reset();
+                        var l = r.default.Instance.GetSpriteFrame("flower");
+                        s.SetSprite(l, cc.v2(32, 32)), c.setPosition(e.x + 90 * Math.random() - 45, e.y + 90 * Math.random() - 45), c.setScale(.55 * Math.random() + .7), c.opacity = 160 * Math.random() + 70;
+                        var u = 360 * Math.random() * Math.PI / 180,
+                            d = 60 + 80 * Math.random(),
+                            p = cc.v2(e.x + Math.sin(u) * d, e.y + Math.cos(u) * d);
+                        c.runAction(cc.sequence(cc.spawn(cc.moveTo(.8, p).easing(cc.easeCircleActionOut()), cc.scaleTo(.8 * a.default.Random(.5, 1), 0).easing(cc.easeCircleActionIn())), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)))
+                    }
+                }, t.prototype.PortDownEff = function(e) {
+                    for (var t = a.default.RandomInteger(12, 15), n = 0; n < t; n++) {
+                        var o = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        o.node.parent = this.downEffectPartiParent, o.Reset(), o.SetSprite(r.default.Instance.GetSpriteFrame("ball"), cc.v2(48, 48)), o.node.scale = a.default.Random(.6, 1), o.node.opacity = a.default.RandomInteger(120, 250), o.node.position = e.add(cc.v2(a.default.Random(-25, 25)));
+                        var c = cc.v2(0, a.default.Random(30, 80)).rotate(a.default.AngleToRadian(a.default.Random(0, 360))),
+                            s = cc.moveBy(.7, c),
+                            l = cc.scaleTo(.6, 0),
+                            u = cc.fadeOut(.5);
+                        o.node.runAction(cc.spawn(s, l)), o.node.runAction(cc.sequence(cc.delayTime(.2), u, cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)))
+                    }
+                }, t.prototype.ShootFlower = function() {
+                    l.default.Instance.Play(10, !1, 1);
+                    var e = [
+                        [360, -50],
+                        [-360, -50],
+                        [360, -120],
+                        [-360, -120]
+                    ];
+                    cc.log(1);
+                    for (var t = 0; t < e.length; t++) {
+                        if (e[t][0] >= 0) var n = 1;
+                        else n = -1;
+                        for (var o = 0; o < 40; o++) {
+                            var c = i.default.Spawn("star", this.upEffectPartiParent);
+                            c.position = cc.v2(e[t][0], e[t][1]), c.scale = a.default.Random(.7, 1), c.getComponent(cc.Sprite).spriteFrame = s.default.Instance.caidia[a.default.RandomInteger(0, 6)];
+                            var r = c.position,
+                                u = r.x + a.default.Random(.5 * -cc.winSize.width, .05 * -cc.winSize.width) * n,
+                                d = r.y + a.default.Random(100, 500),
+                                p = cc.v2(r.x + .8 * (u - r.x), r.y + .5 * (d - r.y) + 200);
+                            c.runAction(cc.sequence(cc.spawn(cc.bezierTo(1, [r, p, cc.v2(u, d)]).easing(cc.easeCircleActionOut()), cc.moveBy(2.8, 0, 1.2 * -cc.winSize.height * a.default.Random(.8, 1.2)).easing(cc.easeCubicActionIn()), cc.moveBy(2.8, a.default.Random(0, -300) * n, 0), cc.rotateBy(2, a.default.Random(360, 720) * (2 * Math.round(Math.random()) - 1)), cc.sequence(cc.moveBy(2 * (.1 * Math.random() + .3), (25 * Math.random() + 25) * (2 * Math.round(Math.random()) - 1), 0), cc.moveBy(2 * (.1 * Math.random() + .3), (25 * Math.random() + 25) * (2 * Math.round(Math.random()) - 1), 0), cc.moveBy(2 * (.1 * Math.random() + .3), (25 * Math.random() + 25) * (2 * Math.round(Math.random()) - 1), 0))), cc.callFunc(function(e, t) {
+                                i.default.Despawn("star", e)
+                            }, this, this)))
+                        }
+                    }
+                }, t.prototype.HitWood = function(e) {
+                    for (var t = a.default.RandomInteger(20, 26), n = 0; n < t; n++) {
+                        var o = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        o.node.parent = this.downEffectPartiParent, o.Reset(), o.node.position = e;
+                        var c = r.default.Instance.GetSpriteFrame("ball1");
+                        Math.floor(20 * a.default.Random(.3, 1.6));
+                        28, o.SetSprite(c, cc.v2(28, 28)), o.node.scale = a.default.Random(.3, 1.6);
+                        var s = cc.v2(0, 1);
+                        s.rotateSelf(a.default.AngleToRadian(360 * Math.random()));
+                        var l = a.default.Random(80, 120);
+                        o.node.position.add(s.mul(a.default.Random(0, 30)));
+                        var u = a.default.Random(.3, .36);
+                        o.node.runAction(cc.sequence(cc.delayTime(u * a.default.Random(.1, .3)), cc.scaleTo(.8 * u, a.default.Random(.1, .3)))), o.node.runAction(cc.sequence(cc.moveBy(u, s.mul(l)).easing(cc.easeCubicActionOut()), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)))
+                    }
+                }, t.prototype.StarBoom = function(e) {
+                    for (var t = function(t) {
+                            var o = i.default.Spawn("lightEffect").getComponent("EffectSprite");
+                            o.node.parent = n.bgEffectParent, o.node.position = e, o.Reset(), o.SetSprite(r.default.Instance.GetSpriteFrame("star"), cc.v2(32, 32)), o.node.color = new cc.Color(254, 236, 180);
+                            var c = cc.v2(0, 100).rotate(a.default.AngleToRadian(30 * t));
+                            o.node.runAction(cc.sequence(cc.moveBy(.45, c), cc.callFunc(function() {
+                                i.default.Despawn("lightEffect", o.node)
+                            }, n))), o.node.runAction(cc.rotateBy(.45, 360)), o.node.runAction(cc.sequence(cc.delayTime(.225), cc.scaleTo(.225, .4)))
+                        }, n = this, o = 0; o < 12; o++) t(o)
+                }, t.prototype.GhostBornEff = function(e) {
+                    for (var t = a.default.RandomInteger(100, 101), n = 0; n < t; n++) {
+                        var o = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        o.node.parent = this.downEffectPartiParent, o.Reset(), o.node.position = e, o.node.opacity = 0, o.node.color = new cc.Color(220, 220, 220);
+                        var c = r.default.Instance.GetSpriteFrame("cloud");
+                        Math.floor(20 * a.default.Random(.4, 1.6));
+                        80, o.SetSprite(c, cc.v2(80, 80)), o.node.scale = a.default.Random(.6, 1.3), o.node.angle = a.default.Random(0, 360);
+                        var s = cc.v2(0, 1);
+                        s.rotateSelf(a.default.AngleToRadian(360 * Math.random()));
+                        var l = a.default.Random(20, 280);
+                        o.node.position.add(s.mul(a.default.Random(0, 30)));
+                        var u = a.default.Random(1, 1.3),
+                            d = a.default.Random(.01, .012) * n;
+                        o.node.runAction(cc.sequence(cc.delayTime(d), cc.delayTime(.6 * u), cc.fadeOut(.4 * u))), o.node.opacity = 0, o.node.runAction(cc.sequence(cc.delayTime(d), cc.fadeTo(.1, a.default.Random(120, 240)))), o.node.runAction(cc.sequence(cc.delayTime(d), cc.moveBy(u, s.mul(l)).easing(cc.easeCubicActionOut()), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)));
+                        a.default.Random(0, 100)
+                    }
+                }, t.prototype.LittleFly = function(e) {
+                    for (var t = a.default.RandomInteger(24, 33), n = 0; n < t; n++) {
+                        var o = cc.instantiate(i.default.GetPrefab("LittleFly"));
+                        o.parent = this.bgEffectParent, o.position = e;
+                        var c = o.getComponent("RandomFly");
+                        c.SetId(a.default.RandomInteger(1, 5)), c.fadeTicker = a.default.Random(2, 3.5), c.mosquitoSpeedLen = a.default.RandomInteger(6, 12), c.mosquitoSpeedMaxR = a.default.RandomInteger(6, 12), c.startFun()
+                    }
+                }, t.prototype.JuiceBoom = function(e, t) {
+                    for (var n = 0; n < 6; n++) {
+                        var o = i.default.Spawn("JuiceParticle");
+                        o.parent = this.downEffectPartiParent, o.position = e.add(cc.v2(a.default.Random(-50, 50), 0)), o.scale = a.default.Random(.3, 1), o.color = t;
+                        var c = cc.v2(0, 1);
+                        c = c.rotate(a.default.AngleToRadian(a.default.Random(-60, 60)));
+                        var r = a.default.Random(60, 100),
+                            s = cc.moveBy(.3, c.mul(r));
+                        o.runAction(s), o.runAction(cc.sequence(cc.delayTime(.05), cc.scaleTo(.25, a.default.Random(.1, .2)))), o.runAction(cc.sequence(cc.delayTime(.2), cc.fadeOut(.1)))
+                    }
+                }, t.prototype.createBlood = function(e) {
+                    for (var t = 0; t < 3; t++) {
+                        var n = i.default.Spawn("EffectSprite");
+                        n.parent = this.downEffectPartiParent;
+                        var o = n.getComponent("EffectSprite");
+                        o.Reset(), n.position = e, n.scale = 0, o.SetSprite(r.default.Instance.GetSpriteFrame("ball"), cc.v2(20, 20)), o.node.color = (new cc.Color).fromHEX("#AD0909"), n.setContentSize(a.default.RandomInteger(16, 18), a.default.RandomInteger(16, 18)), n.runAction(cc.sequence(cc.delayTime(.5 * t), cc.delayTime(.5), cc.scaleTo(.1, 0))), n.runAction(cc.sequence(cc.delayTime(.4 * t), cc.scaleTo(.3, 1), cc.moveBy(.6, cc.v2(0, -180)), cc.callFunc(function() {}, n)))
+                    }
+                }, t.prototype.LightBoomAndMove = function(e, t) {
+                    for (var n = a.default.RandomInteger(32, 43), o = 0; o < n; o++) {
+                        var c = cc.instantiate(i.default.GetPrefab("Lightning"));
+                        c.parent = this.downEffectPartiParent, c.position = e, c.opacity = 0, c.setContentSize(120, 120), c.scale = a.default.Random(.3, 1.3);
+                        var r = cc.v2(0, 1);
+                        r.rotateSelf(a.default.AngleToRadian(360 * Math.random()));
+                        var s = a.default.Random(30, 120);
+                        c.position.add(r.mul(a.default.Random(0, 30)));
+                        var l = a.default.Random(.9, 1.2),
+                            u = a.default.Random(.05, .15);
+                        c.runAction(cc.sequence(cc.delayTime(u), cc.delayTime(l * a.default.Random(.1, .3)), cc.scaleTo(.8 * l, a.default.Random(.2, .3)))), c.opacity = 0, c.runAction(cc.sequence(cc.delayTime(u), cc.fadeTo(.08, a.default.Random(160, 240)))), c.runAction(cc.sequence(cc.delayTime(u), cc.moveBy(l, r.mul(s)).easing(cc.easeCubicActionOut()), cc.callFunc(function(e) {
+                            e.stopAllActions(), e.destroy()
+                        }, this)));
+                        var d = a.default.Random(0, 100) < 50 ? 1 : -1;
+                        c.runAction(cc.sequence(cc.delayTime(u), cc.rotateBy(l, a.default.Random(180, 200) * d)))
+                    }
+                }, t.prototype.RecoveryPigment = function(e) {
+                    for (var t = a.default.RandomInteger(6, 7), n = 0; n < t; n++) {
+                        var o = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        o.node.parent = this.downEffectPartiParent, o.Reset(), o.node.opacity = 0;
+                        var c = r.default.Instance.GetSpriteFrame("skull");
+                        o.SetSprite(c, cc.v2(40, 40)), o.node.position = e.add(cc.v2(a.default.Random(-55, 55), a.default.Random(-15, 40)));
+                        var s = a.default.Random(.4, 1),
+                            l = a.default.Random(1, 1.2),
+                            u = a.default.Random(.07, .09) * n;
+                        o.node.runAction(cc.sequence(cc.delayTime(.75 * l), cc.fadeOut(.25 * l), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this))), o.node.runAction(cc.sequence(cc.delayTime(u), cc.spawn(cc.fadeIn(.15), cc.scaleTo(.15, s), cc.moveBy(l, cc.v2(0, 90 * l)))))
+                    }
+                }, t.prototype.WinkJump = function(e) {
+                    for (var t = a.default.RandomInteger(16, 17), n = 0; n < t; n++) {
+                        var o = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        o.node.parent = this.upEffectPartiParent, o.Reset(), o.SetSprite(r.default.Instance.GetSpriteFrame("wink"), cc.v2(110, 110)), o.node.scale = a.default.Random(.3, 1.2), o.node.opacity = a.default.RandomInteger(170, 250), o.node.position = e.add(cc.v2(a.default.Random(-30, 30), a.default.Random(-30, 30)));
+                        var c = cc.v2(a.default.Random(-150, 150), a.default.Random(20, -60));
+                        c = cc.v2(o.node.position.add(c));
+                        var s = a.default.Random(1, 1.2),
+                            l = cc.jumpTo(s, c, a.default.Random(120, 120), 1),
+                            u = a.default.Random(0, 100) < 50 ? 1 : -1,
+                            d = cc.rotateBy(s, a.default.Random(200, 300) * u),
+                            p = cc.fadeOut(.2 * s);
+                        o.node.runAction(cc.spawn(l, d)), o.node.runAction(cc.sequence(cc.delayTime(.8 * s), p, cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)))
+                    }
+                }, t.prototype.RightSelect = function(e, t) {
+                    for (var n = a.default.RandomInteger(20, 23), o = 0; o < n; o++) {
+                        var c = i.default.Spawn("EffectSprite").getComponent("EffectSprite");
+                        c.node.parent = this.downEffectPartiParent, c.Reset(), c.node.position = e, c.node.opacity = 0;
+                        var s = r.default.Instance.GetSpriteFrame("star");
+                        Math.floor(20 * a.default.Random(.4, 1.5));
+                        64, c.SetSprite(s, cc.v2(64, 64)), c.node.scale = a.default.Random(.3, 1.6);
+                        var l = cc.v2(0, 1);
+                        l.rotateSelf(a.default.AngleToRadian(360 * Math.random()));
+                        var u = a.default.Random(20, t);
+                        c.node.position.add(l.mul(a.default.Random(0, 30)));
+                        var d = a.default.Random(.9, 1.2),
+                            p = a.default.Random(.05, .3);
+                        p = a.default.Random(.005, .015) * o, c.node.runAction(cc.sequence(cc.delayTime(p), cc.delayTime(d * a.default.Random(.1, .3)), cc.scaleTo(.8 * d, a.default.Random(.2, .3)))), c.node.opacity = 0, c.node.runAction(cc.sequence(cc.delayTime(p), cc.fadeTo(.08, a.default.Random(160, 240)))), c.node.runAction(cc.sequence(cc.delayTime(p), cc.moveBy(d, l.mul(u)).easing(cc.easeCubicActionOut()), cc.callFunc(function(e) {
+                            i.default.Despawn("EffectSprite", e)
+                        }, this)));
+                        var f = a.default.Random(0, 100) < 50 ? 1 : -1;
+                        c.node.runAction(cc.sequence(cc.delayTime(p), cc.rotateBy(d, a.default.Random(220, 260) * f)))
+                    }
+                }, t.prototype.ShowLandParti = function(e, t) {
+                    for (var n = t, o = [cc.v2(e.x - 8, e.y + 50), cc.v2(e.x + 8, e.y + 50)], c = 0; c < o.length; c++) {
+                        if (o[c].x < e.x) var r = -1;
+                        else r = 1;
+                        for (var s = 0; s < n; s++) {
+                            var l = i.default.Spawn("dieParticle");
+                            l.parent = this.upEffectPartiParent, l.stopAllActions(), l.opacity = 255, l.scale = a.default.Random(.5, 1);
+                            var u = o[c];
+                            l.setPosition(u);
+                            var d = cc.v2(a.default.RandomInteger(0, 80) * r, a.default.RandomInteger(0, 50)),
+                                p = a.default.RandomInteger(180, 360) * r,
+                                f = a.default.RandomInteger(20, 40);
+                            l.runAction(cc.sequence(cc.spawn(cc.sequence(cc.jumpBy(12 / f, d, f, 1), cc.moveBy(5 / f, cc.v2(0, 0))), cc.rotateTo(15 / f, p)), cc.callFunc(function(e) {}, this)))
+                        }
+                    }
+                }, t.prototype.ShowLandParti1 = function(e, t) {
+                    for (var n = t, o = [cc.v2(e.x - 8, e.y), cc.v2(e.x + 8, e.y)], c = 0; c < o.length; c++) {
+                        if (o[c].x < e.x) var r = -1;
+                        else r = 1;
+                        for (var s = 0; s < n; s++) {
+                            var l = i.default.Spawn("youqi");
+                            l.parent = this.upEffectPartiParent, l.stopAllActions(), l.opacity = 255, l.scale = a.default.Random(.2, .5);
+                            var u = o[c];
+                            l.setPosition(u);
+                            var d = cc.v2(a.default.RandomInteger(0, 80) * r, a.default.RandomInteger(0, 50)),
+                                p = a.default.RandomInteger(180, 360) * r,
+                                f = a.default.RandomInteger(20, 40);
+                            l.runAction(cc.sequence(cc.spawn(cc.sequence(cc.jumpBy(12 / f, d, f, 1), cc.spawn(cc.moveBy(5 / f, cc.v2(0, -30)), cc.fadeOut(5 / f))), cc.rotateTo(15 / f, p)), cc.callFunc(function(e) {
+                                i.default.Despawn("youqi", e)
+                            }, this)))
+                        }
+                    }
+                }, t.prototype.GhostTouchPlayer = function(e) {
+                    for (var t = [cc.v2(e.x - 40, e.y), cc.v2(e.x + 40, e.y)], n = 0; n < t.length; n++) {
+                        if (t[n].x < e.x) var o = -1;
+                        else o = 1;
+                        for (var c = 0; c < 15; c++) {
+                            var s = i.default.Spawn("EffectSprite");
+                            s.parent = this.upEffectPartiParent;
+                            var l = s.getComponent("EffectSprite");
+                            l.Reset();
+                            var u = cc.v2(18, 18);
+                            l.SetSprite(r.default.Instance.GetSpriteFrame("ball"), u), s.color = cc.color(120, 120, 120), s.stopAllActions(), s.opacity = 255, s.scale = a.default.Random(.6, 1);
+                            var d = t[n];
+                            s.setPosition(d);
+                            var p = cc.v2(a.default.RandomInteger(-5, 54) * o, a.default.RandomInteger(-20, 20)),
+                                f = a.default.RandomInteger(180, 360) * o,
+                                h = a.default.RandomInteger(15, 45);
+                            s.runAction(cc.sequence(cc.spawn(cc.sequence(cc.jumpBy(12 / h, p, h, 1), cc.spawn(cc.moveBy(5 / h, cc.v2(0, -30)), cc.fadeOut(5 / h))), cc.rotateTo(15 / h, f)), cc.callFunc(function(e) {
+                                i.default.Despawn("EffectSprite", e)
+                            }, this)))
+                        }
+                    }
+                }, t.Instance = null, c([p(cc.Node)], t.prototype, "bgEffect", void 0), c([p(cc.Node)], t.prototype, "downEffectPartiParent", void 0), c([p(cc.Node)], t.prototype, "upEffectPartiParent", void 0), c([p(cc.Node)], t.prototype, "uiEffectParent", void 0), c([p(cc.Node)], t.prototype, "cameraNode", void 0), c([p(cc.Node)], t.prototype, "fireLightNode", void 0), c([p(cc.Node)], t.prototype, "effectTxtParent", void 0), c([p(cc.Node)], t.prototype, "bgEffectParent", void 0), t = n = c([d], t)
+            }(cc.Component);
+        n.default = f, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager",
+        "../Common/SpriteManager": "SpriteManager",
+        "../Common/Utils": "Utils",
+        "../common/DynamicLoad": "DynamicLoad",
+        "./AudioManager": "AudioManager"
+    }],
+    EffectSprite: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "44d58DM3EZDh45gxc2rlMFX", "EffectSprite");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("./PoolManager"),
+            i = cc._decorator,
+            r = i.ccclass,
+            s = i.property,
+            l = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.cameraUrl = "Canvas/mainCamera", t.startWork = !1, t.camera = null, t.stateCheck = !1, t
+                }
+                return o(t, e), t.prototype.onLoad = function() {
+                    this.camera = cc.find(this.cameraUrl)
+                }, t.prototype.update = function(e) {
+                    this.stateCheck && null != this.camera && (!this.startWork && this.InScreen() && (this.startWork = !0), this.startWork && !this.InScreen() && a.default.Despawn("EffectSprite", this.node))
+                }, t.prototype.Reset = function() {
+                    this.startWork = !1, this.stateCheck = !1, this.node.anchorX = .5, this.node.anchorY = .5, this.node.opacity = 255, this.node.angle = 0, this.node.scale = 1, this.node.color = cc.Color.WHITE, this.node.getComponent(cc.Sprite).sizeMode = cc.Sprite.SizeMode.TRIMMED, this.node.stopAllActions(), this.unscheduleAllCallbacks()
+                }, t.prototype.SetSprite = function(e, t) {
+                    void 0 === t && (t = null), this.node.getComponent(cc.Sprite).spriteFrame = e, null != t && this.node.setContentSize(t.x, t.y)
+                }, t.prototype.SetTargetCamera = function(e) {
+                    this.camera = e
+                }, t.prototype.SwitchStateCheck = function(e) {
+                    this.stateCheck = e
+                }, t.prototype.InScreen = function() {
+                    var e = this.camera.x + cc.winSize.width / 2,
+                        t = this.camera.x - cc.winSize.width / 2,
+                        n = this.camera.y + cc.winSize.height / 2,
+                        o = this.camera.y - cc.winSize.height / 2;
+                    return this.node.x < e + this.node.width / 2 && this.node.x > t - this.node.width / 2 && this.node.y < n + this.node.height / 2 && this.node.y > o + this.node.height / 2
+                }, c([s(cc.String)], t.prototype, "cameraUrl", void 0), t = c([r], t)
+            }(cc.Component);
+        n.default = l, cc._RF.pop()
+    }, {
+        "./PoolManager": "PoolManager"
+    }],
+    FailedUi: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "78235dKIMdFVqcEjSP7q4OM", "FailedUi");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("./GameManager"),
+            i = e("../Common/Utils"),
+            r = e("./MainGameUi"),
+            s = e("../common/PlayerInfo"),
+            l = cc._decorator,
+            u = l.ccclass,
+            d = l.property,
+            p = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.clickMask = null, t.failedUiBox = null, t.di = null, t.levelTxt = null, t.guan = null, t.continueTip = null, t.scoreLabel = null, t.highScoreNode = null, t.highScore = null, t.highScoreLabel = null, t.resultTxt = null, t.overTxt = null, t.moreGameBtn = null, t.reStartBtn = null, t.failedBoxPos = cc.v2(0, -500), t.standardScore = 0, t.canClick = !1, t.bgMask = null, t.bencichengji = null, t.bencichengjiarr = [], t.gengduoyouxi = null, t.gengduoyouxiarr = [], t.adsButton2 = null, t.bannerButton = null, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this, this.clickMask.setContentSize(cc.winSize.width, cc.winSize.height), this.bgMask.setContentSize(cc.winSize.width, cc.winSize.height), this.failedUiBox.y = cc.winSize.height / 2 + this.failedUiBox.height / 2
+                }, t.prototype.start = function() {
+                    var e = i.default.returnCurrentLanType();
+                    1 != e && (this.bencichengji.getComponent(cc.Sprite).spriteFrame = this.bencichengjiarr[e - 1], this.gengduoyouxi.getComponent(cc.Sprite).spriteFrame = this.gengduoyouxiarr[e - 1]), this.continueTip.getComponent(cc.Label).string = 1 == e ? "\u70b9\u51fb\u7ee7\u7eed" : 2 == e ? "\u9ede\u64ca\u7e7c\u7e8c" : 4 == e ? "\ud074\ub9ad \ud558\uc5ec \uacc4\uc18d" : "Click Continue", this.reStartBtn.runAction(cc.repeatForever(cc.sequence(cc.scaleTo(.5, 1.1), cc.scaleTo(.55, 1), cc.delayTime(.5)))), cc.tween(this.moreGameBtn).to(.5, {
+                        scale: 1.1
+                    }).to(.5, {
+                        scale: 1
+                    }).union().repeatForever().start(), cc.tween(this.adsButton2).to(1, {
+                        scale: .8
+                    }).to(1, {
+                        scale: .9
+                    }).union().repeatForever().start()
+                }, t.prototype.update = function(e) {}, t.prototype.adsButtonFunc2 = function() {
+                    // window.location.href = "https://activity.doumobfour.club/horse?appkey=8fa2be346ab599d74b7b35732652ab4d&adSpaceKey=189da8b9d29788c1cf058587fa2f7b9c&1=1"
+                }, t.prototype.bannerButtonFunc = function() {
+                    // window.location.href = "https://interaction.clotfun.online/horse?appkey=8fa2be346ab599d74b7b35732652ab4d&adSpaceKey=1baa3dd0d2eeb6e18a5f7a6d6e410e1a&from=H5&1=1"
+                }, t.prototype.ShowFailedUi = function(e, t) {
+                    var n = this;
+                    this.scheduleOnce(function() {
+                        r.default.Instance.HideScorePanel(), n.levelTxt.string = r.default.Instance.level.toString(), n.scoreLabel.string = s.default.score.toString(), n.highScoreLabel.string = t, n.resultTxt.string = n.GetContentByScore(e), n.overTxt.string = "\u5f53\u524d\u5173\u5361\u5df2\u5b8c\u6210" + Math.floor(r.default.Instance.nowYQ / r.default.Instance.passlevelYQ * 100) + "%", n.canClick = !1, n.levelTxt.string = e, n.bgMask.runAction(cc.fadeTo(.36, 150)), n.scheduleOnce(function() {
+                            i.default.CenteredUi(10, this.di, this.levelTxt.node, this.guan), this.failedUiBox.y = cc.winSize.height / 2 + this.failedUiBox.height / 2, this.failedUiBox.runAction(cc.sequence(cc.moveTo(.36, this.failedBoxPos).easing(cc.easeBackOut()), cc.callFunc(function() {
+                                this.clickMask.on(cc.Node.EventType.TOUCH_START, this.OnClickCloseMask, this), this.moreGameBtn.on(cc.Node.EventType.TOUCH_START, this.OnClickMoreGame, this), this.continueTip.opacity = 0, this.continueTip.runAction(cc.repeatForever(cc.sequence(cc.fadeIn(.5), cc.delayTime(.5), cc.fadeOut(.5)))), this.canClick = !0
+                            }, this)))
+                        }, 0)
+                    }, .5)
+                }, t.prototype.HideFailedUi = function() {
+                    this.canClick = !1;
+                    var e = cc.v2(0, cc.winSize.height / 2 + this.failedUiBox.height / 2);
+                    this.failedUiBox.runAction(cc.moveTo(.3, e).easing(cc.easeBackIn()))
+                }, t.prototype.OnClickCloseMask = function() {
+                    this.canClick && 0 == cc.find("Canvas/uiEffectPanel").childrenCount && a.default.Instance.RestartGame()
+                }, t.prototype.OnClickMoreGame = function() {
+                    this.canClick && (this.moreGameBtn.off(cc.Node.EventType.TOUCH_START, this.OnClickMoreGame, this), this.canClick = !1, this.moreGameBtn.runAction(cc.sequence(cc.scaleTo(.1, 1.1), cc.scaleTo(.1, 1))), this.scheduleOnce(function() {
+                        window.location.href = "http://m.wesane.com/"
+                    }, .15))
+                }, t.prototype.GetContentByScore = function(e) {
+                    var t = Math.ceil(e / 1500 * 94);
+                    t > 94 && (t = 94);
+                    var n = 5 + t;
+                    return "\u51fb\u8d25\u4e86\u5168\u7403" + n + "%\u7684\u73a9\u5bb6\uff01", ["\u51fb\u8d25\u4e86\u5168\u7403" + n + "%\u7684\u73a9\u5bb6\uff01", "\u64ca\u6557\u4e86\u5168\u7403" + n + "%\u7684\u73a9\u5bb6\uff01", "Beat " + n + " % of global players", "\uc804 \uc138\uacc4" + n + "% \uc758 \uc720 \uc800 \ub97c \uc774 \uacbc \uc2b5 \ub2c8 \ub2e4"][i.default.returnCurrentLanType() - 1]
+                }, t.Instance = null, c([d(cc.Node)], t.prototype, "clickMask", void 0), c([d(cc.Node)], t.prototype, "failedUiBox", void 0), c([d(cc.Node)], t.prototype, "di", void 0), c([d(cc.Label)], t.prototype, "levelTxt", void 0), c([d(cc.Node)], t.prototype, "guan", void 0), c([d(cc.Node)], t.prototype, "continueTip", void 0), c([d(cc.Label)], t.prototype, "scoreLabel", void 0), c([d(cc.Node)], t.prototype, "highScoreNode", void 0), c([d(cc.Node)], t.prototype, "highScore", void 0), c([d(cc.Label)], t.prototype, "highScoreLabel", void 0), c([d(cc.Label)], t.prototype, "resultTxt", void 0), c([d(cc.Label)], t.prototype, "overTxt", void 0), c([d(cc.Node)], t.prototype, "moreGameBtn", void 0), c([d(cc.Node)], t.prototype, "reStartBtn", void 0), c([d(cc.Vec2)], t.prototype, "failedBoxPos", void 0), c([d], t.prototype, "standardScore", void 0), c([d(cc.Node)], t.prototype, "bgMask", void 0), c([d(cc.Node)], t.prototype, "bencichengji", void 0), c([d(cc.SpriteFrame)], t.prototype, "bencichengjiarr", void 0), c([d(cc.Node)], t.prototype, "gengduoyouxi", void 0), c([d(cc.SpriteFrame)], t.prototype, "gengduoyouxiarr", void 0), c([d(cc.Node)], t.prototype, "adsButton2", void 0), c([d(cc.Node)], t.prototype, "bannerButton", void 0), t = n = c([u], t)
+            }(cc.Component);
+        n.default = p, cc._RF.pop()
+    }, {
+        "../Common/Utils": "Utils",
+        "../common/PlayerInfo": "PlayerInfo",
+        "./GameManager": "GameManager",
+        "./MainGameUi": "MainGameUi"
+    }],
+    GameConfig: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "f0663sWtfNKCKOL+Hvnt0cI", "GameConfig");
+        var o = {
+            GameClubButton: null,
+            GameScene: null,
+            launchScene: null,
+            Bros: null,
+            caS: null,
+            MAIN_MENU_NUM: "Classic",
+            gameScore: 0,
+            standScore: 30,
+            GAME_OVER_BOOL: !0,
+            publicGameBool: !1,
+            ranLinkData: null,
+            recGameData: null,
+            InfoData: null,
+            endShow0: null,
+            endShow1: null,
+            endShow2: null,
+            endShow3: null,
+            infoGameName: null,
+            showText: null,
+            startText: null,
+            moreGameText: null,
+            playAgainText: null,
+            playNum: 0,
+            noTouchBool: !0,
+            returnRanNum: function(e, t) {
+                return e + Math.floor(Math.random() * (t - e + 1))
+            }
+        };
+        t.exports = o, cc._RF.pop()
+    }, {}],
+    GameFunction: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "922f3dsGCZCHbXJvwDr0rdF", "GameFunction");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../common/PlayerInfo"),
+            i = e("./MainGameUi"),
+            r = e("../Common/PoolManager"),
+            s = e("../Common/Utils"),
+            l = e("./GameManager"),
+            u = e("./AudioManager"),
+            d = e("../common/DynamicLoad"),
+            p = cc._decorator,
+            f = p.ccclass,
+            h = p.property,
+            m = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.bgLayer = null, t.bgCamera = null, t.mainCamera = null, t.fruitNode = null, t.lineNode = null, t.bazieffect = null, t.downEffect = null, t.fruitPre = null, t.fruitS = [], t.step = 0, t.guideTime = 0, t.targetFruit = null, t.fruitHeigth = -1200, t.endOne = 0, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this, a.default.playerTouch = !0, a.default.score = 0, a.default.knifeStatic = "Idle", a.default.knifeLR = 1, a.default.GameUpdateCtrl = !0
+                }, t.prototype.start = function() {
+                    a.default.playNum, a.default.bgNumber >= 3 && (a.default.bgNumber = 0), a.default.bgNumber++, a.default.playNum++, cc.tween(this.lineNode.children[0]).to(.3, {
+                        opacity: 255
+                    }).to(.3, {
+                        opacity: 0
+                    }).union().repeatForever().start(), this.lineNode.children[0].active = !1, this.fruitS = ["PuTaoS", "YingTaoS", "JuZiS", "NingMengS", "MiHouTaoS", "XiHongShiS", "TaoS", "BoLuoS", "YeZiS", "XiGuaS"], this.createOneFruit(0)
+                }, t.prototype.update = function(e) {
+                    a.default.GameUpdateCtrl, this.lineNode.children[0].y - n.Instance.fruitHeigth < 100 && this.lineNode.children[0].y - n.Instance.fruitHeigth >= 0 && (this.lineNode.children[0].active = !0), this.lineNode.children[0].y - n.Instance.fruitHeigth > 100 && (this.lineNode.children[0].active = !1)
+                }, t.prototype.end = function() {
+                    var e = this;
+                    if (0 == this.endOne) {
+                        for (var t = 0, n = function(n) {
+                                setTimeout(function() {
+                                    e.createFruitL(e.fruitNode.children[n].getComponent("fruitData").fruitNumber, e.fruitNode.children[n].position, e.fruitNode.children[n].width), a.default.score += e.fruitNode.children[n].getComponent("fruitData").fruitNumber + 1, i.default.Instance.SetScoreTween(a.default.score), e.fruitNode.children[n].active = !1
+                                }, 100 * ++t)
+                            }, o = this.fruitNode.children.length - 1; o >= 0; o--) n(o);
+                        this.lineNode.active = !0;
+                        for (var c = 1; c < this.lineNode.children.length; c++) this.lineNode.children[c].active = !1;
+                        a.default.GameUpdateCtrl = !1, this.scheduleOnce(function() {
+                            l.default.Instance.ToEnd()
+                        }, 4), this.endOne++
+                    }
+                }, t.prototype.testEnd = function() {
+                    var e = this;
+                    if (this.lineNode.children[0].y - n.Instance.fruitHeigth < -20 && 0 == this.endOne) {
+                        for (var t = 0; t < this.fruitNode.children.length; t++) this.fruitNode.children[t].removeComponent(cc.PhysicsCircleCollider), this.fruitNode.children[t].removeComponent(cc.RigidBody);
+                        for (var o = function(t) {
+                                setTimeout(function() {
+                                    e.createFruitL(e.fruitNode.children[t].getComponent("fruitData").fruitNumber, e.fruitNode.children[t].position, e.fruitNode.children[t].width), a.default.score += e.fruitNode.children[t].getComponent("fruitData").fruitNumber + 1, i.default.Instance.SetScoreTween(a.default.score), e.fruitNode.children[t].active = !1
+                                }, 100 * t)
+                            }, c = 0; c < this.fruitNode.children.length; c++) o(c);
+                        this.lineNode.active = !0;
+                        for (t = 1; t < this.lineNode.children.length; t++) this.lineNode.children[t].active = !1;
+                        a.default.GameUpdateCtrl = !1, this.scheduleOnce(function() {
+                            l.default.Instance.ToEnd()
+                        }, 4), this.endOne++
+                    }
+                }, t.prototype.findHighestFruit = function() {
+                    for (var e = this.fruitNode.children[0].y, t = 1; t < this.fruitNode.children.length; t++) {
+                        var n = this.fruitNode.children[t].y + this.fruitNode.children[t].width / 2;
+                        e < n && (e = n)
+                    }
+                    return e
+                }, t.prototype.createOneFruit = function(e) {
+                    var t = this,
+                        n = cc.instantiate(this.fruitPre);
+                    n.parent = this.lineNode, n.getComponent(cc.Sprite).spriteFrame = d.default.Instance.fruit[e], n.children[0].getComponent(cc.Sprite).spriteFrame = d.default.Instance.fruit[e], n.getComponent("fruitData").fruitNumber = e, n.position = this.lineNode.children[1].position, n.scale = 0, n.getComponent(cc.RigidBody).type = cc.RigidBodyType.Static, n.getComponent(cc.PhysicsCircleCollider).radius = 0, n.getComponent(cc.PhysicsCircleCollider).apply(), cc.tween(n).to(.5, {
+                        scale: 1
+                    }, {
+                        easing: "backOut"
+                    }).call(function() {
+                        t.targetFruit = n
+                    }).start()
+                }, t.prototype.createLevelUpFruit = function(e, t) {
+                    var o = cc.instantiate(this.fruitPre);
+                    o.parent = this.fruitNode, o.getComponent(cc.Sprite).spriteFrame = d.default.Instance.fruit[e], o.children[0].getComponent(cc.Sprite).spriteFrame = d.default.Instance.fruit[e], o.getComponent("fruitData").fruitNumber = e, o.position = t, o.scale = 0, o.getComponent(cc.RigidBody).linearVelocity = cc.v2(0, -100), o.getComponent(cc.PhysicsCircleCollider).radius = o.height / 2, o.getComponent(cc.PhysicsCircleCollider).apply(), cc.tween(o).to(.5, {
+                        scale: 1
+                    }, {
+                        easing: "backOut"
+                    }).call(function() {
+                        null != o.getComponent(cc.PhysicsCircleCollider) && (o.getComponent(cc.PhysicsCircleCollider).radius = o.height / 2, o.getComponent(cc.RigidBody).type = cc.RigidBodyType.Dynamic, o.getComponent(cc.PhysicsCircleCollider).apply())
+                    }).start(), n.Instance.fruitHeigth = n.Instance.findHighestFruit()
+                }, t.prototype.createFruitSui = function(e, t) {}, t.prototype.createFruitL = function(e, t, n) {
+                    u.default.Instance.Play(3, !1, .5), u.default.Instance.Play(6, !1, .3);
+                    for (var o = 0; o < 10; o++) {
+                        var c = r.default.Spawn("juicePre", this.downEffect);
+                        c.getComponent(cc.Sprite).spriteFrame = d.default.Instance.fruitL[e];
+                        var a = 359 * Math.random(),
+                            i = 30 * Math.random() + n / 2,
+                            l = cc.v2(Math.sin(a * Math.PI / 180) * i, Math.cos(a * Math.PI / 180) * i);
+                        c.scale = .5 * Math.random() + n / 100;
+                        var p = .5 * Math.random();
+                        c.position = t, c.runAction(cc.sequence(cc.spawn(cc.moveBy(p, l), cc.scaleTo(p + .5, .3), cc.rotateBy(p + .5, s.default.RandomInteger(-360, 360))), cc.fadeOut(.1), cc.callFunc(function() {
+                            h.active = !1
+                        }, this)))
+                    }
+                    for (var f = 0; f < 20; f++) {
+                        var h = r.default.Spawn("juicePre", this.downEffect);
+                        h.getComponent(cc.Sprite).spriteFrame = d.default.Instance.guozhiL[e], h.active = !0;
+                        a = 359 * Math.random(), i = 30 * Math.random() + n / 2, l = cc.v2(Math.sin(a * Math.PI / 180) * i, Math.cos(a * Math.PI / 180) * i);
+                        h.scale = .5 * Math.random() + n / 100;
+                        p = .5 * Math.random();
+                        h.position = t, h.runAction(cc.sequence(cc.spawn(cc.moveBy(p, l), cc.scaleTo(p + .5, .3)), cc.fadeOut(.1), cc.callFunc(function() {
+                            h.active = !1
+                        }, this)))
+                    }
+                    var m = r.default.Spawn("juicePre", this.downEffect);
+                    m.getComponent(cc.Sprite).spriteFrame = d.default.Instance.guozhiZ[e], m.position = t, m.scale = 0, m.angle = s.default.RandomInteger(0, 360), m.runAction(cc.sequence(cc.spawn(cc.scaleTo(.2, n / 150), cc.fadeOut(1)), cc.callFunc(function() {
+                        m.active = !1
+                    })))
+                }, t.prototype.levelUpEffect = function() {
+                    for (var e = 0; e < 25; e++) {
+                        var t = r.default.Spawn("lightEffect", this.downEffect);
+                        t.scale = .3 * Math.random() + .2, t.opacity = 210;
+                        var n = 360 * Math.random() * Math.PI / 180,
+                            o = 20 * Math.random(),
+                            c = 35 + 60 * Math.random(),
+                            a = cc.v2(Math.sin(n) * (o + c), Math.cos(n) * (o + c));
+                        cc.tween(t).to(.8, {
+                            position: a,
+                            angle: s.default.getRandomNum(180, 360, !0),
+                            opacity: s.default.getRandomNum(.4, .8)
+                        }, {
+                            easing: "cubicOut"
+                        }).then(cc.removeSelf(!0))
+                    }
+                }, t.prototype.conboHit = function(e) {
+                    var t = this;
+                    u.default.Instance.Play(5, !1, .5);
+                    var n = r.default.Spawn("addScore", this.bazieffect);
+                    n.position = cc.v2(0, -200), n.scale = .2, n.children[0].getComponent(cc.Label).string = e, n.runAction(cc.sequence(cc.spawn(cc.scaleTo(.3, 1), cc.moveBy(.3, 0, 200), cc.rotateBy(.3, 720), cc.callFunc(function() {
+                        t.getScore(10 * e, cc.v2(0, -200), .8, .5)
+                    })), cc.fadeOut(.5))), this.levelUpEffect()
+                }, t.prototype.getScore = function(e, t, n, o) {
+                    var c = r.default.Spawn("score", this.bazieffect);
+                    c.position = t, c.scale = .2, c.children[1].getComponent(cc.Label).string = e, c.runAction(cc.sequence(cc.spawn(cc.scaleTo(.3, n), cc.moveBy(.3, 0, 150), cc.rotateBy(.3, 720)), cc.fadeOut(o)))
+                }, t.prototype.ribbonEffect = function(e) {
+                    u.default.Instance.Play(3, !1, 1);
+                    for (var t = s.default.getRandomNum(80, 100), n = 0; n < t; n++) {
+                        var o = r.default.Spawn("star", this.bazieffect);
+                        o.getComponent(cc.Sprite).spriteFrame = d.default.Instance.fllows[s.default.getRandomNum(0, 5, !0)], o.position = e;
+                        e.x;
+                        o.setScale(s.default.getRandomNum(.7, 1));
+                        var c = 360 * Math.random() * Math.PI / 180,
+                            a = 360 * Math.random(),
+                            i = cc.v2(o.x + Math.sin(c) * a, o.y + Math.cos(c) * a + 150);
+                        cc.v2(i.x, i.y + 100);
+                        o.runAction(cc.sequence(cc.spawn(cc.moveTo(.255, i).easing(cc.easeCubicActionOut()), cc.scaleTo(.255, 1 * Math.random() + .5), cc.moveBy(4.25, cc.v2(0, .8 * -cc.winSize.height - Math.random() * cc.winSize.height)), cc.rotateBy(4.25, (1800 * Math.random() + 1200) * (Math.random() > .5 ? 1 : -1)), cc.sequence(cc.moveBy(.17 * (8 * Math.random() + 6), cc.v2((100 * Math.random() + 100) * (Math.random() > .5 ? -1 : 1), 0)), cc.moveBy(.17 * (8 * Math.random() + 6), cc.v2((100 * Math.random() + 100) * (Math.random() > .5 ? -1 : 1), 0)), cc.moveBy(.17 * (8 * Math.random() + 6), cc.v2((100 * Math.random() + 100) * (Math.random() > .5 ? -1 : 1), 0))), cc.sequence(cc.delayTime(.17 * s.default.getRandomNum(20, 24.5)), cc.fadeOut(.17))), cc.removeSelf(!0)))
+                    }
+                }, t.prototype.ShowLandParti = function(e, t) {
+                    for (var n = t, o = [cc.v2(e.position.x - 8, e.position.y), cc.v2(e.position.x + 8, e.position.y)], c = 0; c < o.length; c++) {
+                        if (o[c].x < e.position.x) var a = -1;
+                        else a = 1;
+                        for (var i = function() {
+                                var t = r.default.Spawn("juicePre", e);
+                                t.setSiblingIndex(4), t.getComponent(cc.Sprite).spriteFrame = d.default.Instance.fllows[s.default.getRandomNum(0, 5, !0)], t.stopAllActions(), t.opacity = 255, t.scale = .3;
+                                var n = o[c];
+                                t.setPosition(n);
+                                var i = cc.v2(s.default.getRandomNum(0, 400, !0) * a, -s.default.getRandomNum(300, 500, !0)),
+                                    u = s.default.getRandomNum(1440, 3600, !0) * a,
+                                    p = s.default.getRandomNum(450, 600, !0);
+                                t.runAction(cc.sequence(cc.spawn(cc.sequence(cc.jumpBy(s.default.RandomInteger(1500, 1700) / p, i, p, 1), cc.spawn(cc.moveBy(50 / p, cc.v2(0, -30)), cc.fadeOut(50 / p))), cc.scaleTo(s.default.RandomInteger(1500, 1700) / p, s.default.getRandomNum(.4, .7, !1)), cc.rotateTo(s.default.RandomInteger(1500, 1700) / p, u / 2)), cc.callFunc(function() {
+                                    r.default.Despawn("juicePre", t)
+                                }, l)))
+                            }, l = this, u = 0; u < n; u++) i()
+                    }
+                }, t.Instance = null, c([h(cc.Node)], t.prototype, "bgLayer", void 0), c([h(cc.Node)], t.prototype, "bgCamera", void 0), c([h(cc.Node)], t.prototype, "mainCamera", void 0), c([h(cc.Node)], t.prototype, "fruitNode", void 0), c([h(cc.Node)], t.prototype, "lineNode", void 0), c([h(cc.Node)], t.prototype, "bazieffect", void 0), c([h(cc.Node)], t.prototype, "downEffect", void 0), c([h(cc.Prefab)], t.prototype, "fruitPre", void 0), t = n = c([f], t)
+            }(cc.Component);
+        n.default = m, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager",
+        "../Common/Utils": "Utils",
+        "../common/DynamicLoad": "DynamicLoad",
+        "../common/PlayerInfo": "PlayerInfo",
+        "./AudioManager": "AudioManager",
+        "./GameManager": "GameManager",
+        "./MainGameUi": "MainGameUi"
+    }],
+    GameManager: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "e5ba8qbQSBBz6Xl6OzdDwcL", "GameManager");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("./FailedUi"),
+            i = e("./MainGameUi"),
+            r = e("./DataManager"),
+            s = e("../common/PlayerInfo"),
+            l = cc._decorator,
+            u = l.ccclass,
+            d = (l.property, function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.isStart = !1, t.level = 0, t.score = 0, t.inGuide = !1, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this, cc.find("Canvas/bgLayer").setContentSize(cc.winSize.width, cc.winSize.height)
+                }, t.prototype.start = function() {
+                    this.PhysicsSystemCtrl(!0, !1)
+                }, t.prototype.update = function(e) {}, t.prototype.lateUpdate = function() {
+                    this.score = s.default.score
+                }, t.prototype.SetScore = function(e) {
+                    this.score = e, i.default.Instance.SetScoreTween(this.score)
+                }, t.prototype.GameOver = function() {
+                    var e = cc.find("Canvas").getComponent("MainGameJS"),
+                        t = r.default.Instance.GetPlayerHighScore();
+                    this.score > t && (t = this.score, r.default.Instance.SetPlayerHighScore(t)), e.SetScore(this.score), e.SetGameEndScore(), a.default.Instance.ShowFailedUi(s.default.score, t)
+                }, t.prototype.RestartGame = function() {
+                    cc.find("Canvas").getComponent("MainGameJS").RestartGame()
+                }, t.prototype.GetGameEndShowInfo = function() {
+                    return cc.find("Canvas").getComponent("MainGameJS").GetGameEndInfo()
+                }, t.prototype.ToEnd = function() {
+                    cc.find("Canvas").getComponent("MainGameJS").gameEnd1()
+                }, t.prototype.PhysicsSystemCtrl = function(e, t) {
+                    cc.director.getPhysicsManager().enabled = e, cc.director.getPhysicsManager().gravity = cc.v2(0, -300), t && (cc.director.getPhysicsManager().debugDrawFlags = cc.PhysicsManager.DrawBits.e_shapeBit), cc.director.getCollisionManager().enabled = e, cc.director.getCollisionManager().enabledDebugDraw = t
+                }, t.Instance = null, t.isShowAd = !1, t = n = c([u], t)
+            }(cc.Component));
+        n.default = d, cc._RF.pop()
+    }, {
+        "../common/PlayerInfo": "PlayerInfo",
+        "./DataManager": "DataManager",
+        "./FailedUi": "FailedUi",
+        "./MainGameUi": "MainGameUi"
+    }],
+    GameUiTools: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "b21e8tF461OFalpptyeuAE2", "GameUiTools");
+        e("GameConfig");
+        var o = {
+            newSprite: function(e, t) {
+                var n = new cc.Node;
+                return t ? (e = e.split(".")[0], n.addComponent(cc.Sprite).spriteFrame = GameTools.love2048FrameCache.getSpriteFrame(e)) : n.addComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame("res/raw-assets/resources/" + e), n
+            },
+            setNodeSpriteFrame: function(e, t) {
+                e.getComponent(cc.Sprite).spriteFrame = GameTools.love2048FrameCache.getSpriteFrame(t)
+            },
+            setButtonClickEvents: function(e, t, n, o, c) {
+                var a = new Array;
+                void 0 == t.length ? a[0] = t : a = t;
+                for (var i = 0; i < a.length; i++) {
+                    var r = new cc.Component.EventHandler;
+                    r.target = e.node, r.component = e.node.name, r.handler = n, void 0 == t.length ? r.customEventData = o : r.customEventData = i;
+                    var s = a[i].addComponent(cc.Button);
+                    s.clickEvents.push(r), (void 0 == c || c) && (s.transition = cc.Button.Transition.SCALE, s.duration = .1, s.zoomScale = 1.2)
+                }
+            },
+            scheduleOnce: function(e, t, n) {
+                e.runAction(cc.sequence(cc.delayTime(n), cc.callFunc(t, e)))
+            },
+            loadingScene: function(e, t) {
+                t ? cc.loader.loadRes("panel/LoadingLayer", function(t, n) {
+                    var o = cc.instantiate(n);
+                    cc.director.getScene().children[0].addChild(o), cc.director.preloadScene(e, function() {
+                        cc.director.loadScene(e)
+                    })
+                }) : cc.director.preloadScene(e, function() {
+                    cc.director.loadScene(e)
+                })
+            },
+            loadingLayer: function(e) {
+                cc.loader.loadRes(e, function(e, t) {
+                    if (!e) {
+                        var n = cc.instantiate(t);
+                        cc.director.getScene().children[0].addChild(n, 100)
+                    }
+                })
+            }
+        };
+        t.exports = o, cc._RF.pop()
+    }, {
+        GameConfig: "GameConfig"
+    }],
+    HttpManagerJs: [function(e, t, n) {
+        "use strict";
+        var o;
+
+        function c(e, t, n) {
+            return t in e ? Object.defineProperty(e, t, {
+                value: n,
+                enumerable: !0,
+                configurable: !0,
+                writable: !0
+            }) : e[t] = n, e
+        }
+        cc._RF.push(t, "197e1hfNnxIcJx73V3VhUxY", "HttpManagerJs");
+        var a = e("GameConfig"),
+            i = (c(o = {
+                URL: "http://www.wesane.com/h5service.php/Interface/services",
+                cacheList: null,
+                isBusy: null,
+                req: null,
+                perform: null,
+                retGameId: 0
+            }, "cacheList", []), c(o, "ctor", function() {}), c(o, "checkHave", function() {
+                this.isBusy || this.sendOne()
+            }), c(o, "httpInitUrl", function(e) {
+                console.log("data", this.URL), this.retGameId = e
+            }), c(o, "send", function(e, t, n, o) {
+                this.cacheList.push({
+                    type: e,
+                    data: t,
+                    func: n,
+                    target: o
+                }), this.isBusy || this.sendOne()
+            }), c(o, "sendOne", function() {
+                if (0 != this.cacheList.length) {
+                    this.isBusy = !0, this.perform = this.cacheList.shift(), this.req = cc.loader.getXMLHttpRequest(), this.req.onreadystatechange = this.onDataHandler.bind(this), this.req.onerror = this.onErrorHandler.bind(this), this.req.ontimeout = this.onTimeoutHandler.bind(this), this.req.timeout = 2e3, cc.log("pos", this.URL), this.req.open("POST", this.URL), this.req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8");
+                    var e = this.returnLanguage();
+                    console.log("gameIdid", this.retGameId);
+                    var t = this.retGameId,
+                        n = {
+                            type: this.perform.type,
+                            gid: t,
+                            mid: null,
+                            data: this.perform.data,
+                            languageType: e
+                        },
+                        o = "send=" + JSON.stringify(n);
+                    this.req.send(o)
+                }
+            }), c(o, "onDataHandler", function() {
+                if (404 != this.req.status) {
+                    if (4 == this.req.readyState && this.req.status >= 200 && this.req.status <= 207 && this.req.responseText) {
+                        var e = JSON.parse(this.req.responseText);
+                        this.isBusy = !1, this.perform.target ? this.perform.func.call(this.perform.target, e.error, e.data, e.commendGame, e.gameInfo) : this.perform.func(e)
+                    }
+                } else {
+                    var t = a.launchScene,
+                        n = a.Bros;
+                    a.caS;
+                    cc.director.loadScene(t, null, function() {
+                        if (n) {
+                            "";
+                            var e = document.getElementById("GameDiv");
+                            e && (e.style.backgroundImage = "")
+                        }
+                        cc.loader.onProgress = null, console.log("Success to load scene: " + t)
+                    })
+                }
+            }), c(o, "returnLanguage", function() {
+                return ("" + window.navigator.language).toLocaleLowerCase()
+            }), c(o, "onErrorHandler", function() {
+                cc.log("\u7f51\u7edc\u9519\u8bef"), this.isBusy = !1, this.perform.target ? this.perform.func.call(this.perform.target, -1) : this.perform.func(-1)
+            }), c(o, "onTimeoutHandler", function() {
+                cc.log("\u8bf7\u6c42\u8d85\u65f6"), this.isBusy = !1, this.perform.target ? this.perform.func.call(this.perform.target, -1) : this.perform.func(-1)
+            }), c(o, "clearAll", function() {
+                for (var e = this.cacheList.length, t = 0; t < e; t++) {
+                    var n = this.cacheList[t];
+                    n && (n.target ? n.func.call(n.target, -1) : n.func(-1))
+                }
+                this.cacheList.length = 0
+            }), o);
+        t.exports = i, cc._RF.pop()
+    }, {
+        GameConfig: "GameConfig"
+    }],
+    InputController: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "2fb79pURUZExoy/hAOtHdvz", "InputController");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("./GameFunction"),
+            i = e("../common/PlayerInfo"),
+            r = e("../Common/PoolManager"),
+            s = e("../Common/Utils"),
+            l = cc._decorator,
+            u = l.ccclass,
+            d = l.property,
+            p = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.Rocker = null, t.stick = null, t.Max_r = 100, t.RockerJS = null, t.speed = 400, t.Arrow = null, t.knife = null, t.startPoint = null, t.touchPoint = null, t.endPoint = null, t.ddir = cc.v2(0, 0), t.isCut = !1, t.comboTime = 0, t.comboInterval = .4, t.comboNumber = 0, t.comboMaxNum = 7, t.touchNum = 0, t.createFruitCount = 0, t.istest = !1, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this
+                }, t.prototype.start = function() {
+                    this.openTouch(), this.RockerJS = this.Rocker.getComponent("Rocker")
+                }, t.prototype.update = function(e) {}, t.prototype.openTouch = function() {
+                    this.node.on(cc.Node.EventType.TOUCH_START, this.onTouchStart, this), this.node.on(cc.Node.EventType.TOUCH_MOVE, this.onTouchMove, this), this.node.on(cc.Node.EventType.TOUCH_END, this.onTouchEnd, this), this.node.on(cc.Node.EventType.TOUCH_CANCEL, this.onTouchEnd, this)
+                }, t.prototype.onTouchStart = function(e) {
+                    if (i.default.playerTouch && null != a.default.Instance.targetFruit) {
+                        this.touchNum = 1;
+                        var t = this.node.convertToNodeSpaceAR(e.getLocation()).x,
+                            n = a.default.Instance.targetFruit.y;
+                        cc.tween(a.default.Instance.targetFruit).to(.1, {
+                            position: cc.v2(t, n)
+                        }).start()
+                    }
+                }, t.prototype.onTouchMove = function(e) {
+                    i.default.playerTouch && null != a.default.Instance.targetFruit && (this.touchNum = 1, a.default.Instance.targetFruit.x = this.node.convertToNodeSpaceAR(e.getLocation()).x)
+                }, t.prototype.onTouchEnd = function(e) {
+                    var t = this;
+                    i.default.playerTouch && null != a.default.Instance.targetFruit && 1 == this.touchNum && (this.touchNum = 0, a.default.Instance.targetFruit.getComponent(cc.PhysicsCircleCollider).radius = a.default.Instance.targetFruit.height / 2, a.default.Instance.targetFruit.getComponent(cc.PhysicsCircleCollider).apply(), a.default.Instance.targetFruit.getComponent(cc.RigidBody).type = cc.RigidBodyType.Dynamic, a.default.Instance.targetFruit.getComponent(cc.RigidBody).linearVelocity = cc.v2(0, -800), a.default.Instance.targetFruit = null, this.scheduleOnce(function() {
+                        i.default.GameUpdateCtrl && (0 == t.createFruitCount ? (a.default.Instance.createOneFruit(0), t.createFruitCount++) : 1 == t.createFruitCount ? (a.default.Instance.createOneFruit(0), t.createFruitCount++) : 2 == t.createFruitCount ? (a.default.Instance.createOneFruit(1), t.createFruitCount++) : 3 == t.createFruitCount ? (a.default.Instance.createOneFruit(2), t.createFruitCount++) : 4 == t.createFruitCount ? (a.default.Instance.createOneFruit(2), t.createFruitCount++) : 5 == t.createFruitCount ? (a.default.Instance.createOneFruit(3), t.createFruitCount++) : t.createFruitCount > 5 && (a.default.Instance.createOneFruit(s.default.RandomInteger(0, 5)), t.createFruitCount++))
+                    }, .5))
+                }, t.prototype.closeTouch = function() {
+                    this.node.off(cc.Node.EventType.TOUCH_START, this.onTouchStart, this), this.node.off(cc.Node.EventType.TOUCH_MOVE, this.onTouchMove, this), this.node.off(cc.Node.EventType.TOUCH_END, this.onTouchEnd, this), this.node.off(cc.Node.EventType.TOUCH_CANCEL, this.onTouchEnd, this)
+                }, t.prototype.addScore = function() {
+                    var e = r.default.Spawn("addScore", cc.find("Canvas/downEffParent"));
+                    e.position = cc.v2(0, 200), e.scale = 0, e.opacity = 255, e.children[1].getComponent(cc.Label).string = this.comboNumber.toString(), e.runAction(cc.sequence(cc.spawn(cc.scaleTo(.5, 1), cc.moveBy(.5, 0, 200)), cc.fadeOut(.5), cc.callFunc(function() {
+                        r.default.Despawn("addScore", e)
+                    })))
+                }, t.Instance = null, c([d(cc.Node)], t.prototype, "Rocker", void 0), c([d(cc.Node)], t.prototype, "stick", void 0), c([d], t.prototype, "Max_r", void 0), c([d(cc.Node)], t.prototype, "Arrow", void 0), c([d(cc.Node)], t.prototype, "knife", void 0), t = n = c([u], t)
+            }(cc.Component);
+        n.default = p, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager",
+        "../Common/Utils": "Utils",
+        "../common/PlayerInfo": "PlayerInfo",
+        "./GameFunction": "GameFunction"
+    }],
+    KnifeCollision: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "bf98eOWbcJGeLpI/I0HGW8j", "KnifeCollision");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../common/PlayerInfo"),
+            i = e("./GameFunction"),
+            r = e("../Common/PoolManager"),
+            s = e("../Common/Utils"),
+            l = e("./GameManager"),
+            u = e("./InputController"),
+            d = e("./MainGameUi"),
+            p = e("./AudioManager"),
+            f = cc._decorator,
+            h = f.ccclass,
+            m = f.property,
+            g = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.starPre = null, t.Arrow = null, t.prefabStrArr = [], t
+                }
+                return o(t, e), t.prototype.start = function() {}, t.prototype.update = function(e) {}, t.prototype.onCollisionEnter = function(e, t) {
+                    if ("bazi" == e.node.group) {
+                        var n;
+                        if (a.default.tuoweiCtrl = !1, a.default.playerTouch = !0, e.node.stopAllActions(), t.node.children[2].getComponent(cc.ParticleSystem).stopSystem(), i.default.Instance.ribbonEffect(t.node.position, e.node, !0), e.node.removeComponent(cc.PolygonCollider), t.node.stopAllActions(), a.default.knifeLR = t.node.x > 0 ? 1 : -1, t.node.children[1].scaleX = -a.default.knifeLR, this.great(t.node, e.node), i.default.Instance.CameraAoto(), i.default.Instance.CreateBazi(a.default.knifeLR), -1 == a.default.knifeLR)(n = r.default.Spawn("arrowL", this.node.parent)).position = this.node.position, u.default.Instance.Arrow = n, n.active = !0, n.angle = -45, n.position = this.node.position, n.runAction(cc.repeatForever(cc.sequence(cc.rotateBy(.8, -50), cc.rotateBy(1.6, 100), cc.rotateBy(.8, -50)))), t.node.runAction(cc.sequence(cc.moveBy(.05, -20, 0), cc.moveBy(.05, 20, 0))), e.node.runAction(cc.sequence(cc.moveBy(.05, -20, 0), cc.moveBy(.05, 20, 0)));
+                        else(n = r.default.Spawn("arrowR", this.node.parent)).position = this.node.position, u.default.Instance.Arrow = n, n.active = !0, n.angle = 45, n.position = this.node.position, n.runAction(cc.repeatForever(cc.sequence(cc.rotateBy(.8, -50), cc.rotateBy(1.6, 100), cc.rotateBy(.8, -50)))), t.node.runAction(cc.sequence(cc.moveBy(.05, 20, 0), cc.moveBy(.05, -20, 0))), e.node.runAction(cc.sequence(cc.moveBy(.05, 20, 0), cc.moveBy(.05, -20, 0)));
+                        t.node.children[0].active = !1, t.node.children[1].active = !0
+                    } else if ("default" == e.node.group) {
+                        t.node.children[2].getComponent(cc.ParticleSystem).stopSystem(), e.node.removeComponent(cc.PolygonCollider), t.node.stopAllActions(), a.default.knifeLR = t.node.x > 0 ? 1 : -1, t.node.children[0].active = !1, t.node.children[1].active = !0;
+                        for (var o = 0; o < cc.find("Canvas/baziNode").children.length; o++) cc.find("Canvas/baziNode").children[o].stopAllActions();
+                        a.default.playerTouch = !1, l.default.Instance.ToEnd(), p.default.Instance.Play(0, !1, 1), p.default.Instance.Play(4, !1, 1)
+                    }
+                }, t.prototype.onCollisionStay = function(e, t) {}, t.prototype.onCollisionExit = function(e, t) {}, t.prototype.great = function(e, t) {
+                    if (Math.abs(e.y - t.y) <= 15) {
+                        p.default.Instance.Play(1, !1, 1), a.default.tuoweiCtrl = !0, d.default.Instance.InjuredEffect();
+                        var n = r.default.Spawn("great", cc.find("Canvas/bazieffect"));
+                        e.x > 0 ? n.position = cc.v2(e.x - 40, e.y) : n.position = cc.v2(e.x + 40, e.y), n.runAction(cc.sequence(cc.spawn(cc.moveBy(.4, 0, 200), cc.rotateBy(.4, 360)), cc.scaleTo(.15, 1.1), cc.scaleTo(.15, 1), cc.fadeOut(.2))), a.default.score += 10, d.default.Instance.SetScoreTween(a.default.score)
+                    } else p.default.Instance.Play(0, !1, 1), a.default.score += 5, d.default.Instance.SetScoreTween(a.default.score)
+                }, t.prototype.GhostBornEff = function(e, t) {
+                    for (var n = s.default.RandomInteger(24, 36), o = 0; o < n; o++) {
+                        var c = r.default.Spawn("star", cc.find("Canvas/downEffParent"));
+                        c.position = e, c.opacity = 0, c.scale = s.default.Random(.5, 1), c.angle = s.default.Random(0, 360);
+                        var a = cc.v2(0, 1);
+                        a.rotateSelf(s.default.AngleToRadian(360 * Math.random()));
+                        var i = s.default.Random(20, 150);
+                        c.position.add(a.mul(s.default.Random(0, 30)));
+                        var l = s.default.Random(.3, .5),
+                            u = s.default.Random(.01, .012);
+                        c.runAction(cc.sequence(cc.delayTime(u), cc.delayTime(.6 * l), cc.scaleTo(.4 * l, 0))), c.opacity = 0, c.runAction(cc.sequence(cc.delayTime(u), cc.fadeTo(.1, s.default.Random(120, 240)))), c.runAction(cc.sequence(cc.delayTime(u), cc.moveBy(l, a.mul(i)).easing(cc.easeCubicActionOut()), cc.callFunc(function(e) {
+                            r.default.Despawn("star", e)
+                        }, this)));
+                        s.default.Random(0, 100)
+                    }
+                }, t.prototype.createLizi = function(e, t) {
+                    for (var n = 0; n < 10; n++) {
+                        var o = r.default.Spawn("star", cc.find("Canvas/upEffectParent"));
+                        o.scale = .1 * t, o.position = s.default.convetOtherNodeSpaceAR(e, cc.find("Canvas/upEffectParent")), 1 == t && (o.color = (new cc.Color).fromHEX("ffc049"));
+                        var c = new Array;
+                        c.push(-360, 360), o.runAction(cc.sequence(cc.spawn(cc.jumpBy(.5, s.default.RandomInteger(-100, 100), s.default.RandomInteger(-200, -100), s.default.RandomInteger(0, 50), 1), cc.rotateTo(.5, s.default.RandomIndexFromArr(c)), cc.fadeOut(.5)), cc.delayTime(.1)))
+                    }
+                }, t.prototype.createWord = function(e) {
+                    var t = r.default.Spawn("star", cc.find("Canvas/upEffectParent"));
+                    t.position = s.default.convetOtherNodeSpaceAR(this.node, cc.find("Canvas/upEffectParent")), 2 == e ? (t.scale = .3, t.opacity = 200, t.runAction(cc.sequence(cc.spawn(cc.rotateBy(.2, 400), cc.moveBy(.2, 0, 100)), cc.scaleTo(.2, .5), cc.scaleTo(.2, .4), cc.fadeOut(.1)))) : (t.scale = .5, t.runAction(cc.sequence(cc.spawn(cc.rotateBy(.2, 400), cc.moveBy(.2, 0, 100)), cc.scaleTo(.2, .6), cc.scaleTo(.2, .5), cc.fadeOut(.1))))
+                }, t.prototype.createSuipian = function() {
+                    var e = r.default.Spawn("suipian", this.node.parent);
+                    e.position = cc.v2(0, 0), e.scale = cc.find("Canvas/baziNodeU").children[0].children[0].scale
+                }, t.prototype.createStar = function() {
+                    var e = r.default.Spawn("star", cc.find("Canvas/upEffectParent"));
+                    e.scale = s.default.Random(.1, 1);
+                    var t = this.node.x + this.node.width / 2,
+                        n = this.node.x - this.node.width / 2,
+                        o = this.node.y;
+                    e.position = cc.v2(s.default.RandomInteger(n, t), o), e.runAction(cc.fadeOut(2))
+                }, t.prototype.planeBoomEffect = function() {
+                    r.default.Spawn("boom", cc.find("Canvas/upEffectParent")).position = s.default.convetOtherNodeSpaceAR(this.node, cc.find("Canvas/upEffectParent"))
+                }, t.prototype.clockEoilffect = function(e, t) {
+                    for (var n = 0; n < 3; n++) setTimeout(function() {
+                        var t = r.default.Spawn("star", cc.find("Canvas/upEffectParent"));
+                        t.position = e.position, t.scale = .3, t.runAction(cc.sequence(cc.scaleTo(.5, 1.1), cc.fadeOut(.5)))
+                    }, 300 * n)
+                }, t.prototype.addScoreEffect = function() {
+                    var e = r.default.Spawn("add1", cc.find("Canvas/mainGameUi"));
+                    e.position = cc.find("Canvas/mainGameUi").children[0].position.add(cc.v2(0, 50)), e.runAction(cc.spawn(cc.moveBy(.5, 0, 50), cc.fadeOut(.5)))
+                }, c([m(cc.Prefab)], t.prototype, "starPre", void 0), c([m(cc.Node)], t.prototype, "Arrow", void 0), c([m(cc.Prefab)], t.prototype, "prefabStrArr", void 0), t = c([h], t)
+            }(cc.Component);
+        n.default = g, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager",
+        "../Common/Utils": "Utils",
+        "../common/PlayerInfo": "PlayerInfo",
+        "./AudioManager": "AudioManager",
+        "./GameFunction": "GameFunction",
+        "./GameManager": "GameManager",
+        "./InputController": "InputController",
+        "./MainGameUi": "MainGameUi"
+    }],
+    LanguageSetJs: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "4754e8KuPZJCqklCNyKpG29", "LanguageSetJs");
+        t.exports = {
+            language_1: {
+                game_name: "\u300c\u5c04\u82f9\u679c\u300d",
+                game_name1: "\u5c04\u82f9\u679c",
+                game_info: "\u628a\u63e1\u65f6\u673a\uff0c\u5c04\u4e2d\u82f9\u679c\u3002",
+                txtStart: "\u5f00\u59cb",
+                txtMore: "\u66f4\u591a\u6e38\u620f",
+                txtAgain: "\u518d\u73a9\u4e00\u6b21",
+                txtShare1: "\u5728\u6e38\u620f\u4e2d ",
+                txtShare2: "\u5f97\u5206\u4e86\uff0c\u597d\u554a!\u4f60\u548c\u6211\u4e00\u8d77\u6765\u6bd4\u8d5b!",
+                bgRgb: "#3698C5",
+                gameT1: "\u5173\u6ce8\u6211\u4eec",
+                gameT2: "\u7eb8\u724c\u63a5\u9f99",
+                gameT3: "\u9526\u4e0a\u6dfb\u82b1",
+                gameUrl1: "http://g.regogame.com/game/9/",
+                gameUrl2: "http://g.regogame.com/game/3/",
+                gameT11: "\u5173\u6ce8\u5fae\u4fe1",
+                gameT12: "\u5173\u6ce8Kakao",
+                gameT13: "\u5173\u6ce8Line",
+                gameEndL: "\u6e38 \u620f \u7ed3 \u675f",
+                gameEndL1: "\u7a0d \u5019 \u67e5 \u770b \u5206 \u6570"
+            },
+            language_2: {
+                game_name: "\u300cShot Apples\u300d",
+                game_name1: "Shot Apples",
+                game_info: "Seize the opportunity and shoot the apple.",
+                txtStart: "Start",
+                txtMore: "More Game",
+                txtAgain: "Play Again",
+                txtShare1: "In Game ",
+                txtShare2: " Let's play together!",
+                bgRgb: "#3698C5",
+                gameT1: "Follow Us",
+                gameT2: "Thousand Flower",
+                gameT3: "Eliminate Star",
+                gameUrl1: "http://g.fromgame.com/game/53",
+                gameUrl2: "http://g.fromgame.com/game/13",
+                gameT11: "Focus WeChat",
+                gameT12: "Focus Kakao",
+                gameT13: "Focus Line",
+                gameEndL: "Game OVer",
+                gameEndL1: "View the score later"
+            }
+        }, cc._RF.pop()
+    }, {}],
+    LoadSceneJs: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "3ef908fwfNIwJsOjET8tCh2", "LoadSceneJs");
+        var o = {
+            goToCover: function(e, t, n, o, c) {
+                var a = e;
+                a = null == a || void 0 == a || e, console.log("LoadBoolBeforeLoadS", a), this.needShow = !1, a && a ? (this.needShow = !0, showMyAds()) : this.needShow = !1, this.needShow ? (void 0 == preloader && this.startGoToGame(n, o, c), resCompleteFlag = !0, adCompleteFlag && resCompleteFlag && this.startGoToGame(n, o, c)) : this.startGoToGame(n, o, c)
+            },
+            startGoToGame: function(e, t, n) {
+                console.log("goToScene"), noAdGoToScene()
+            }
+        };
+        t.exports = o, cc._RF.pop()
+    }, {}],
+    MainGameJS: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "0e7a8SkMLxEY7nCB1Bqi8WZ", "MainGameJS");
+        var o = e("GameConfig"),
+            c = e("GameUiTools"),
+            a = e("MainManage");
+        cc.Class({
+            extends: cc.Component,
+            properties: {
+                gameEndLay: cc.Node,
+                startBgNode: cc.Node,
+                sceneScore: cc.Label,
+                gameOverT1: cc.Label,
+                gameOverT2: cc.Label,
+                gameOverToEnd: cc.Node
+            },
+            onLoad: function() {
+                cc.director.getCollisionManager().enabled = !0, cc.director.getPhysicsManager().enabled = !0, this.gameOveEndBool = !1, this.gameOverNum = 0, this.gameWidth = cc.winSize.width, this.gameHeight = cc.winSize.height, o.playNum, o.playNum++, c.loadingLayer("panel/LinkIconSpr"), o.mainGameJs = this, o.publicGameBool || this.play()
+            },
+            play: function() {
+                console.log(1);
+                var e = this;
+                adBreak({
+                    type: "next",
+                    name: "restart-game",
+                    beforeBreak: function() {
+                        e.enableButtons()
+                    },
+                    afterBreak: function() {
+                        e.enableButtons()
+                    }
+                })
+            },
+            enableButtons: function() {},
+            addTouchEvents: function() {
+                var e = this;
+                this.node.on(cc.Node.EventType.TOUCH_START, function(t) {
+                    if (o.GAME_OVER_BOOL && o.noTouchBool) return o.gameScore++, e.sceneScore.string = o.gameScore, console.log("ggoog", o.gameScore), o.gameScore >= 2 && (this.lastPos = t.getLocation(), e.gameEnd()), !0
+                }, this), this.node.on(cc.Node.EventType.TOUCH_MOVE, this.on_touch_move, this), this.node.on(cc.Node.EventType.TOUCH_END, this.on_touch_end, this)
+            },
+            on_touch_move: function() {
+                console.log("touchMoved")
+            },
+            on_touch_end: function() {
+                console.log("touchEnd")
+            },
+            gameEnd: function() {
+                o.GAME_OVER_BOOL = !1, a.gameOverShowText(o.gameScore, 1), this.node.runAction(cc.sequence(cc.delayTime(.5), cc.callFunc(this.gameEnd1.bind(this))))
+            },
+            returnCurrentLanType: function() {
+                var e = 1;
+                switch (cc.sys.language) {
+                    case cc.sys.LANGUAGE_CHINESE:
+                        "zh-TW" == window.navigator.language || "zh-tw" == window.navigator.language || "zh-HK" == window.navigator.language || "zh-hk" == window.navigator.language ? (cc.log("\u7e41\u4f53"), e = 2) : (cc.log("\u7b80\u4f53"), e = 1);
+                        break;
+                    case cc.sys.LANGUAGE_KOREAN:
+                        e = 4;
+                        break;
+                    default:
+                        e = 3
+                }
+                return e
+            },
+            gameEnd1: function() {
+                var e = this,
+                    t = this.returnCurrentLanType();
+                1 == t ? (this.gameOverT1.string = "\u6e38 \u620f \u7ed3 \u675f", this.gameOverT2.string = "\u70b9 \u51fb \u67e5 \u770b \u5206 \u6570") : 2 == t ? (this.gameOverT1.string = "\u904a \u6232 \u7d50 \u675f", this.gameOverT2.string = "\u9ede \u64ca \u67e5 \u770b \u5206 \u6578") : 4 == t ? (this.gameOverT1.string = "\uac8c\uc784 \uc885\ub8cc", this.gameOverT2.string = "\ud074\ub9ad \ud558\uc5ec \uc810\uc218 \ubcf4\uae30") : (this.gameOverT1.string = "Game Over", this.gameOverT2.string = "Click to view the score"), this.gameOveEndBool = !0, this.gameOverT1.node.zIndex = 999, this.gameOverT2.node.zIndex = 999, this.gameOverToEnd.zIndex = 999, this.gameOverT1.node.opacity = 0, this.gameOverT1.node.y = 100, this.gameOverToEnd.y = 0, this.gameOverT1.node.runAction(cc.sequence(cc.delayTime(.2), cc.spawn(cc.fadeIn(1), cc.moveBy(1, 0, -50)), cc.delayTime(.3))), this.gameOverToEnd.runAction(cc.sequence(cc.fadeTo(1, 100), cc.callFunc(function() {
+                    e.gameOverToEnd.getComponent(cc.Button).enabled = !0
+                }))), this.gameOverT2.node.opacity = 0, this.gameOverT2.node.y = this.gameOverT1.node.y - 100, this.gameOverT2.node.runAction(cc.sequence(cc.delayTime(.2), cc.spawn(cc.fadeIn(1), cc.moveBy(1, 0, -50)), cc.delayTime(.3))), this.gameOverT2.node.runAction(cc.sequence(cc.delayTime(2), cc.scaleTo(.3, 1.2).easing(cc.easeSineInOut()), cc.scaleTo(.3, 1).easing(cc.easeSineInOut()))).repeatForever()
+            },
+            initEndLayer: function() {
+                this.gameOverT1.node.active = !1, this.gameOverT2.node.active = !1, this.gameOverToEnd.active = !1, o.publicGameBool || adBreak({
+                    type: "next",
+                    name: "restart-game"
+                }), a.gotoEndLayer1()
+            },
+            start: function() {},
+            update: function(e) {
+                this.gameOverGoToOVer()
+            },
+            gameOverGoToOVer: function() {
+                this.gameOveEndBool && (this.gameOverNum++, this.gameOverNum >= 900 && (this.gameOverNum = 0, this.gameOveEndBool = !1))
+            },
+            SetScore: function(e) {
+                o.gameScore = e
+            },
+            RestartGame: function() {
+                o.GAME_OVER_BOOL = !0, o.gameScore = 0, o.publicGameBool || adBreak({
+                    type: "next",
+                    name: "restart-game"
+                }), c.loadingScene("MainGameScene")
+            },
+            SetGameEndScore: function() {
+                a.gameOverShowText(o.gameScore, 1)
+            },
+            GetGameEndInfo: function() {
+                return a.endHttpShowInfo
+            }
+        }), cc._RF.pop()
+    }, {
+        GameConfig: "GameConfig",
+        GameUiTools: "GameUiTools",
+        MainManage: "MainManage"
+    }],
+    MainGameUi: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "47901xGYuJBULv7U12/mbpk", "MainGameUi");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../common/PlayerInfo"),
+            i = e("./EffectCenter"),
+            r = e("./AudioManager"),
+            s = e("./DataManager"),
+            l = e("../commonJs/GameConfig"),
+            u = e("../common/DynamicLoad"),
+            d = cc._decorator,
+            p = d.ccclass,
+            f = d.property,
+            h = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.mainCamera = null, t.bgLayer = null, t.scoreLabel = null, t.scorePanel = null, t.guidePanel = null, t.injuredPanel = null, t.levelPanel = null, t.levelProgress = null, t.heartPanel = null, t.congratulation = null, t.adsButton = null, t.player = null, t.basicsScore = 300, t.currentScore = 0, t.targetScore = 0, t.scoreChangeValue = 0, t.isScoreChange = !1, t.lerpCtrl = !1, t.relerpCtrl = !1, t.level = 1, t.nowYQ = 0, t.passlevelYQ = 1, t.congratulationTime = 0, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this
+                }, t.prototype.start = function() {
+                    var e = this;
+                    this.ShowScorePanel(), s.default.Instance.GetLevel() % 5 == 1 ? (this.passlevelYQ = .12, this.lerpCtrl = !0) : s.default.Instance.GetLevel() % 5 == 2 ? (this.passlevelYQ = .31, this.lerpCtrl = !0) : s.default.Instance.GetLevel() % 5 == 3 ? (this.passlevelYQ = .51, this.lerpCtrl = !0) : s.default.Instance.GetLevel() % 5 == 4 ? (this.passlevelYQ = .71, this.lerpCtrl = !0) : s.default.Instance.GetLevel() % 5 == 0 && (this.passlevelYQ = 1, this.lerpCtrl = !0), cc.tween(this.adsButton).call(function() {
+                        e.adsButton.children[0].getComponent(cc.Sprite).spriteFrame = u.default.Instance.adsbutton[0]
+                    }).delay(.5).call(function() {
+                        e.adsButton.children[0].getComponent(cc.Sprite).spriteFrame = u.default.Instance.adsbutton[1]
+                    }).delay(.5).union().repeatForever().start()
+                }, t.prototype.update = function(e) {
+                    this.UpdateScoreLabel(e), this.lerpCtrl && this.lerpNumFunc(this.passlevelYQ), this.levelPanel.children[1].getComponent(cc.Label).string = s.default.Instance.GetLevel().toString()
+                }, t.prototype.adsButtonFunc = function() {
+                    // window.location.href = "https://activity.doumobfour.club/horse?appkey=8fa2be346ab599d74b7b35732652ab4d&adSpaceKey=83e7c46c40f572de847a2d1b541f19b5&1=1"
+                }, t.prototype.TestPasslevel = function() {
+                    var e = this;
+                    this.lerpCtrl = !0, this.nowYQ >= this.passlevelYQ && (this.levelPanel.children[2].runAction(cc.sequence(cc.delayTime(1.3), cc.callFunc(function() {
+                        e.relerpCtrl = !0, e.lerpCtrl = !1
+                    }), cc.callFunc(function() {
+                        e.level += 1, e.nowYQ = 0, e.passlevelYQ = 50 * e.level
+                    }))), r.default.Instance.Play(0, !1, 1), i.default.Instance.ShootFlower())
+                }, t.prototype.showLevelProgressInfo = function() {
+                    this.levelPanel.children[1].children[0].getComponent(cc.Label).string = this.level.toString(), this.levelPanel.children[2].children[0].getComponent(cc.Label).string = (this.level + 1).toString(), this.levelPanel.children[1].runAction(cc.sequence(cc.scaleTo(.2, 1.2), cc.scaleTo(.2, 1))), this.levelPanel.children[2].runAction(cc.sequence(cc.scaleTo(.2, 1.2), cc.scaleTo(.2, 1))), this.levelPanel.children[0].children[0].getComponent(cc.Sprite).fillRange = 0, this.lerpCtrl = !1
+                }, t.prototype.lerpNumFunc = function(e) {
+                    var t = this.levelProgress.children[0].children[0].getComponent(cc.Sprite).fillRange;
+                    e > t ? (this.levelProgress.children[0].children[0].getComponent(cc.Sprite).fillRange += .005, (t = this.levelProgress.children[0].children[0].getComponent(cc.Sprite).fillRange) >= e && (this.lerpCtrl = !1)) : (this.levelProgress.children[0].children[0].getComponent(cc.Sprite).fillRange -= .015, (t = this.levelProgress.children[0].children[0].getComponent(cc.Sprite).fillRange) == e && (this.lerpCtrl = !1))
+                }, t.prototype.lerpNumFunc1 = function() {
+                    this.levelProgress.children[0].children[0].getComponent(cc.Sprite).fillRange -= .03, this.levelProgress.children[0].children[0].getComponent(cc.Sprite).fillRange <= 0 && (this.relerpCtrl = !1, this.showLevelProgressInfo())
+                }, t.prototype.GuideArrawAction = function() {
+                    this.guidePanel.children[0].active = !0, this.guidePanel.children[0].runAction(cc.repeatForever(cc.sequence(cc.fadeIn(.1), cc.moveTo(1, 240, 190), cc.moveTo(.5, 120, 70), cc.fadeOut(.5), cc.moveTo(.01, -240, 190))))
+                }, t.prototype.closeGuide = function() {
+                    this.guidePanel.children[0].active = !1
+                }, t.prototype.SetScoreTween = function(e) {
+                    this.targetScore != e && (this.targetScore = e, this.scoreChangeValue = Math.abs(this.targetScore - this.currentScore), this.isScoreChange = !0)
+                }, t.prototype.UpdateScoreLabel = function(e) {
+                    if (this.isScoreChange) {
+                        this.currentScore += e * this.scoreChangeValue * 5, this.currentScore >= this.targetScore && (this.currentScore = this.targetScore, this.isScoreChange = !1);
+                        var t = Math.floor(this.currentScore);
+                        this.scoreLabel.string = t.toString()
+                    }
+                }, t.prototype.SetScore = function(e) {
+                    var t = e.toString().length - 1;
+                    this.scoreLabel.node.children[1].x = 60 + 25 * t, e < 1e3 ? (this.scoreLabel.string = String(e), this.scorePanel.children[0].children[0].active = !1, this.scorePanel.children[0].children[1].active = !0) : (this.scoreLabel.string = String(e), this.scoreLabel.node.scale = .7, this.scorePanel.children[0].children[0].active = !1, this.scorePanel.children[0].children[1].active = !0), a.default.score = e
+                }, t.prototype.InjuredEffect = function() {
+                    this.injuredPanel.active = !0, this.injuredPanel.runAction(cc.sequence(cc.fadeTo(.1, 150), cc.fadeTo(.1, 0)))
+                }, t.prototype.HideScorePanel = function() {
+                    this.scorePanel.runAction(cc.moveBy(.5, 0, 250)), this.levelPanel.runAction(cc.moveBy(.5, 0, 250)), this.levelProgress.runAction(cc.moveBy(.5, 0, 250)), this.heartPanel.runAction(cc.moveBy(.5, 0, 250))
+                }, t.prototype.ShowScorePanel = function() {
+                    var e = this.node.children[0].position;
+                    this.scorePanel.runAction(cc.moveTo(.5, cc.v2(this.scorePanel.x, e.y - 20)).easing(cc.easeBackOut())), this.levelPanel.runAction(cc.moveTo(.5, e).easing(cc.easeBackOut())), this.levelProgress.runAction(cc.moveTo(.5, cc.v2(-230, e.y - 50)).easing(cc.easeBackOut())), this.heartPanel.runAction(cc.moveTo(.5, cc.v2(270, e.y - 50)).easing(cc.easeBackOut()))
+                }, t.prototype.showCongratulation = function() {
+                    var e = this;
+                    r.default.Instance.Play(1, !1, 1), a.default.GameUpdateCtrl = !1, this.congratulation.active = !0, this.player.getComponent(cc.PolygonCollider).enabled = !1, this.congratulation.children[1].children[2].getComponent(cc.Label).string = a.default.score.toString(), this.congratulation.children[1].runAction(cc.sequence(cc.scaleTo(.5, 1).easing(cc.easeBackOut()), cc.callFunc(function() {
+                        e.congratulation.children[2].active = !0
+                    })))
+                }, t.prototype.closeCongratulation = function() {
+                    var e = this;
+                    this.congratulation.children[2].active = !1, this.congratulation.children[1].runAction(cc.sequence(cc.scaleTo(.5, 0).easing(cc.easeBackIn()), cc.callFunc(function() {
+                        e.congratulation.active = !1, a.default.GameUpdateCtrl = !0
+                    }))), l.publicGameBool || adBreak({
+                        type: "next",
+                        name: "restart-game"
+                    }), this.scheduleOnce(function() {
+                        e.player.getComponent(cc.PolygonCollider).enabled = !0
+                    }, 1)
+                }, t.Instance = null, c([f(cc.Node)], t.prototype, "mainCamera", void 0), c([f(cc.Node)], t.prototype, "bgLayer", void 0), c([f(cc.Label)], t.prototype, "scoreLabel", void 0), c([f(cc.Node)], t.prototype, "scorePanel", void 0), c([f(cc.Node)], t.prototype, "guidePanel", void 0), c([f(cc.Node)], t.prototype, "injuredPanel", void 0), c([f(cc.Node)], t.prototype, "levelPanel", void 0), c([f(cc.Node)], t.prototype, "levelProgress", void 0), c([f(cc.Node)], t.prototype, "heartPanel", void 0), c([f(cc.Node)], t.prototype, "congratulation", void 0), c([f(cc.Node)], t.prototype, "adsButton", void 0), c([f(cc.Node)], t.prototype, "player", void 0), t = n = c([p], t)
+            }(cc.Component);
+        n.default = h, cc._RF.pop()
+    }, {
+        "../common/DynamicLoad": "DynamicLoad",
+        "../common/PlayerInfo": "PlayerInfo",
+        "../commonJs/GameConfig": "GameConfig",
+        "./AudioManager": "AudioManager",
+        "./DataManager": "DataManager",
+        "./EffectCenter": "EffectCenter"
+    }],
+    MainManage: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "946adGkxvdBmZXnlD952XtK", "MainManage");
+        var o = e("HttpManagerJs"),
+            c = e("LanguageSetJs"),
+            a = e("GameConfig"),
+            i = e("LoadSceneJs"),
+            r = (e("GameUiTools"), {
+                gameHttpId: 0,
+                subScoreHttp: null,
+                gameNameText: null,
+                gameInfoText: null,
+                txtStartText: null,
+                txtMoreText: null,
+                txtAgainText: null,
+                gameEndLText: null,
+                gameEndL1Text: null,
+                bgLayRgb: null,
+                gameEndName1: null,
+                gameEndName2: null,
+                gameEndUrl1: null,
+                gameEndUrl2: null,
+                langugeType: 1,
+                ranLinkData: null,
+                adShowBefore: !1,
+                adShowAfter: !0,
+                endLayCol: null,
+                moreBtnBgCol: null,
+                moreBtnTextCol: null,
+                recGameData: null,
+                recGameUrl: null,
+                recGameDelPau: null,
+                recGameDelPer: null,
+                recGameimg1: null,
+                recGameimg2: null,
+                recGamePos: null,
+                InfoData: null,
+                endShow0: null,
+                endShow1: null,
+                endShow2: null,
+                endShow3: null,
+                infoGameName: null,
+                showText: null,
+                startText: null,
+                moreGameText: null,
+                playAgainText: null,
+                endHttpShowInfo: null,
+                moreGameUrl: null,
+                init: function(e, t, n) {
+                    if (!a.publicGameBool) {
+                        if (a.playNum >= 1) return;
+                        a.playNum++
+                    }
+                    a.launchScene = e, a.Bros = t, a.caS = n, this.curType = 1, this.getHttpGameId(), this.gamePV_load(), console.log("thisg", this.gameHttpId), o.httpInitUrl(this.gameHttpId);
+                    var c = this.initLanguage();
+                    this.gameNameText = c.game_name, this.gameInfoText = c.game_info, this.txtStartText = c.txtStart, this.txtMoreText = c.txtMore, this.txtAgainText = c.txtAgain, this.gameEndLText = c.gameEndL, this.gameEndL1Text = c.gameEndL1, this.bgLayRgb = c.bgRgb, this.gameEndName1 = c.gameT2, this.gameEndName2 = c.gameT3, this.gameEndUrl1 = c.gameUrl1, this.gameEndUrl2 = c.gameUrl2, this.langugeType = this.curType, i.goToCover(this.adShowBefore, this.adShowAfter, e, t, n)
+                },
+                getHttpGameId: function() {
+                    var e = window.location.href,
+                        t = e.substring(0, e.lastIndexOf("//") + 2),
+                        n = window.location.host,
+                        o = t + n + "/Service/Share/index";
+                    this.gameAllHttp = o, cc.log("gameAll", this.gameAllHttp), this.subScoreHttp = t + n + "/Service/Score/index", this.gamePvHttp = t + n + "/Service/GamePv/index";
+                    var c = document.URL,
+                        a = 0,
+                        i = c.substring(c.lastIndexOf("/game/") + 1, c.length).split("/");
+                    i.length >= 2 && (a = i[1]), this.gameHttpId = a, cc.log("gameId", a);
+                    e.substring(e.lastIndexOf("//") + 4, e.lastIndexOf("com") + 3);
+                    this.moreGameUrl = "http://m.wesane.com/"
+                },
+                gameOverShowText: function(e, t) {
+                    this.ajaxLoad("http://www.wesane.com/admin.php/Gamescore/saveGamescore", "gameScore=" + e + "&gameId=" + this.gameHttpId + "&gameType=" + t, this.scoreResult)
+                },
+                gamePV_load: function() {
+                    this.ajaxLoad("http://www.wesane.com/admin.php/Activityshow/gamelogo", "gameID=" + this.gameHttpId, this.ajaxOnLogoResult)
+                },
+                ajaxOnLogoResult: function() {},
+                ajaxLoad: function(e, t, n) {
+                    var o = cc.loader.getXMLHttpRequest();
+                    o.onreadystatechange = n, o.open("POST", e), o.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), o.send(t)
+                },
+                scoreResult: function(e) {
+                    if (null != e.currentTarget.response && "" != e.currentTarget.response) {
+                        var t = JSON.parse(e.currentTarget.response);
+                        cc.log("endshow", t.content), r.endHttpShowInfo = t.content
+                    }
+                },
+                initLanguage: function() {
+                    var e = null;
+                    return cc.sys.language == cc.sys.LANGUAGE_CHINESE ? (this.curType = 1, e = c.language_1) : (cc.log("\u82f1\u6587"), this.curType = 2, e = c.language_2), e
+                },
+                getLinkGameReturn: function(e, t, n, o) {
+                    if (console.log("err0", e), console.log("err1", t), console.log("err2", n), console.log("err3", o), 0 == e) {
+                        this.ranLinkData = t, console.log("LoadMainGameScnee");
+                        var c = a.launchScene,
+                            r = a.Bros,
+                            s = a.caS;
+                        i.goToCover(this.adShowBefore, this.adShowAfter, c, r, s)
+                    }
+                },
+                ranRecGameData: function() {
+                    if (null != this.recGameData && "" != this.recGameData) {
+                        this.returnBool = !1;
+                        var e = this.recGameData.length,
+                            t = a.returnRanNum(1, e) - 1;
+                        cc.log("ranNNN", t), this.recGameUrl = this.recGameData[t].data_link, this.recGameDelPer = this.recGameData[t].delay_per, this.recGameDelPau = this.recGameData[t].delay_pau, this.recGameimg1 = this.recGameData[t].img_1, this.recGameimg2 = this.recGameData[t].img_2, this.recGamePos = this.recGameData[t].poistion
+                    }
+                },
+                ranLinkUrl: function() {
+                    if (null != this.ranLinkData && this.ranLinkData.gameList && null != this.ranLinkData.gameList) {
+                        var e = this.ranLinkData.gameList.length,
+                            t = a.returnRanNum(1, e) - 1;
+                        return cc.log("templ", t, this.ranLinkData.gameList), cc.log("url", this.ranLinkData.gameList[0].gameName, this.ranLinkData.gameList[0].gameUrl), t
+                    }
+                    return null
+                },
+                gotoEndLayer: function() {
+                    if (a.publicGameBool) this.showGameEndLayer();
+                    else {
+                        if (adEndComplete = !1, resEndComplete = !1, this.needShow = null, 1 == window.navigator.onLine) {
+                            var e = this.adShowAfter;
+                            console.log("ad", e), (e = null == e || void 0 == e || this.adShowAfter) ? (this.needShow = !0, console.log("showMyad"), showMyAds()) : this.needShow = !1
+                        } else console.log("showOver1"), this.showGameEndLayer(), this.needShow = null;
+                        console.log("showMyad2", this.needShow), null != this.needShow && (console.log("showMyad3"), this.needShow ? (console.log("pre", preloader), void 0 == preloader && this.showGameEndLayer(), resEndComplete = !0, adEndComplete && resEndComplete && (console.log("showOver1"), this.showGameEndLayer())) : (console.log("gam"), this.showGameEndLayer()))
+                    }
+                },
+                gotoEndLayer1: function() {
+                    a.publicGameBool, this.showGameEndLayer()
+                },
+                showAd: function() {
+                    showMyAds()
+                },
+                showGameEndLayer: function() {
+                    cc.find("Canvas/gameManager").getComponent("GameManager").GameOver()
+                }
+            });
+        t.exports = r, cc._RF.pop()
+    }, {
+        GameConfig: "GameConfig",
+        GameUiTools: "GameUiTools",
+        HttpManagerJs: "HttpManagerJs",
+        LanguageSetJs: "LanguageSetJs",
+        LoadSceneJs: "LoadSceneJs"
+    }],
+    NewAttribute: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "62ee1m0pwFHWpkb09UZL+1E", "NewAttribute");
+        var o = this && this.__decorate || function(e, t, n, o) {
+            var c, a = arguments.length,
+                i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+            else
+                for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+            return a > 3 && i && Object.defineProperty(t, n, i), i
+        };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var c = cc._decorator,
+            a = c.ccclass,
+            i = c.property,
+            r = function() {
+                function e() {
+                    this.nickName = "\u5927\u638c\u6559", this.qGroup = "704391772"
+                }
+                return o([i({
+                    displayName: "\u6635\u79f0"
+                })], e.prototype, "nickName", void 0), o([i({
+                    displayName: "Q\u7fa4"
+                })], e.prototype, "qGroup", void 0), e = o([a("Player")], e)
+            }();
+        n.default = r, cc._RF.pop()
+    }, {}],
+    PhysicsParticle: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "73fcd1QF4lBEY8WPMIj3xr6", "PhysicsParticle");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../Common/PoolManager"),
+            i = cc._decorator,
+            r = i.ccclass,
+            s = i.property,
+            l = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.prefabName = "default", t.gravityScale = 0, t.dropTime = 0, t.deadTime = 0, t.dropTimeTicker = 0, t.isDead = !1, t.velocity = cc.v2(0, 0), t
+                }
+                return o(t, e), t.prototype.Reset = function() {
+                    this.node.stopAllActions(), this.node.scale = 1, this.velocity = cc.v2(0, 0), this.dropTimeTicker = 0, this.isDead = !1
+                }, t.prototype.SetVelocity = function(e, t) {
+                    this.velocity = e, this.dropTime = t, this.dropTimeTicker = this.dropTime
+                }, t.prototype.update = function(e) {
+                    this.node.x += this.velocity.x * e, this.node.y += this.velocity.y * e, this.velocity.y += this.gravityScale * e, this.isDead || (this.dropTimeTicker -= e, this.dropTimeTicker <= 0 && (this.isDead = !0, this.node.runAction(cc.sequence(cc.scaleTo(this.deadTime, 0), cc.callFunc(function(e) {
+                        a.default.Despawn(this.prefabName, e)
+                    }, this)))))
+                }, c([s], t.prototype, "prefabName", void 0), c([s], t.prototype, "gravityScale", void 0), c([s], t.prototype, "dropTime", void 0), c([s], t.prototype, "deadTime", void 0), c([s(cc.Vec2)], t.prototype, "velocity", void 0), t = c([r], t)
+            }(cc.Component);
+        n.default = l, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager"
+    }],
+    PlayerInfo: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "ea489dPDU9OZYOr2dE1HqB7", "PlayerInfo"), Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var o = function() {
+            function e() {}
+            return e.playerTouch = !0, e.score = 0, e.knifeStatic = "Idle", e.knifeLR = 1, e.GameUpdateCtrl = !0, e.playNum = 0, e.tuoweiCtrl = !1, e.bgNumber = 0, e
+        }();
+        n.default = o, cc._RF.pop()
+    }, {}],
+    PoolManager: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "42678O0bOREZKAMjCljpxI3", "PoolManager");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc._decorator,
+            i = a.ccclass,
+            r = a.property,
+            s = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.allPrefab = [], t.allPrefabMap = null, t.poolMap = null, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this, this.allPrefabMap = new Map, this.poolMap = new Map;
+                    for (var e = 0; e < this.allPrefab.length; e++) {
+                        this.allPrefabMap.set(this.allPrefab[e].name, this.allPrefab[e]), cc.log(this.allPrefab[e].name);
+                        var t = new cc.NodePool;
+                        this.poolMap.set(this.allPrefab[e].name, t)
+                    }
+                }, t.Spawn = function(e, t) {
+                    if (void 0 === t && (t = null), !n.Instance.poolMap.has(e)) return cc.warn("no prefab named " + e), null;
+                    var o = n.Instance.poolMap.get(e);
+                    if (o.size() > 0) {
+                        var c = o.get();
+                        return null != t && (c.parent = t), c
+                    }
+                    var a = cc.instantiate(n.Instance.allPrefabMap.get(e));
+                    return null != t && (a.parent = t), a
+                }, t.Despawn = function(e, t) {
+                    if (!n.Instance.poolMap.has(e)) return cc.log("\u56de\u6536\u5931\u8d25,\u8282\u70b9\u540d : " + e), null;
+                    n.Instance.poolMap.get(e).put(t)
+                }, t.GetPrefab = function(e) {
+                    return n.Instance.allPrefabMap.has(e) ? n.Instance.allPrefabMap.get(e) : null
+                }, t.Preload = function(e, t) {
+                    if (!n.Instance.poolMap.has(e)) return null;
+                    for (var o = n.Instance.poolMap.get(e), c = 0; c < t; c++) {
+                        var a = cc.instantiate(n.Instance.allPrefabMap.get(e));
+                        o.put(a)
+                    }
+                }, t.Instance = null, c([r([cc.Prefab])], t.prototype, "allPrefab", void 0), t = n = c([i], t)
+            }(cc.Component);
+        n.default = s, cc._RF.pop()
+    }, {}],
+    RandomFly: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "a801awRcfxIuaFIGRbzJh/6", "RandomFly");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("./SpriteManager"),
+            i = e("./Utils"),
+            r = cc._decorator,
+            s = r.ccclass,
+            l = r.property,
+            u = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.id = 1, t.wing_r = null, t.wing_l = null, t.body = null, t.isUser = !0, t.isUpdate = !0, t.turnNum = 0, t.mosquitoSpeedLen = 2, t.mosquitoSpeedMaxR = 4, t.mosquitoSpeedR = 0, t.mosquitoTargetR = 0, t.mosquitoTargetMaxR = 359, t.mosquitoAddR = !0, t.checkEdgeDelayCount = 0, t.newPos = cc.v2(0, 0), t.dir = cc.v2(0, 1), t.fadeTime = 0, t.fadeTicker = 1, t.isFade = !1, t.mapScale = 1, t.onEdgeFlag = !0, t.isTurn = !1, t
+                }
+                return o(t, e), t.prototype.onLoad = function() {}, t.prototype.SetId = function(e) {
+                    e < 1 && (e = 1), e > 4 && (e = 4);
+                    var t = a.default.Instance.GetSpriteFrame("littleWing" + e),
+                        n = a.default.Instance.GetSpriteFrame("littleBody" + e);
+                    this.wing_l.getComponent(cc.Sprite).spriteFrame = t, this.wing_r.getComponent(cc.Sprite).spriteFrame = t, this.body.getComponent(cc.Sprite).spriteFrame = n
+                }, t.prototype.startFun = function() {
+                    this.wing_r.stopAllActions(), this.wing_l.stopAllActions(), this.wingAction(), this.isUser = !0, this.isUpdate = !0, this.turnNum = i.default.Random(10, 20), this.mosquitoSpeedR = 0, this.mosquitoTargetR = 0, this.mosquitoTargetMaxR = 359, this.mosquitoAddR = !0, this.mapScale = 1, this.onEdgeFlag = !0, this.isTurn = !0, this.setMosquitoSpeed()
+                }, t.prototype.wingAction = function() {
+                    this.wing_r.runAction(cc.repeatForever(cc.sequence(cc.scaleTo(.2, 1).easing(cc.easeSineInOut()), cc.scaleTo(.2, .4, 1).easing(cc.easeSineInOut())))), this.wing_l.runAction(cc.repeatForever(cc.sequence(cc.scaleTo(.2, -1, 1).easing(cc.easeSineInOut()), cc.scaleTo(.2, -.4, 1).easing(cc.easeSineInOut()))))
+                }, t.prototype.start = function() {}, t.prototype.setMosquitoSpeed = function() {
+                    this.node.angle >= 360 ? this.node.angle -= 360 : this.node.angle < 0 && (this.node.angle += 360), this.mosquitoSpeedR = Math.random() * this.mosquitoSpeedMaxR * 2 - this.mosquitoSpeedMaxR;
+                    var e = Math.random() * this.mosquitoTargetMaxR * (Math.abs(this.mosquitoSpeedR) / (this.mosquitoSpeedMaxR + .4 * this.mapScale));
+                    this.mosquitoSpeedR > 0 ? (this.mosquitoTargetR = this.node.angle + e, this.mosquitoAddR = !0) : (this.mosquitoTargetR = this.node.angle - e, this.mosquitoAddR = !1), this.checkEdgeDelayCount = 0, this.onEdgeFlag && Math.abs(this.mosquitoSpeedR) > 2 && (this.mosquitoSpeedR = this.mosquitoSpeedR / 3 * 2, this.mosquitoTargetR = this.mosquitoTargetR / 3 * 2), this.onEdgeFlag = !1, this.turnNum--, this.turnNum <= 0 && (this.isTurn = !1)
+                }, t.prototype.updateMosquito = function() {
+                    var e = this.mosquitoSpeedLen,
+                        t = this.mosquitoSpeedR,
+                        n = this.mosquitoTargetR,
+                        o = this.node,
+                        c = this.getPointByCPAndAngleAndLen(o.getPosition(), o.angle + t, e);
+                    o.setPosition(c), o.angle += t, this.mosquitoAddR ? o.angle >= n && this.setMosquitoSpeed() : o.angle <= n && this.setMosquitoSpeed()
+                }, t.prototype.setPos = function() {
+                    this.node.position.x < 0 ? this.newPos = cc.v2(-cc.winSize.width / 2 - 100, this.node.position.y) : this.newPos = cc.v2(cc.winSize.width / 2 + 100, this.node.position.y), this.isUser = !1
+                }, t.prototype.setPos_1 = function() {
+                    this.isUpdate = !1, this.scheduleOnce(function() {
+                        this.isUpdate = !0, this.setPos()
+                    }, .5)
+                }, t.prototype.update = function(e) {
+                    this.isUpdate && this.isUser && (this.updateMosquito(), this.checkOnEdge(!0)), this.isFade || (this.fadeTicker -= e, this.fadeTicker < 0 && (this.fadeTicker = 0, this.isFade = !0, this.node.runAction(cc.sequence(cc.fadeOut(.5), cc.callFunc(function(e) {}, this)))))
+                }, t.prototype.updateMove_1 = function(e) {
+                    this.dir = cc.v2(this.node.position).sub(this.newPos).normalize().neg();
+                    var t = 1 * (this.dir.x * this.mosquitoSpeedLen * 3),
+                        n = 1 * (this.dir.y * this.mosquitoSpeedLen * 3),
+                        o = this.node.x + t,
+                        c = this.node.y + n;
+                    this.node.x = o, this.node.y = c;
+                    var a = 180 * Math.atan2(this.dir.y, this.dir.x) / Math.PI;
+                    a = 360 - a + 90, this.node.angle = a
+                }, t.prototype.updateMove = function(e) {
+                    this.dir = cc.v2(this.node.position).sub(this.newPos).normalize().neg();
+                    var t = 1 * (this.dir.x * this.mosquitoSpeedLen),
+                        n = 1 * (this.dir.y * this.mosquitoSpeedLen),
+                        o = this.node.x + t,
+                        c = this.node.y + n;
+                    this.node.x = o, this.node.y = c;
+                    var a = 180 * Math.atan2(this.dir.y, this.dir.x) / Math.PI;
+                    a = 360 - a + 90, this.node.angle = a
+                }, t.prototype.setMosquitoBackSpeed = function() {
+                    this.isTurn = !1, this.scheduleOnce(function() {
+                        this.isTurn = !0, this.setMosquitoSpeed()
+                    }, 2)
+                }, t.prototype.checkOnEdge = function(e) {
+                    this.node.x > cc.winSize.width / 2 + 100 ? e ? this.setMosquitoBackSpeed() : this.node.active = !1 : this.node.x < -cc.winSize.width / 2 - 100 ? e ? this.setMosquitoBackSpeed() : this.node.active = !1 : this.node.y > cc.winSize.height / 2 + 100 ? e ? this.setMosquitoBackSpeed() : this.node.active = !1 : this.node.y < -cc.winSize.height / 2 - 100 && (e ? this.setMosquitoBackSpeed() : this.node.active = !1)
+                }, t.prototype.getAngle = function(e, t, n, o) {
+                    var c = Math.abs(e - n),
+                        a = Math.abs(t - o),
+                        i = a / Math.sqrt(Math.pow(c, 2) + Math.pow(a, 2)),
+                        r = Math.acos(i),
+                        s = 180 / (Math.PI / r);
+                    return t > o && (s = 180 - s), e > n && (s *= -1), s
+                }, t.prototype.getPointByCPAndAngleAndLen = function(e, t, n) {
+                    var o = -t * Math.PI / 180,
+                        c = n * Math.cos(o),
+                        a = n * Math.sin(o);
+                    return cc.v2(e.x + a, e.y + c)
+                }, c([l], t.prototype, "id", void 0), c([l(cc.Node)], t.prototype, "wing_r", void 0), c([l(cc.Node)], t.prototype, "wing_l", void 0), c([l(cc.Node)], t.prototype, "body", void 0), c([l], t.prototype, "mosquitoSpeedLen", void 0), c([l], t.prototype, "mosquitoSpeedMaxR", void 0), c([l], t.prototype, "fadeTime", void 0), t = c([s], t)
+            }(cc.Component);
+        n.default = u, cc._RF.pop()
+    }, {
+        "./SpriteManager": "SpriteManager",
+        "./Utils": "Utils"
+    }],
+    RenderWater: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "ed67fc+jBJNaKKrcIP1lh6B", "RenderWater");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc._decorator,
+            i = a.ccclass,
+            r = a.property,
+            s = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.waterCamera = null, t.waterConnect = null, t.waterParent = null, t.cup = null, t.prefab_water = null, t._water_pool = null, t._waterGenrateCount = 0, t
+                }
+                return o(t, e), t.prototype.start = function() {}, t.prototype.onLoad = function() {
+                    var e = new cc.RenderTexture;
+                    e.initWithSize(cc.winSize.width, cc.winSize.height);
+                    var t = new cc.SpriteFrame;
+                    t.setTexture(e), this.waterCamera.targetTexture = e, this.waterConnect.spriteFrame = t
+                }, t.prototype.createWater = function() {
+                    this.resetWater();
+                    for (var e = 0; e < 50; e++) {
+                        var t = this._water_pool.shift();
+                        t || (t = cc.instantiate(this.prefab_water), this.waterParent.addChild(t)), t.active = !1, t.scale = .4, t.x = this.cup.x, t.y = this.cup.y + 10
+                    }
+                    this._waterGenrateCount = 0, this.schedule(this.scheduleWater, .05, this.waterParent.childrenCount - 1)
+                }, t.prototype.scheduleWater = function() {
+                    this.waterParent.children[this._waterGenrateCount++].active = !0
+                }, t.prototype.resetWater = function() {
+                    var e = this;
+                    this.unschedule(this.scheduleWater), this.waterParent.children.forEach(function(t) {
+                        t.active = !1, e._water_pool.push(t)
+                    })
+                }, c([r(cc.Camera)], t.prototype, "waterCamera", void 0), c([r(cc.Sprite)], t.prototype, "waterConnect", void 0), c([r(cc.Node)], t.prototype, "waterParent", void 0), t = c([i], t)
+            }(cc.Component);
+        n.default = s, cc._RF.pop()
+    }, {}],
+    Rocker: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "8d9fdeeLCdEi5Zh0PNydB+G", "Rocker");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc._decorator,
+            i = a.ccclass,
+            r = a.property,
+            s = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.stick = null, t.dir = null, t
+                }
+                return o(t, e), t.prototype.start = function() {
+                    this.stick.x = 0, this.stick.y = 0, this.dir = cc.v2(0, 0)
+                }, c([r(cc.Node)], t.prototype, "stick", void 0), t = c([i], t)
+            }(cc.Component);
+        n.default = s, cc._RF.pop()
+    }, {}],
+    RotateAround: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "d0683O41+dL0LiH0SbEMp2i", "RotateAround");
+        var o, c = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            a = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+                value: !0
+            }),
+            function(e) {
+                e[e.PositiveX = 0] = "PositiveX", e[e.PositiveY = 1] = "PositiveY", e[e.NegativeX = 2] = "NegativeX", e[e.NegativeY = 3] = "NegativeY"
+            }(o = n.Axis || (n.Axis = {}));
+        var i = cc._decorator,
+            r = i.ccclass,
+            s = i.property,
+            l = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.targetPos = null, t.clockwise = !0, t.timePerRound = 5, t.faceToTarget = !1, t.faceAxis = o.NegativeY, t.autoStart = !1, t.angle = 0, t.radius = 0, t.isRotating = !1, t.ischangeFunc = !1, t
+                }
+                return c(t, e), t.prototype.start = function() {
+                    this.autoStart && this.run()
+                }, t.prototype.update = function(e) {
+                    if (this.isRotating && this.targetPos) {
+                        var t = Math.PI / 180 * this.angle;
+                        if (this.node.x = this.targetPos.x + this.radius * Math.cos(t), this.node.y = this.targetPos.y + this.radius * Math.sin(t), this.faceToTarget) switch (this.faceAxis) {
+                            case o.PositiveX:
+                                this.node.angle = this.angle + 180;
+                                break;
+                            case o.PositiveY:
+                                this.node.angle = this.angle + 90;
+                                break;
+                            case o.NegativeX:
+                                this.node.angle = this.angle;
+                                break;
+                            case o.NegativeY:
+                                this.node.angle = this.angle - 90
+                        }
+                        var n = e * (360 / this.timePerRound);
+                        this.clockwise ? this.angle -= n : this.angle += n, this.angle >= 360 ? this.angle %= 360 : this.angle <= -360 && (this.angle %= -360)
+                    }
+                }, t.prototype.run = function(e, t, n, o, c) {
+                    if (e && (this.targetPos = e), t && (this.clockwise = t), n && (this.timePerRound = n), o && (this.faceToTarget = o), c && (this.faceAxis = c), !this.targetPos) return cc.log("No target!");
+                    this.ischangeFunc ? this.node.y > 0 ? this.angle = this.getAngle(this.targetPos, this.node.getPosition()) + 90 : this.angle = this.getAngle(this.targetPos, this.node.getPosition()) - 90 : this.angle = this.getAngle(this.targetPos, this.node.getPosition()), this.radius = this.getDistance(this.targetPos, this.node.getPosition());
+                    var a = Math.PI / 180 * this.angle;
+                    this.node.x = this.targetPos.x + this.radius * Math.cos(a), this.node.y = this.targetPos.y + this.radius * Math.sin(a), this.isRotating = !0
+                }, t.prototype.stop = function() {
+                    this.isRotating = !1
+                }, t.prototype.getAngle = function(e, t) {
+                    return Math.atan2(e.y - t.y, t.x - e.x)
+                }, t.prototype.getDistance = function(e, t) {
+                    return Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2))
+                }, a([s(cc.Vec2)], t.prototype, "targetPos", void 0), a([s({
+                    tooltip: !1
+                })], t.prototype, "clockwise", void 0), a([s({
+                    tooltip: !1
+                })], t.prototype, "timePerRound", void 0), a([s({
+                    tooltip: !1
+                })], t.prototype, "faceToTarget", void 0), a([s({
+                    type: cc.Enum(o),
+                    tooltip: !1,
+                    visible: function() {
+                        return this.faceToTarget
+                    }
+                })], t.prototype, "faceAxis", void 0), a([s({
+                    tooltip: "\u81ea\u52a8\u5f00\u59cb\u65cb\u8f6c"
+                })], t.prototype, "autoStart", void 0), t = a([r], t)
+            }(cc.Component);
+        n.default = l, cc._RF.pop()
+    }, {}],
+    Shake: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "ae84f5GUmxA6pQM/u/0FkbQ", "Shake");
+        var o = cc.ActionInterval.extend({
+            targetNode: cc.Node,
+            nodeInitialPos: null,
+            nodeShakeStrengthX: 0,
+            nodeShakeStrengthY: 0,
+            xOffset: 0,
+            yOffset: 0,
+            duration: 0,
+            getRandomStrength: function(e, t) {
+                return Math.random() * (t - e + 1) + e
+            },
+            update: function(e) {
+                var t = this.getRandomStrength(-this.nodeShakeStrengthX, this.nodeShakeStrengthX) * cc.director.getDeltaTime(),
+                    n = this.getRandomStrength(-this.nodeShakeStrengthY, this.nodeShakeStrengthY) * cc.director.getDeltaTime();
+                this.xOffset += t, this.yOffset += n, this.target.setPosition(this.target.position.add(cc.v2(t, n)))
+            },
+            initWithDuration: function(e, t, n) {
+                return !!cc.ActionInterval.prototype.initWithDuration.call(this, e) && (this.nodeShakeStrengthX = t, this.nodeShakeStrengthY = "undefined" == n ? t : n, !0)
+            },
+            startWithTarget: function(e) {
+                cc.ActionInterval.prototype.startWithTarget.call(this, e), this.nodeInitialPos = e.getPosition(), this.target = e, this.xOffset = 0, this.yOffset = 0
+            },
+            stop: function() {
+                this.target.setPosition(this.target.position.add(cc.v2(-this.xOffset, -this.yOffset)))
+            }
+        });
+        cc.shake = function(e, t, n) {
+            return new o(e, t, n)
+        }, cc._RF.pop()
+    }, {}],
+    SpriteManager: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "4aec9V8qWdDa5TaF3chhmaO", "SpriteManager");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc._decorator,
+            i = a.ccclass,
+            r = a.property,
+            s = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.atlas = [], t.allSpriteFrame = [], t.atlasMap = null, t.spriteFrameMap = null, t
+                }
+                var n;
+                return o(t, e), n = t, t.prototype.onLoad = function() {
+                    null != n.Instance && n.Instance.destroy(), n.Instance = this, this.atlasMap = new Map;
+                    for (var e = 0; e < this.atlas.length; e++) {
+                        var t = this.atlas[e].name.split(".", 1);
+                        this.atlasMap.set(t[0], this.atlas[e])
+                    }
+                    this.spriteFrameMap = new Map;
+                    for (e = 0; e < this.allSpriteFrame.length; e++) {
+                        var o = this.allSpriteFrame[e].name.split(".", 1);
+                        this.spriteFrameMap.set(o[0], this.allSpriteFrame[e])
+                    }
+                }, t.prototype.GetSpriteFrame = function(e) {
+                    return this.spriteFrameMap.has(e) ? this.spriteFrameMap.get(e) : null
+                }, t.Instance = null, c([r(cc.SpriteAtlas)], t.prototype, "atlas", void 0), c([r(cc.SpriteFrame)], t.prototype, "allSpriteFrame", void 0), t = n = c([i], t)
+            }(cc.Component);
+        n.default = s, cc._RF.pop()
+    }, {}],
+    Stack: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "17b226CrNJGGYSBKYckUg+j", "Stack"), Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var o = function() {
+            function e(e) {
+                void 0 === e && (e = 10), this.elements = new Array(e), this._size = 0
+            }
+            return e.prototype.push = function(e) {
+                var t = this.elements.length;
+                if (this._size >= t) {
+                    var n = new Array(t);
+                    this.elements = this.elements.concat(n)
+                }
+                this.elements[this._size++] = e
+            }, e.prototype.pop = function() {
+                return this.elements[--this._size]
+            }, e.prototype.peek = function() {
+                return this.elements[this._size - 1]
+            }, e.prototype.size = function() {
+                return this._size
+            }, e.prototype.empty = function() {
+                return 0 === this._size
+            }, e.prototype.clear = function(e) {
+                void 0 === e && (e = 10), delete this.elements, this.elements = new Array(e), this._size = 0
+            }, e
+        }();
+        n.Stack = o, cc._RF.pop()
+    }, {}],
+    Toast: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "4f5a7oIt7pFWaaZNA1+j7MV", "Toast"), Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var o = function() {
+            function e() {
+                this.toastNode = null, this.bgSprite = null, this.spriteFrame = null, this.textNode = null, this.textLabel = null, this.canvas = null, this.toastNode = new cc.Node, this.toastNode.active = !1, this.toastNode.zIndex = 1e4, this.canvas = cc.director.getScene().getComponentInChildren(cc.Canvas), this.canvas.node.addChild(this.toastNode), this.bgSprite = this.toastNode.addComponent(cc.Sprite), this.bgSprite.trim = !0, this.bgSprite.type = cc.Sprite.Type.SLICED;
+                var e = this;
+                cc.loader.loadRes("default_btn_pressed", function(t, n) {
+                    t ? cc.error(t) : (e.spriteFrame = new cc.SpriteFrame(n), e.bgSprite.spriteFrame = e.spriteFrame)
+                });
+                var t = this.toastNode.addComponent(cc.Widget);
+                t.isAlignBottom = !0, t.isAbsoluteBottom = !1, t.bottom = .8, t.isAlignHorizontalCenter = !0, t.horizontalCenter = 0, t.alignMode = cc.Widget.AlignMode.ONCE;
+                var n = this.toastNode.addComponent(cc.Layout);
+                n.resizeMode = cc.Layout.ResizeMode.CONTAINER, n.padding = 5, this.textNode = new cc.Node, this.toastNode.addChild(this.textNode), this.textNode.position = cc.Vec2.ZERO, this.textLabel = this.textNode.addComponent(cc.Label), this.textLabel.fontSize = 50, this.textLabel.lineHeight = 50
+            }
+            return Object.defineProperty(e, "instance", {
+                get: function() {
+                    return null == this._instance && (this._instance = new e), this._instance
+                },
+                enumerable: !0,
+                configurable: !0
+            }), e.prototype.showText = function(e, t) {
+                var n = this;
+                void 0 === t && (t = .5), e.length * this.textLabel.fontSize > .8 * this.canvas.node.width && (this.textLabel.overflow = cc.Label.Overflow.RESIZE_HEIGHT, this.textLabel.node.width = .8 * this.canvas.node.width), this.textLabel.string = e, this.toastNode.active = !0, this.toastNode.opacity = 200, this.toastNode.runAction(cc.sequence(cc.delayTime(t), cc.fadeOut(.2), cc.callFunc(function() {
+                    n.toastNode.active = !1
+                }, this)))
+            }, e._instance = null, e
+        }();
+        n.Toast = o, cc._RF.pop()
+    }, {}],
+    ToolsJs: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "ff72eImHHBFF7om5YuFkgbF", "ToolsJs");
+        var o = {
+            SpriteFrameJs: null,
+            AudioArrJs: null,
+            setStorage: function(e, t, n) {
+                CC_WECHATGAME ? wx.setStorage({
+                    key: e,
+                    data: t
+                }) : (n && (t = JSON.stringify(t)), cc.sys.localStorage.setItem(e, t))
+            },
+            getStorage: function(e, t) {
+                if (CC_WECHATGAME) return wx.getStorageSync(e);
+                var n = cc.sys.localStorage.getItem(e);
+                return isNaN(n) || (n = parseInt(n)), "NaN" == n.toString() && (n = null), t && null != n && (n = JSON.parse(n)), n
+            },
+            logJsonObject: function(e) {
+                console.log(JSON.stringify(e))
+            },
+            loadJson: function(e, t) {},
+            writeJson: function(e, t) {
+                if (cc.sys.isBrowser) {
+                    console.log("\u6d4f\u89c8\u5668");
+                    var n = new Blob([e], {
+                            type: "application/json"
+                        }),
+                        o = document.createElement("a");
+                    o.download = t, o.innerHTML = "Download File", null != window.webkitURL ? o.href = window.webkitURL.createObjectURL(n) : (o.href = window.URL.createObjectURL(n), o.onclick = destroyClickedElement, o.style.display = "none", document.body.appendChild(o)), o.click()
+                }
+            },
+            addNoArr: function(e, t) {
+                return e.indexOf(t) < 0 && (e.push(t), !0)
+            },
+            newSprite: function(e) {
+                if (null != this.SpriteFrameJs.getSpriteFrame(e)) {
+                    var t = new cc.Node;
+                    return t.addComponent(cc.Sprite).spriteFrame = this.SpriteFrameJs.getSpriteFrame(e), t
+                }
+                return null
+            },
+            setTexture: function(e, t) {
+                e.getComponent(cc.Sprite).spriteFrame = this.SpriteFrameJs.getSpriteFrame(t)
+            },
+            clonePrefabs: function(e, t, n) {
+                var o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
+                    c = this.PrefabArrJs.getPrefabs(e);
+                if (null != c) {
+                    var a = cc.instantiate(c);
+                    return null != t && t.addChild(a, o), null != n && (a.position = n), a
+                }
+                return console.log("\u514b\u9686\u9884\u5236\u4f53\u5931\u8d25:" + e), null
+            },
+            newLabel: function(e, t) {
+                var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 20,
+                    o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : .5,
+                    c = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : .5,
+                    a = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0,
+                    i = new cc.Node;
+                i.anchorX = o, i.anchorY = c;
+                var r = i.addComponent(cc.Label);
+                return r.string = e, r.fontSize = n, t.addChild(i, a), i
+            },
+            playAudio: function(e) {
+                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : .5,
+                    n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
+                return null != this.AudioArrJs ? this.AudioArrJs.playAudio(e, t, n) : cc.audioEngine.play(cc.url.raw("resources/music/" + e + ".mp3"), n, t)
+            },
+            stopAudio: function(e) {
+                null != e && cc.audioEngine.stop(e)
+            },
+            newAduioSource: function(e) {
+                var t = void 0;
+                if (null != this.AudioArrJs) t = this.AudioArrJs.getAudioClip(e);
+                else {
+                    if (null == e) return console.log("clip\u4e0d\u80fd\u4e3a\u7a7a\uff01"), null;
+                    t = e
+                }
+                var n = new cc.Node;
+                return n.addComponent(cc.AudioSource).clip = t, n.getComponent(cc.AudioSource)
+            },
+            delayTimeCall: function(e, t, n, o) {
+                e.runAction(cc.sequence(cc.delayTime(n), cc.callFunc(t, o)))
+            },
+            getDistance: function(e, t) {
+                return e.sub(t).mag()
+            },
+            getToNodePos: function(e, t) {
+                var n = e.parent.convertToWorldSpaceAR(e.position);
+                return t.convertToNodeSpaceAR(n)
+            },
+            getToWorldPosAR: function(e) {
+                return e.parent.convertToWorldSpaceAR(e.position)
+            },
+            getToWorldPos: function(e) {
+                return e.parent.convertToWorldSpace(e.position)
+            },
+            isBoxContainPos: function(e, t) {
+                return e.getBoundingBox().contains(t)
+            },
+            isBoxContainWorldPos: function(e, t) {
+                return e.getBoundingBoxToWorld().contains(t)
+            },
+            isRectInterRect: function(e, t) {
+                return e.getBoundingBoxToWorld().intersects(t.getBoundingBoxToWorld())
+            },
+            returnRandom: function(e, t) {
+                return e + Math.floor(Math.random() * (t - e + 1))
+            },
+            returnCurrentLanType: function() {
+                var e = 1;
+                switch (cc.sys.language) {
+                    case cc.sys.LANGUAGE_CHINESE:
+                        "zh-TW" == window.navigator.language || "zh-tw" == window.navigator.language || "zh-HK" == window.navigator.language || "zh-hk" == window.navigator.language ? (cc.log("\u7e41\u4f53"), e = 2) : (cc.log("\u7b80\u4f53"), e = 1);
+                        break;
+                    case cc.sys.LANGUAGE_KOREAN:
+                        e = 4;
+                        break;
+                    default:
+                        e = 3
+                }
+                return e
+            }
+        };
+        t.exports = o, cc._RF.pop()
+    }, {}],
+    Utils: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "f3369tYECpPVJGWDo7sIHaO", "Utils"), Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var o = function() {
+            function e() {}
+            return e.getBezierPos = function(e, t) {
+                var n = new Array,
+                    o = e.length;
+                if (o < 2) return cc.log("\u63a7\u5236\u70b9\u6570\u4e0d\u80fd\u5c0f\u4e8e 2"), n;
+                for (var c = this.getYangHuiTriangle(o), a = 0; a < t; a++) {
+                    for (var i = a / t, r = 0, s = 0, l = 0; l < o; l++) r += Math.pow(1 - i, o - l - 1) * e[l].x * Math.pow(i, l) * c[l], s += Math.pow(1 - i, o - l - 1) * e[l].y * Math.pow(i, l) * c[l];
+                    n[a] = new cc.Vec2(r, s)
+                }
+                return n
+            }, e.getYangHuiTriangle = function(e) {
+                var t = new Array;
+                if (1 === e) t[0] = 1;
+                else {
+                    t[0] = t[1] = 1;
+                    for (var n = 3; n <= e; n++) {
+                        for (var o = new Array, c = 0; c < n - 1; c++) o[c] = t[c];
+                        t[0] = t[n - 1] = 1;
+                        for (c = 0; c < n - 2; c++) t[c + 1] = o[c] + o[c + 1]
+                    }
+                }
+                return t
+            }, e.ConvertPosition = function(e, t) {
+                if (e.parent == t.parent) return e.position;
+                var n = e.convertToWorldSpaceAR(cc.v2(0, 0));
+                return t.convertToNodeSpaceAR(n)
+            }, e.ConvertAngle = function(e, t) {
+                for (var n = e.parent, o = e.angle; null != n;) o += n.angle, n = n.parent;
+                for (var c = t.parent, a = t.angle; null != c;) a += c.angle, c = c.parent;
+                return o - a
+            }, e.ConvertAngleValue = function(e, t, n) {
+                for (var o = e, c = t; null != o;) c += o.angle, o = o.parent;
+                for (var a = n.parent, i = n.angle; null != a;) i += a.angle, a = a.parent;
+                return c - i
+            }, e.ConvertScale = function(e, t) {
+                for (var n = e.parent, o = e.scaleX, c = e.scaleY; null != n;) o *= n.scaleX, c *= n.scaleY, n = n.parent;
+                for (var a = t.parent, i = t.scaleX, r = t.scaleY; null != a;) i *= a.scaleX, r *= a.scaleY, a = a.parent;
+                var s = o;
+                0 != i && (s /= i);
+                var l = c;
+                return 0 != r && (l /= r), cc.v2(s, l)
+            }, e.Random = function(e, t) {
+                return Math.random() * (t - e) + e
+            }, e.RandomInteger = function(e, t) {
+                return Math.floor(Math.random() * (t - e) + e)
+            }, e.AngleToRadian = function(e) {
+                return e * Math.PI / 180
+            }, e.CenteredUi = function(e) {
+                for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
+                for (var o = (t.length - 1) * e, c = 0; c < t.length; c++) {
+                    t[c].getComponent(cc.Label);
+                    o += t[c].width
+                }
+                var a = .5 * -o;
+                for (c = 0; c < t.length; c++) 0 != c && (a += e), t[c].x = a + .5 * t[c].width, a += t[c].width
+            }, e.CheckPolygonNodeCollision = function(t, n) {
+                var o = t.getComponent(cc.PolygonCollider),
+                    c = n.getComponent(cc.PolygonCollider);
+                if (null == o || null == c) return !1;
+                for (var a = new Array, i = 0; i < o.points.length; i++) {
+                    var r = cc.v2(o.points[i].x, o.points[i].y);
+                    a.push(r)
+                }
+                var s = new Array;
+                for (i = 0; i < c.points.length; i++) {
+                    r = cc.v2(c.points[i].x, c.points[i].y);
+                    s.push(r)
+                }
+                var l = t.convertToWorldSpaceAR(cc.v2(0, 0));
+                l = cc.find("Canvas").convertToNodeSpaceAR(l), l = t.position;
+                for (i = 0; i < a.length; i++) a[i].rotateSelf(e.AngleToRadian(t.angle)), a[i] = l.add(a[i]);
+                var u = n.convertToWorldSpaceAR(cc.v2(0, 0));
+                u = cc.find("Canvas").convertToNodeSpaceAR(u), u = n.position;
+                for (i = 0; i < s.length; i++) s[i].rotateSelf(e.AngleToRadian(n.angle)), s[i] = u.add(s[i]);
+                return cc.Intersection.polygonPolygon(a, s)
+            }, e.getRandomNum = function(e, t, n) {
+                return void 0 === n && (n = !1), n ? Math.floor(Math.random() * (t - e + 1) + e) : Math.random() * (t - e) + e
+            }, e.RandomIndexFromArr = function(e) {
+                for (var t = new Array, n = new Array, o = 0, c = 0; c < e.length; c++) e[c] > 0 && (t.push(e[c]), n.push(c), o += e[c]);
+                var a = 100 / o;
+                for (c = 0; c < t.length; c++) t[c] *= a, t[c] = Math.round(t[c]);
+                var i = Math.floor(100 * Math.random()),
+                    r = -1;
+                for (c = 0; c < t.length; c++) {
+                    for (var s = 0, l = c; l >= 0; l--) s += t[l];
+                    i >= s - t[c] && i < s && (r = c)
+                }
+                return -1 == r && (r = 0), n[r]
+            }, e.ArrayHaveElement = function(e, t) {
+                if (null == e || null == t) return !1;
+                for (var n = !1, o = 0; o < e.length; o++)
+                    if (e[o] == t) {
+                        n = !0;
+                        break
+                    }
+                return n
+            }, e.DisruptionArray = function(t) {
+                for (var n = 0; n < t.length; n++) {
+                    var o = e.RandomInteger(0, t.length),
+                        c = t[o];
+                    t[o] = t[n], t[n] = c
+                }
+                return t
+            }, e.localConvertWorldPointAR = function(e) {
+                return e ? e.convertToWorldSpaceAR(cc.v2(0, 0)) : null
+            }, e.worldConvertLocalPointAR = function(e, t) {
+                return e ? e.convertToNodeSpaceAR(t) : null
+            }, e.convetOtherNodeSpaceAR = function(e, t) {
+                if (!e || !t) return null;
+                var n = this.localConvertWorldPointAR(e);
+                return this.worldConvertLocalPointAR(t, n)
+            }, e.returnCurrentLanType = function() {
+                var e = 1;
+                switch (cc.sys.language) {
+                    case cc.sys.LANGUAGE_CHINESE:
+                        "zh-TW" == window.navigator.language || "zh-tw" == window.navigator.language || "zh-HK" == window.navigator.language || "zh-hk" == window.navigator.language ? (cc.log("\u7e41\u4f53"), e = 2) : (cc.log("\u7b80\u4f53"), e = 1);
+                        break;
+                    case cc.sys.LANGUAGE_KOREAN:
+                        e = 4;
+                        break;
+                    default:
+                        e = 3
+                }
+                return e
+            }, e.cbPosToWorldPos = function(e, t, n, o, c, a) {
+                var i = n + (e.x - t.x / 2 + .5) * c,
+                    r = o + (e.y + .5) * a;
+                return cc.v2(i, r)
+            }, e.worldPosToCbPos = function(e, t, n, o, c, a) {
+                var i = (e.x - n) / c - .5 + t / 2,
+                    r = (e.y - o) / a - .5;
+                return i % 1 == 0 && r % 1 == 0 || (i = Math.round(i), r = Math.round(r)), cc.v2(i, r)
+            }, e.judgeInArr = function(e, t) {
+                for (var n = 0; n < t.length; n++)
+                    if (t[n] === e) return !0;
+                return !1
+            }, e.getAngle = function(e, t) {
+                var n = t.x - e.x,
+                    o = t.y - e.y;
+                return 360 * Math.atan(o / n) / (2 * Math.PI)
+            }, e.judgeIntersect = function(e, t, n, o, c, a, i, r) {
+                return Math.min(e, n) <= Math.max(c, i) && Math.min(a, r) <= Math.max(t, o) && Math.min(c, i) <= Math.max(e, n) && Math.min(t, o) <= Math.max(a, r) && (((c - e) * (o - t) - (n - e) * (a - t)) * ((i - e) * (o - t) - (n - e) * (r - t)) <= 1e-8 && ((e - c) * (r - a) - (i - c) * (t - a)) * ((n - c) * (r - a) - (i - c) * (o - a)) <= 1e-8)
+            }, e.getNormalizeVector = function(e, t) {
+                return t.sub(e).normalize()
+            }, e.judgeItemOverlapping = function(e, t, n, o, c, a, i, r) {
+                return !(e + n < c || c + i < e || t + o < a || a + r < t)
+            }, e.getCircumferencePos = function(e, t, n) {
+                var o = cc.v2(0, 0);
+                return o.x = e.x + Math.sin(2 * Math.PI / 360 * n) * t, o.y = e.y + Math.cos(2 * Math.PI / 360 * n) * t, o
+            }, e.upsetArr = function(e) {
+                return e.sort(function(e, t) {
+                    return Math.random() > .5 ? -1 : 1
+                })
+            }, e.getAudio = function(e, t) {
+                return cc.sys.os === cc.sys.OS_IOS ? e : t
+            }, e.setLocalData = function(e, t) {
+                cc.sys.localStorage.setItem(e, t)
+            }, e.getLocalData = function(e) {
+                return cc.sys.localStorage.getItem(e)
+            }, e.getNodePos = function(e, t, n) {
+                return n ? e.convertToNodeSpaceAR(t.convertToWorldSpaceAR(n)) : e.convertToNodeSpaceAR(t.convertToWorldSpaceAR())
+            }, e.findAllItemIndex = function(e, t) {
+                for (var n = 0, o = [], c = n; c < t.length; c++) t[c] == e && (n = c, o.push(c));
+                return o
+            }, e.judgeArrSame = function(e, t) {
+                for (var n = 0; n < e.length; n++)
+                    for (var o = 0; o < t.length; o++)
+                        if (e[n] !== t[o]) return !1;
+                return !0
+            }, e.count = function(e, t) {
+                return e.reduce(function(e, n) {
+                    return n === t ? e + 1 : e
+                }, 0)
+            }, e.pDistance = function(e, t) {
+                return e.sub(t).mag()
+            }, e.getAngleByVector = function(e) {
+                return e.y < 0 ? 360 - cc.v2(1, 0).angle(e) / Math.PI * 180 : cc.v2(1, 0).angle(e) / Math.PI * 180
+            }, e.getBoundingBoxToNode = function(e, t) {
+                var n = t.convertToNodeSpaceAR(e.convertToWorldSpaceAR(cc.v2(-e.anchorX * e.width * (e.scaleX / Math.abs(e.scaleX)), -e.anchorY * e.height * (e.scaleY / Math.abs(e.scaleY)))));
+                return cc.rect(n.x, n.y, e.width * Math.abs(e.scaleX), e.height * Math.abs(e.scaleY))
+            }, e.degreesToVectors = function(e) {
+                var t = cc.misc.degreesToRadians(e);
+                return cc.v2(0, 1).rotate(-t)
+            }, e.VectorsdegreesToVectors = function(e, t) {
+                var n = cc.misc.degreesToRadians(t);
+                return e.rotate(-n)
+            }, e.vectorsToDegress = function(e) {
+                if (Math.abs(e.x) + Math.abs(e.y) !== 0) {
+                    var t = cc.v2(0, 1),
+                        n = cc.v2(e).signAngle(t);
+                    return cc.misc.radiansToDegrees(n)
+                }
+                return 0
+            }, e.judgeArrExist = function(e, t) {
+                for (var n = 0; n < e.length; n++)
+                    if (e[n] === t) return !0;
+                return !1
+            }, e.deleteArrItem = function(e, t) {
+                for (var n = 0; n < e.length; n++)
+                    if (e[n] === t) return void e.splice(n, 1)
+            }, e.UpsetArr = function(e) {
+                for (var t, n = e.length; n;) {
+                    var o = Math.floor(Math.random() * n--);
+                    t = [e[n], e[o]], e[o] = t[0], e[n] = t[1]
+                }
+                return e
+            }, e.sortArr = function(e, t) {
+                for (var n = 0; n < e.length - 1; n++)
+                    for (var o = 0; o < e.length - 1; o++) {
+                        switch (t) {
+                            case 0:
+                                var c = e[o] > e[o + 1];
+                                break;
+                            case 1:
+                                c = e[o].x > e[o + 1].x;
+                                break;
+                            case 2:
+                                c = e[o].y > e[o + 1].y
+                        }
+                        if (c) {
+                            var a = e[o];
+                            e[o] = e[o + 1], e[o + 1] = a
+                        }
+                    }
+            }, e.getPointByCPAndAngleAndLen = function(e, t, n) {
+                var o = t * Math.PI / 180,
+                    c = n * Math.cos(o),
+                    a = n * Math.sin(o);
+                return cc.p(e.x + a, e.y + c)
+            }, e.setSprite = function(e, t, n) {
+                var o = e.getSpriteFrame(n);
+                t.getComponent(cc.Sprite).spriteFrame = o
+            }, e.logArr = function(e) {
+                for (var t = "", n = 0; n < e.length; n++) t += e[n].x + ",", t += e[n].y + ",";
+                cc.log(t)
+            }, e.analysisArr = function(e) {
+                for (var t = [], n = 0; n < e.length; n++)
+                    if (n % 2 == 0) {
+                        var o = cc.v2(e[n], e[n + 1]);
+                        t.push(o)
+                    }
+                return t
+            }, e.DetermineTheAngle = function(e, t) {
+                var n = e.x - t.x,
+                    o = e.y - t.y,
+                    c = cc.v2(n, o);
+                return Math.atan2(c.x, c.y) * (180 / Math.PI)
+            }, e
+        }();
+        n.default = o, cc._RF.pop()
+    }, {}],
+    WallUpdate: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "9f05e4uSUJBf7dp3DMjGgbj", "WallUpdate");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = cc._decorator,
+            i = a.ccclass,
+            r = a.property,
+            s = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.mainCamera = null, t.leftUpWall = null, t.leftDownWall = null, t.rightUpWall = null, t.rightDownWall = null, t
+                }
+                return o(t, e), t.prototype.update = function(e) {
+                    if (this.leftUpWall.y - this.mainCamera.y > this.leftUpWall.height) {
+                        this.leftUpWall.y = this.leftDownWall.y - this.leftDownWall.height;
+                        var t = this.leftUpWall;
+                        this.leftUpWall = this.leftDownWall, this.leftDownWall = t
+                    }
+                    if (this.rightUpWall.y - this.mainCamera.y > this.rightUpWall.height) {
+                        this.rightUpWall.y = this.rightDownWall.y - this.rightDownWall.height;
+                        t = this.rightUpWall;
+                        this.rightUpWall = this.rightDownWall, this.rightDownWall = t
+                    }
+                }, c([r(cc.Node)], t.prototype, "mainCamera", void 0), c([r(cc.Node)], t.prototype, "leftUpWall", void 0), c([r(cc.Node)], t.prototype, "leftDownWall", void 0), c([r(cc.Node)], t.prototype, "rightUpWall", void 0), c([r(cc.Node)], t.prototype, "rightDownWall", void 0), t = c([i], t)
+            }(cc.Component);
+        n.default = s, cc._RF.pop()
+    }, {}],
+    bfPrefabJs: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "813eeXgvcJG96hqXhg+nvJ0", "bfPrefabJs"), cc.Class({
+            extends: cc.Component,
+            properties: {
+                wing_r: cc.Node,
+                wing_l: cc.Node
+            },
+            onLoad: function() {
+                this.wing_r = new cc.Node, this.wing_l = new cc.Node, this.startFun()
+            },
+            startFun: function() {
+                this.wing_r.stopAllActions(), this.wing_l.stopAllActions(), this.wingAction(), this.isUser = !0, this.isUpdate = !0, this.turnNum = other.randomInt(10, 20), this.mosquitoSpeedLen = 2, this.mosquitoSpeedMaxR = 4, this.mosquitoSpeedR = 0, this.mosquitoTargetR = 0, this.mosquitoTargetMaxR = 359, this.mosquitoAddR = !0, this.mapScale = 1, this.onEdgeFlag = !0, this.isTurn = !1, this.scheduleOnce(function() {
+                    this.isTurn = !0, this.setMosquitoSpeed()
+                }, 2)
+            },
+            wingAction: function() {
+                this.wing_r.runAction(cc.repeatForever(cc.sequence(cc.scaleTo(.2, 1).easing(cc.easeSineInOut()), cc.scaleTo(.2, .4, 1).easing(cc.easeSineInOut())))), this.wing_l.runAction(cc.repeatForever(cc.sequence(cc.scaleTo(.2, -1, 1).easing(cc.easeSineInOut()), cc.scaleTo(.2, -.4, 1).easing(cc.easeSineInOut()))))
+            },
+            start: function() {},
+            setMosquitoSpeed: function() {
+                this.node.angle >= 360 ? this.node.angle -= 360 : this.node.angle < 0 && (this.node.angle += 360), this.mosquitoSpeedR = Math.random() * this.mosquitoSpeedMaxR * 2 - this.mosquitoSpeedMaxR;
+                var e = Math.random() * this.mosquitoTargetMaxR * (Math.abs(this.mosquitoSpeedR) / (this.mosquitoSpeedMaxR + .4 * this.mapScale));
+                this.mosquitoSpeedR > 0 ? (this.mosquitoTargetR = this.node.angle + e, this.mosquitoAddR = !0) : (this.mosquitoTargetR = this.node.angle - e, this.mosquitoAddR = !1), this.checkEdgeDelayCount = 0, this.onEdgeFlag && Math.abs(this.mosquitoSpeedR) > 2 && (this.mosquitoSpeedR = this.mosquitoSpeedR / 3 * 2, this.mosquitoTargetR = this.mosquitoTargetR / 3 * 2), this.onEdgeFlag = !1, this.turnNum--, this.turnNum <= 0 && (this.isTurn = !1)
+            },
+            updateMosquito: function() {
+                var e = this.mosquitoSpeedLen,
+                    t = this.mosquitoSpeedR,
+                    n = this.mosquitoTargetR,
+                    c = this.node,
+                    a = o.getPointByCPAndAngleAndLen(c.getPosition(), c.angle + t, e);
+                c.setPosition(a), c.angle += t, this.mosquitoAddR ? c.angle >= n && this.setMosquitoSpeed() : c.angle <= n && this.setMosquitoSpeed()
+            },
+            setPos: function() {
+                this.node.position.x < 0 ? this.newPos = cc.v2(-GameData.gameWidth / 2 - 100, this.node.position.y) : this.newPos = cc.v2(GameData.gameWidth / 2 + 100, this.node.position.y), this.isUser = !1
+            },
+            setPos_1: function() {
+                this.isUpdate = !1, this.scheduleOnce(function() {
+                    this.isUpdate = !0, this.setPos()
+                }, .5)
+            },
+            update: function(e) {
+                this.isUpdate && (this.isUser ? this.isTurn ? (this.updateMosquito(), this.checkOnEdge(!0)) : this.updateMove(e) : (this.updateMove_1(e), this.checkOnEdge(!1)))
+            },
+            updateMove_1: function(e) {
+                this.dir = other.getNormalizeVector(this.node.getPosition(), this.newPos);
+                var t = 1 * (this.dir.x * this.mosquitoSpeedLen * 3),
+                    n = 1 * (this.dir.y * this.mosquitoSpeedLen * 3),
+                    o = this.node.x + t,
+                    c = this.node.y + n;
+                this.node.x = o, this.node.y = c;
+                var a = 180 * Math.atan2(this.dir.y, this.dir.x) / Math.PI;
+                a = 360 - a + 90, this.node.angle = a
+            },
+            updateMove: function(e) {
+                this.dir = other.getNormalizeVector(this.node.getPosition(), cc.v2(0, 100));
+                var t = 1 * (this.dir.x * this.mosquitoSpeedLen),
+                    n = 1 * (this.dir.y * this.mosquitoSpeedLen),
+                    o = this.node.x + t,
+                    c = this.node.y + n;
+                this.node.x = o, this.node.y = c;
+                var a = 180 * Math.atan2(this.dir.y, this.dir.x) / Math.PI;
+                a = 360 - a + 90, this.node.angle = a
+            },
+            setMosquitoBackSpeed: function() {
+                this.isTurn = !1, this.scheduleOnce(function() {
+                    this.isTurn = !0, this.setMosquitoSpeed()
+                }, 2)
+            },
+            checkOnEdge: function(e) {
+                this.node.x > GameData.gameWidth / 2 + 100 ? e ? this.setMosquitoBackSpeed() : this.node.active = !1 : this.node.x < -GameData.gameWidth / 2 - 100 ? e ? this.setMosquitoBackSpeed() : this.node.active = !1 : this.node.y > GameData.gameHeight / 2 + 100 ? e ? this.setMosquitoBackSpeed() : this.node.active = !1 : this.node.y < -GameData.gameHeight / 2 - 100 && (e ? this.setMosquitoBackSpeed() : this.node.active = !1)
+            }
+        });
+        var o = {
+            getAngle: function(e, t, n, o) {
+                var c = Math.abs(e - n),
+                    a = Math.abs(t - o),
+                    i = a / Math.sqrt(Math.pow(c, 2) + Math.pow(a, 2)),
+                    r = Math.acos(i),
+                    s = 180 / (Math.PI / r);
+                return t > o && (s = 180 - s), e > n && (s *= -1), s
+            },
+            getPointByCPAndAngleAndLen: function(e, t, n) {
+                var o = t * Math.PI / 180,
+                    c = n * Math.cos(o),
+                    a = n * Math.sin(o);
+                return cc.v2(e.x + a, e.y + c)
+            }
+        };
+        cc._RF.pop()
+    }, {}],
+    fruitData: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "55375yB7OxHJ6SSoJ5ShoDj", "fruitData");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../common/PlayerInfo"),
+            i = e("./GameFunction"),
+            r = e("../Common/PoolManager"),
+            s = e("../Common/Utils"),
+            l = e("../common/DynamicLoad"),
+            u = e("./MainGameUi"),
+            d = e("./AudioManager"),
+            p = cc._decorator,
+            f = p.ccclass,
+            h = p.property,
+            m = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.levelNumber = 0, t.fruitNumber = 0, t.bianjieX = 0, t.pengzhuangCount = 0, t.notTargetTime = 0, t.returnNumber = !1, t.getNumberTime = 0, t.endCtrl = !1, t.endOne = 0, t.wallColl = 0, t.testEndDJS = 0, t
+                }
+                return o(t, e), t.prototype.onLoad = function() {}, t.prototype.start = function() {
+                    this.bianjieX = 360 - this.node.width / 2
+                }, t.prototype.update = function(e) {
+                    var t = this;
+                    if (this.node.x < -this.bianjieX && (this.node.x = -this.bianjieX), this.node.x > this.bianjieX && (this.node.x = this.bianjieX), this.notTargetTime += e, this.returnNumber && (this.scheduleOnce(function() {
+                            t.getNumberTime = 0
+                        }, .25), this.returnNumber = !1), "fruitNode" == this.node.parent.name && (this.testEndDJS += e), this.node.y + this.node.width / 2 > cc.find("Canvas/lineNode").children[0].y && 0 == this.pengzhuangCount && this.endCtrl && 0 == this.endOne && this.testEndDJS > 3) {
+                        a.default.GameUpdateCtrl = !1, a.default.playerTouch = !1;
+                        for (var n = 0; n < cc.find("Canvas/fruitNode").children.length; n++) cc.find("Canvas/fruitNode").children[n].removeComponent(cc.PhysicsCircleCollider), cc.find("Canvas/fruitNode").children[n].removeComponent(cc.RigidBody);
+                        this.node.color = cc.Color.RED, cc.tween(this.node).to(.3, {
+                            opacity: 0
+                        }).to(.3, {
+                            opacity: 255
+                        }).union().repeat(3).call(function() {
+                            i.default.Instance.end(), cc.find("Canvas/lineNode").children[0].active = !1
+                        }).start(), this.endOne++
+                    }
+                }, t.prototype.setGridInfo = function() {}, t.prototype.getNumber = function() {
+                    var e = this.getNumberTime;
+                    return this.getNumberTime++, this.returnNumber = !0, e
+                }, t.prototype.onBeginContact = function(e, t, n) {
+                    var o = this;
+                    if ("downwall" == n.node.group && (t.node.parent = cc.find("Canvas/fruitNode"), 0 == this.wallColl && (d.default.Instance.Play(5, !1, 1), this.wallColl++)), "fruit" == n.node.group) {
+                        if (this.endCtrl = !0, t.node.y < n.node.y) return;
+                        t.node.parent = cc.find("Canvas/fruitNode"), i.default.Instance.fruitHeigth = i.default.Instance.findHighestFruit(), null != t.node.getComponent(cc.RigidBody) && (t.node.getComponent(cc.RigidBody).angularVelocity = 0);
+                        var c = this.fruitNumber,
+                            r = n.node.getComponent("fruitData").fruitNumber;
+                        c == r && c < 9 && r < 9 ? (this.pengzhuangCount += 1, 0 == t.node.getComponent("fruitData").getNumber() && (a.default.score += this.fruitNumber + 1, u.default.Instance.SetScoreTween(a.default.score), n.node.getComponent(cc.PhysicsCircleCollider).radius = 0, n.node.getComponent(cc.PhysicsCircleCollider).apply(), this.node.getComponent(cc.PhysicsCircleCollider).radius = 0, this.node.getComponent(cc.PhysicsCircleCollider).apply(), cc.tween(t.node).to(.1, {
+                            position: n.node.position
+                        }).call(function() {
+                            i.default.Instance.createFruitSui(o.fruitNumber, n.node.position), i.default.Instance.createFruitL(o.fruitNumber, n.node.position, n.node.width), i.default.Instance.createLevelUpFruit(o.fruitNumber + 1, n.node.position), n.node.active = !1, t.node.active = !1, n.node.destroy(), t.node.destroy()
+                        }).start())) : c == r && 9 == c && 9 == r && (this.pengzhuangCount += 1, 0 == t.node.getComponent("fruitData").getNumber() && (a.default.score += this.fruitNumber + 1, u.default.Instance.SetScoreTween(a.default.score), n.node.getComponent(cc.PhysicsCircleCollider).radius = 0, n.node.getComponent(cc.PhysicsCircleCollider).apply(), this.node.getComponent(cc.PhysicsCircleCollider).radius = 0, this.node.getComponent(cc.PhysicsCircleCollider).apply(), a.default.playerTouch = !1, cc.tween(t.node).to(.1, {
+                            position: n.node.position
+                        }).call(function() {
+                            i.default.Instance.createFruitSui(o.fruitNumber, n.node.position), i.default.Instance.createFruitL(o.fruitNumber, n.node.position, n.node.width), i.default.Instance.createLevelUpFruit(o.fruitNumber + 1, n.node.position);
+                            var e = cc.find("Canvas/upEffectParent").getChildByName("daxigua");
+                            e.active = !0, e.opacity = 0, cc.tween(e).to(.5, {
+                                opacity: 150
+                            }).start();
+                            var c = new cc.Node;
+                            c.addComponent(cc.Sprite).spriteFrame = l.default.Instance.fruit[10], c.parent = cc.find("Canvas/upEffectParent"), c.position = cc.v2(0, -500), c.scale = 0;
+                            var r = new cc.Node;
+                            r.addComponent(cc.Sprite).spriteFrame = l.default.Instance.caidia[6], r.scale = 3, r.parent = c, r.position = cc.v2(0), cc.tween(r).by(5, {
+                                angle: 360
+                            }).repeatForever().start();
+                            var s = new cc.Node;
+                            s.addComponent(cc.Sprite).spriteFrame = l.default.Instance.fruit[10], s.parent = c, s.position = cc.v2(0), d.default.Instance.Play(4, !1, 1), i.default.Instance.ribbonEffect(cc.v2(0, 0)), c.runAction(cc.sequence(cc.spawn(cc.jumpBy(1, 0, 0, 300, 1), cc.scaleTo(1, 1)), cc.delayTime(1), cc.spawn(cc.moveTo(1, cc.v2(0, 500)), cc.scaleTo(1, 0)), cc.callFunc(function() {
+                                a.default.score += 100, u.default.Instance.SetScoreTween(a.default.score), e.active = !1, a.default.playerTouch = !0, c.destroy()
+                            }))), n.node.active = !1, t.node.active = !1, n.node.destroy(), t.node.destroy()
+                        }).start()))
+                    }
+                }, t.prototype.createBoom = function() {
+                    var e = r.default.Spawn("boom", cc.find("Canvas/upEffectParent"));
+                    e.position = this.node.position, e.runAction(cc.sequence(cc.delayTime(.5), cc.fadeOut(.5)))
+                }, t.prototype.createStar = function() {
+                    var e = r.default.Spawn("star", cc.find("Canvas/upEffectParent"));
+                    e.scale = s.default.Random(.1, 1);
+                    var t = this.node.x + this.node.width / 2,
+                        n = this.node.x - this.node.width / 2,
+                        o = this.node.y;
+                    e.position = cc.v2(s.default.RandomInteger(n, t), o), e.runAction(cc.fadeOut(2))
+                }, t.prototype.planeBoomEffect = function() {
+                    r.default.Spawn("boom", cc.find("Canvas/upEffectParent")).position = s.default.convetOtherNodeSpaceAR(this.node, cc.find("Canvas/upEffectParent"))
+                }, t.prototype.clockEoilffect = function(e, t) {
+                    for (var n = 0; n < 3; n++) setTimeout(function() {
+                        var t = r.default.Spawn("star", cc.find("Canvas/upEffectParent"));
+                        t.position = e.position, t.scale = .3, t.runAction(cc.sequence(cc.scaleTo(.5, 1.1), cc.fadeOut(.5)))
+                    }, 300 * n)
+                }, t.prototype.addScoreEffect = function() {
+                    var e = r.default.Spawn("add1", cc.find("Canvas/mainGameUi"));
+                    e.position = cc.find("Canvas/mainGameUi").children[0].position.add(cc.v2(0, 50)), e.runAction(cc.spawn(cc.moveBy(.5, 0, 50), cc.fadeOut(.5)))
+                }, c([h()], t.prototype, "fruitNumber", void 0), t = c([f], t)
+            }(cc.Component);
+        n.default = m, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager",
+        "../Common/Utils": "Utils",
+        "../common/DynamicLoad": "DynamicLoad",
+        "../common/PlayerInfo": "PlayerInfo",
+        "./AudioManager": "AudioManager",
+        "./GameFunction": "GameFunction",
+        "./MainGameUi": "MainGameUi"
+    }],
+    gameOverJs: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "3621brbM61BsYFG7fM/74TL", "gameOverJs");
+        var o = e("GameUiTools"),
+            c = e("GameConfig"),
+            a = e("MainManage");
+        cc.Class({
+            extends: cc.Component,
+            properties: {
+                bgLayer: cc.Node,
+                scoreBg: cc.Node,
+                overScoreT: cc.Label,
+                overInfoT: cc.Label,
+                moreBtn: cc.Button,
+                leftBtn: cc.Button,
+                rightBtn: cc.Button,
+                midGameText: cc.Label,
+                leftBtnText: cc.Label,
+                rightBtnText: cc.Label,
+                maxScoreText: cc.Label
+            },
+            onLoad: function() {
+                this.bgLayer.color = cc.color("#68b951"), this.standardScore = c.standScore, this.game_max_score = 200, this.rigthBtnGameName = null, this.rightBtnGameUrl = null, this.UIPosChange(), this.addClickBtns();
+                var e = "\u6700\u9ad8\u7eaa\u5f55:",
+                    t = this.returnCurrentLanType();
+                e = 1 == t ? "\u6700\u9ad8\u7eaa\u5f55:" : 2 == t ? "\u6700\u9ad8\u7d00\u9304:" : 4 == t ? "\ucd5c\uace0 \uae30\ub85d:" : "Highest Record:";
+                var n = c.gameScore,
+                    o = this.getHighScore();
+                o ? o < c.gameScore && (this.setHisSocre(c.gameScore), o = c.gameScore) : (this.setHisSocre(c.gameScore), o = n), this.maxScoreText.string = e + o
+            },
+            returnCurrentLanType: function() {
+                var e = 1;
+                switch (cc.sys.language) {
+                    case cc.sys.LANGUAGE_CHINESE:
+                        "zh-TW" == window.navigator.language || "zh-tw" == window.navigator.language || "zh-HK" == window.navigator.language || "zh-hk" == window.navigator.language ? (cc.log("\u7e41\u4f53"), e = 2) : (cc.log("\u7b80\u4f53"), e = 1);
+                        break;
+                    case cc.sys.LANGUAGE_KOREAN:
+                        e = 4;
+                        break;
+                    default:
+                        e = 3
+                }
+                return e
+            },
+            setHisSocre: function(e) {
+                cc.sys.localStorage.setItem("HigScore_JiaoTong", e)
+            },
+            getHighScore: function() {
+                return cc.sys.localStorage.getItem("HigScore_JiaoTong")
+            },
+            UIPosChange: function() {
+                this.overScoreT.string = c.gameScore, console.log("lang", a.langugeType);
+                var e = null;
+                e = 1 == a.langugeType ? this.getContentByScore(c.gameScore, a.gameNameText) : this.getContentByScore2(c.gameScore, a.gameNameText), console.log("nihao", a.endHttpShowInfo), null != a.endHttpShowInfo && "" != a.endHttpShowInfo && (cc.log("gototo"), e = a.endHttpShowInfo), this.overInfoT.string = e;
+                var t = this.overInfoT.node.height;
+                if (this.overInfoT.node.height = Math.ceil(e.length * this.overInfoT.fontSize / this.overInfoT.node.width) * t, document.title = e, console.log("gameOver txtMoreText", a.txtMoreText), this.midGameText.string = a.txtMoreText, this.leftBtnText.string = a.txtAgainText, this.tempArr = this.gameFocus(), null != a.ranLinkUrl()) {
+                    var n = a.ranLinkUrl(),
+                        o = a.ranLinkData.gameList[n].gameName;
+                    this.rigthBtnGameName = o, this.rightBtnGameUrl = a.ranLinkData.gameList[n].gameUrl
+                }
+                null != this.rigthBtnGameName && "" != this.rigthBtnGameName ? this.rightBtnText.string = this.rigthBtnGameName : this.rightBtnText.string = this.tempArr[0]
+            },
+            gameFocus: function() {
+                var e = [],
+                    t = null,
+                    n = null;
+                return Math.random() <= .5 ? (t = a.gameEndName1, n = a.gameEndUrl1) : (t = a.gameEndName2, n = a.gameEndUrl2), e.push(t), e.push(n), e
+            },
+            addClickBtns: function() {
+                var e = this;
+                e.moreBtn.node.on(cc.Node.EventType.TOUCH_START, function(e) {}), e.moreBtn.node.on(cc.Node.EventType.TOUCH_END, function(e) {
+                    console.log("MoreGame"), window.location.href = a.moreGameUrl
+                }), e.leftBtn.node.on(cc.Node.EventType.TOUCH_START, function(e) {}), e.leftBtn.node.on(cc.Node.EventType.TOUCH_END, function(e) {
+                    c.GAME_OVER_BOOL = !0, c.gameScore = 0, o.loadingScene("MainGameScene")
+                }), e.rightBtn.node.on(cc.Node.EventType.TOUCH_START, function(e) {}), e.rightBtn.node.on(cc.Node.EventType.TOUCH_END, function(t) {
+                    var n = null;
+                    n = null != e.rightBtnGameUrl && "" != e.rightBtnGameUrl ? e.rightBtnGameUrl : e.tempArr[1], window.location.href = n
+                })
+            },
+            getContentByScore: function(e, t) {
+                var n = "\u6211\u771f\u662f\u592a\u5389\u5bb3\uff0c\u5728" + t + "\u4e2d\u7adf\u7136\u5f97\u4e861\u5206\uff0c\u5168\u7403\u53ea\u67091\u4e2a\u4eba\u5f971\u5206\uff01",
+                    o = parseInt(.3 * this.standardScore),
+                    c = parseInt(1.5 * this.standardScore),
+                    a = parseInt(2.5 * this.standardScore),
+                    i = parseInt(4 * this.standardScore);
+                if (e > 0 && e <= o) n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e + "\u5206\uff0c\u771f\u662f\u592a\u68d2\u4e86\uff0c\u518d\u7ec3\u7ec3\u5c31\u80fd\u8fbe\u5230\u6e38\u5203\u6709\u4f59\u7684\u5883\u754c\uff01";
+                else if (e > o && e <= this.standardScore) n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e + "\u5206\uff0c\u771f\u662f\u592a\u68d2\u4e86\uff0c\u518d\u7ec3\u7ec3\u5c31\u80fd\u8fbe\u5230\u6e38\u5203\u6709\u4f59\u7684\u5883\u754c\uff01";
+                else if (e > this.standardScore && e <= c) {
+                    n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e + "\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u7403" + (Math.floor(12 * (e - this.standardScore) / (c - this.standardScore)) + 80) + "%\u7684\u73a9\u5bb6\uff0c\u8fdb\u5165\u4e86\u4fe1\u624b\u62c8\u6765\u7684\u5883\u754c\uff01"
+                } else if (e > c && e <= a) {
+                    n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e + "\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u7403" + (Math.floor(7 * (e - c) / (a - c)) + 92) + "%\u7684\u73a9\u5bb6\uff0c\u8fdb\u5165\u4e86\u8fd0\u7528\u81ea\u5982\u7684\u5883\u754c\uff01"
+                } else if (e > a && e <= i) n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e + "\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u740399%\u7684\u73a9\u5bb6\uff0c\u8fbe\u5230\u4e86\u884c\u4e91\u6d41\u6c34\u7684\u5883\u754c\uff01";
+                else if (e > i && e < this.game_max_score) {
+                    n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e + "\u5206\uff0c\u636e\u8bf4\u5168\u7403\u53ea\u6709 " + (20 - Math.ceil(17 * (e - i) / (this.game_max_score - i))) + "\u4e2a\u4eba\u8fbe\u5230\u8fd9\u4e2a\u6c34\u5e73\uff0c\u72ec\u5b64\u6c42\u8d25\uff01"
+                } else e >= this.game_max_score && (n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e + "\u5206\uff0c\u8d85\u8d8a\u4e86\u72ec\u5b64\u6c42\u8d25\uff0c\u5fc3\u6709\u7075\u7280\uff01");
+                return n
+            },
+            strlen: function(e) {
+                for (var t = 0, n = 0; n < e.length; n++) {
+                    var o = e.charCodeAt(n);
+                    o >= 1 && o <= 126 || 65376 <= o && o <= 65439 ? t++ : t += 2
+                }
+                return t
+            },
+            getContentByScore2: function(e, t) {
+                var n = "I'm awesome\uff0cin" + t + "get 0 score\uff0conly one person in the world has a 0\uff01",
+                    o = parseInt(.3 * this.standardScore),
+                    c = parseInt(1.5 * this.standardScore),
+                    a = parseInt(2.5 * this.standardScore),
+                    i = parseInt(4 * this.standardScore);
+                if (e >= this.game_max_score) n = "I got " + e + " points in the game, defeating all players worldwide, waiting for you to fight!";
+                else if (e > 0 && e <= o) n = "I got " + e + " points in the game, really great\uff01";
+                else if (e > o && e <= this.standardScore) n = "I got " + e + " points in the game, really great\uff01";
+                else if (e > this.standardScore && e <= c) {
+                    n = "I got in the game in " + e + " points, beating out " + (Math.floor(12 * (e - this.standardScore) / (c - this.standardScore)) + 80) + "% of global players\uff01"
+                } else if (e > c && e <= a) {
+                    n = "I got in the game in " + e + " points, beating out " + (Math.floor(7 * (e - c) / (a - c)) + 92) + "% of global players\uff01"
+                } else if (e > a && e <= i) n = "I got in the game in " + e + " points, beating out 99% of global players\uff01";
+                else if (e > i && e < this.game_max_score) {
+                    n = "I got " + e + " points in the game, it said to be the world's only " + (20 - Math.ceil(17 * (e - i) / (this.game_max_score - i))) + " people to reach this level! Have you?"
+                }
+                return n
+            },
+            start: function() {}
+        }), cc._RF.pop()
+    }, {
+        GameConfig: "GameConfig",
+        GameUiTools: "GameUiTools",
+        MainManage: "MainManage"
+    }],
+    linkHttpIconJs: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "95474fr0oNDP7SAidILF03q", "linkHttpIconJs");
+        var o = e("MainManage"),
+            c = e("GameConfig");
+        cc.Class({
+            extends: cc.Component,
+            properties: {
+                iconSpr: cc.Node,
+                iconSpr1: cc.Node
+            },
+            onLoad: function() {
+                if (this._imageArr = [], this.stopUpdateBool = !0, this.gameWidth = cc.winSize.width, this.gameHeight = cc.winSize.height, null != o.recGameData && "" != o.recGameData && null != o.recGameimg1 && "" != o.recGameimg1) {
+                    var e = 50 - this.gameWidth / 2,
+                        t = this.gameHeight - 50 - this.gameHeight / 2;
+                    null != o.recGamePos && "" != o.recGamePos && (1 == o.recGamePos ? (e = 50 - this.gameWidth / 2, t = this.gameHeight - 50 - this.gameHeight / 2) : 2 == o.recGamePos ? (e = this.gameWidth - 50 - this.gameWidth / 2, t = this.gameHeight - 50 - this.gameHeight / 2) : 3 == o.recGamePos ? (e = this.gameWidth - 50 - this.gameWidth / 2, t = 50 - this.gameHeight / 2) : 4 == o.recGamePos && (e = 50 - this.gameWidth / 2, t = 50 - this.gameHeight / 2));
+                    var n = o.recGameimg1,
+                        c = o.recGameimg2,
+                        a = this.iconSpr,
+                        i = this.iconSpr1,
+                        r = this;
+                    cc.loader.load(n, function(n, o) {
+                        a.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(o), r.iconSpr.opacity = 0, r.iconSpr.x = e, r.iconSpr.y = t, r._imageArr.push(r.iconSpr)
+                    }), cc.loader.load(c, function(n, o) {
+                        i.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(o), r.iconSpr1.opacity = 0, r.iconSpr1.x = e, r.iconSpr1.y = t, r._imageArr.push(r.iconSpr1)
+                    })
+                }
+                this.addTouchEvents()
+            },
+            showLinkPic: function() {
+                var e = 0,
+                    t = 0;
+                e = null != o.recGameDelPau ? o.recGameDelPau : 6, cc.log("dMainManager.recGameDelPer", o.recGameDelPer), t = null != o.recGameDelPer ? o.recGameDelPer : .7, this._imageArr[0].opacity = 255, this._imageArr[0].runAction(cc.repeatForever(cc.sequence(cc.delayTime(e), cc.rotateBy(t, 0, 180), cc.callFunc(function() {
+                    this._imageArr[0].setRotation(0), this._imageArr[0].opacity = 0, this._imageArr[1].opacity = 255
+                }, this), cc.delayTime(e), cc.callFunc(function() {
+                    this.flowerAction(this._imageArr[1], t)
+                }, this), cc.delayTime(t), cc.callFunc(function() {
+                    this._imageArr[1].opacity = 0, this._imageArr[0].opacity = 255
+                }, this))))
+            },
+            flowerAction: function(e, t) {
+                e.runAction(cc.sequence(cc.rotateBy(t, 0, 180), cc.callFunc(function() {
+                    e.setRotation(0)
+                })))
+            },
+            start: function() {},
+            addTouchEvents: function() {
+                var e = this,
+                    t = {
+                        event: cc.EventListener.TOUCH_ONE_BY_ONE,
+                        onTouchBegan: function(t, n) {
+                            var a = t.getLocation();
+                            if (e._imageArr.length >= 2) {
+                                var i = Math.abs(a.x - e.gameWidth / 2 - e._imageArr[0].x),
+                                    r = Math.abs(a.y - e.gameHeight / 2 - e._imageArr[0].y);
+                                i <= 30 && r <= 30 && (c.noTouchBool = !1, null != o.recGameUrl && "" != o.recGameUrl && (e._imageArr[0].runAction(cc.sequence(cc.scaleTo(.1, .8), cc.scaleTo(.1, 1), cc.callFunc(function() {
+                                    window.location.href = o.recGameUrl
+                                }))), e._imageArr[1].runAction(cc.sequence(cc.scaleTo(.1, .8), cc.scaleTo(.1, 1)))), console.log("touchLinkHttp"))
+                            }
+                            return !0
+                        },
+                        onTouchMoved: function(e, t) {},
+                        onTouchEnded: function(e, t) {}
+                    };
+                cc.EventTarget.call(t, e.node)
+            },
+            update: function(e) {
+                this.stopUpdateBool && this._imageArr.length >= 2 && (this.stopUpdateBool = !1, this.showLinkPic())
+            }
+        }), cc._RF.pop()
+    }, {
+        GameConfig: "GameConfig",
+        MainManage: "MainManage"
+    }],
+    peaCannonAI: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "f8545atw1JIMK0v/hcNWns0", "peaCannonAI");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../Common/Utils"),
+            i = e("../common/PlayerInfo"),
+            r = e("../Common/PoolManager"),
+            s = e("./GameFunction"),
+            l = e("./MainGameUi"),
+            u = e("./AudioManager"),
+            d = cc._decorator,
+            p = d.ccclass,
+            f = d.property,
+            h = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.shellNode = null, t.player = null, t.shootInter = 2, t.shootTime = 0, t.cannonNumber = 0, t.peaSuiPre = null, t
+                }
+                return o(t, e), t.prototype.start = function() {
+                    this.shellNode = cc.find("Canvas/shellNode"), this.player = cc.find("Canvas/playerNode/player"), this.node.scale = .7
+                }, t.prototype.update = function(e) {
+                    if (i.default.GameUpdateCtrl) {
+                        var t = this.player.position.sub(this.node.position).normalize(),
+                            n = a.default.vectorsToDegress(t);
+                        this.node.angle = -n, this.shootTime += e, this.shootTime >= this.shootInter && (this.shootShell(), this.shootTime = 0)
+                    }
+                }, t.prototype.shootShell = function() {
+                    this.node.runAction(cc.sequence(cc.scaleTo(.1, .7, .5), cc.scaleTo(.1, .7, .7)));
+                    var e = r.default.Spawn("shell", this.shellNode);
+                    e.getComponent("shellData").shellLife = 2, e.position = this.node.position, e.opacity = 255, e.scale = .1, e.active = !0, u.default.Instance.Play(0, !1, 1);
+                    var t = this.player.position.sub(e.position).normalize();
+                    e.runAction(cc.scaleTo(.2, .5)), e.runAction(cc.sequence(cc.moveBy(10, 2e3 * t.x, 2e3 * t.y), cc.callFunc(function() {
+                        r.default.Despawn("shell", e)
+                    }))), e.runAction(cc.repeatForever(cc.rotateBy(3, 1080)))
+                }, t.prototype.onCollisionEnter = function(e, t) {
+                    "shell" == e.node.group && 2 == e.node.getComponent("shellData").shellLife ? e.node.getComponent("shellData").shellLife -= 1 : "shell" == e.node.group && 1 == e.node.getComponent("shellData").shellLife && (u.default.Instance.Play(2, !1, 1), t.node.active = !1, s.default.Instance.cannonNodeArr[this.cannonNumber] = 0, this.createCannonSui(t.node), e.node.stopAllActions(), i.default.score += 10, l.default.Instance.SetScoreTween(i.default.score), r.default.Despawn("shell", e.node), r.default.Despawn("peaCannon", t.node))
+                }, t.prototype.onCollisionStay = function(e, t) {}, t.prototype.onCollisionExit = function(e, t) {}, t.prototype.createCannonSui = function(e) {
+                    var t = cc.instantiate(this.peaSuiPre);
+                    t.parent = cc.find("Canvas/targetBoomNode"), t.position = e.position, t.scale = e.scale, t.angle = e.angle;
+                    for (var n = 0; n < t.children.length; n++) t.children[n].runAction(cc.sequence(cc.spawn(cc.moveBy(.25, a.default.RandomInteger(-70, 70), a.default.RandomInteger(-70, 70)), cc.rotateBy(.5, a.default.RandomInteger(-360, 360))), cc.fadeOut(1), cc.callFunc(function() {
+                        t.destroy()
+                    })))
+                }, c([f(cc.Prefab)], t.prototype, "peaSuiPre", void 0), t = c([p], t)
+            }(cc.Component);
+        n.default = h, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager",
+        "../Common/Utils": "Utils",
+        "../common/PlayerInfo": "PlayerInfo",
+        "./AudioManager": "AudioManager",
+        "./GameFunction": "GameFunction",
+        "./MainGameUi": "MainGameUi"
+    }],
+    resArr: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "8a68e/WQz1Feo++msjg6z8R", "resArr"), cc.Class({
+            extends: cc.Component,
+            properties: {
+                SpriteFrameArr: [cc.SpriteFrame],
+                PrefabArr: [cc.Prefab],
+                audiosArr: {
+                    type: cc.AudioClip,
+                    default: []
+                }
+            },
+            onLoad: function() {
+                void 0 != ToolsJs && (ToolsJs.PrefabArrJs = this, ToolsJs.SpriteFrameJs = this, ToolsJs.AudioArrJs = this), this.addPrefabs(), this.addSpriteFrame(), this.audioClipDic = {};
+                for (var e = 0; e < this.audiosArr.length; e++) {
+                    var t = this.audiosArr[e];
+                    this.audioClipDic[t.name] = t
+                }
+            },
+            playAudio: function(e) {
+                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : .3,
+                    n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
+                return null != this.audioClipDic[e] ? cc.audioEngine.play(this.audioClipDic[e], n, t) : (console.log("\u6ca1\u6709\u627e\u5230\u97f3\u9891\uff1a" + e), null)
+            },
+            getAudioClip: function(e) {
+                return null != this.audioClipDic[e] ? this.audioClipDic[e] : (console.log("\u6ca1\u6709\u627e\u5230\u97f3\u9891\uff1a" + e), null)
+            },
+            addSpriteFrame: function() {
+                this.spriteArr = {};
+                for (var e = 0; e < this.SpriteFrameArr.length; e++) {
+                    var t = this.SpriteFrameArr[e];
+                    null != t && (this.spriteArr[t.name] = t)
+                }
+            },
+            getSpriteFrame: function(e) {
+                return null != this.spriteArr[e] ? this.spriteArr[e] : (console.log("\u6ca1\u6709\u6dfb\u52a0\u56fe\u7247\uff1a" + e), null)
+            },
+            addPrefabs: function() {
+                this.prefabsArr = {};
+                for (var e = 0; e < this.PrefabArr.length; e++) {
+                    var t = this.PrefabArr[e];
+                    this.prefabsArr[t.name] = t
+                }
+            },
+            getPrefabs: function(e) {
+                return null != this.prefabsArr[e] ? this.prefabsArr[e] : (console.log("\u6ca1\u6709\u9884\u5236\u4f53\uff1a" + e), null)
+            }
+        }), cc._RF.pop()
+    }, {}],
+    startGameJs: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "280c3rsZJJKnZ9RqbALVwtK", "startGameJs");
+        var o = e("GameUiTools"),
+            c = (e("HttpManagerJs"), e("MainManage")),
+            a = (e("LoadSceneJs"), e("GameConfig"));
+        cc.Class({
+            extends: cc.Component,
+            properties: {
+                showInfoT: cc.Label,
+                startT: cc.Label
+            },
+            onLoad: function() {
+                a.publicGameBool && c.init(), this.showInfoT.string = c.gameInfoText, this.startT.string = c.txtStartText, this.node.on("touchend", function(e) {
+                    this.node.x = -2e3
+                }, this)
+            },
+            addTouchEvents: function() {
+                var e = {
+                    event: cc.EventListener.TOUCH_ONE_BY_ONE,
+                    onTouchBegan: function(e, t) {
+                        return o.loadingScene("MainGameScene"), !0
+                    },
+                    onTouchMoved: function(e, t) {},
+                    onTouchEnded: function(e, t) {}
+                };
+                cc.eventManager.addListener(e, this.node)
+            },
+            update: function(e) {}
+        }), cc._RF.pop()
+    }, {
+        GameConfig: "GameConfig",
+        GameUiTools: "GameUiTools",
+        HttpManagerJs: "HttpManagerJs",
+        LoadSceneJs: "LoadSceneJs",
+        MainManage: "MainManage"
+    }],
+    startPanel: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "d42d3uJR2RCPLKQIl417E7S", "startPanel");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../Common/Utils"),
+            i = e("../commonJs/GameConfig"),
+            r = cc._decorator,
+            s = r.ccclass,
+            l = r.property,
+            u = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.startPanel = null, t.titleSpr = null, t.startBtn = null, t.title = [], t
+                }
+                return o(t, e), t.prototype.onLoad = function() {
+                    this.startPanel.setContentSize(cc.winSize.width, cc.winSize.height), this.startPanel.children[0].setContentSize(cc.winSize.width, cc.winSize.height), this.startPanel.children[0].children[0].setContentSize(cc.winSize.width, cc.winSize.height)
+                }, t.prototype.start = function() {
+                    this.startPanel.children[1].scaleX = 0, this.startPanel.children[1].runAction(cc.scaleTo(.5, .9).easing(cc.easeBackOut())), this.startPanel.children[2].runAction(cc.repeatForever(cc.sequence(cc.scaleTo(.5, 1.1), cc.scaleTo(.5, 1), cc.delayTime(.5)))), this.initTitle(), cc.director.preloadScene("MainGameScene")
+                }, t.prototype.StartGame = function() {
+                    i.publicGameBool || adBreak({
+                        type: "next",
+                        name: "restart-game"
+                    }), this.startBtn.stopAllActions(), this.startBtn.runAction(cc.sequence(cc.scaleTo(.1, .8), cc.scaleTo(.1, 1), cc.callFunc(function() {
+                        cc.director.loadScene("MainGameScene")
+                    })))
+                }, t.prototype.initTitle = function() {
+                    var e = a.default.returnCurrentLanType();
+                    1 != e && (this.titleSpr.getComponent(cc.Sprite).spriteFrame = this.title[e - 1]), this.initTitleAni()
+                }, t.prototype.initTitleAni = function() {
+                    for (var e = 0; e < this.titleSpr.children.length; e++) {
+                        var t = this.titleSpr.children[e],
+                            n = Math.random() >= .5 ? 8 : -8,
+                            o = .8 + .3 * Math.random();
+                        t.runAction(cc.sequence(cc.skewBy(o, n, 0), cc.skewBy(o, -n, 0), cc.skewBy(o, -n, 0), cc.skewBy(o, n, 0)).repeatForever())
+                    }
+                }, c([l(cc.Node)], t.prototype, "startPanel", void 0), c([l(cc.Node)], t.prototype, "titleSpr", void 0), c([l(cc.Node)], t.prototype, "startBtn", void 0), c([l(cc.SpriteFrame)], t.prototype, "title", void 0), t = c([s], t)
+            }(cc.Component);
+        n.default = u, cc._RF.pop()
+    }, {
+        "../Common/Utils": "Utils",
+        "../commonJs/GameConfig": "GameConfig"
+    }],
+    "use_v2.1.x_cc.Action": [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "ce2acozQx1Dq7kOhKg5RkBi", "use_v2.1.x_cc.Action"), cc.macro.ROTATE_ACTION_CCW = !0, cc._RF.pop()
+    }, {}],
+    wineObsmove: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "589ae7WabhNKbjjj1cMrAIM", "wineObsmove");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("./GameFunction"),
+            i = cc._decorator,
+            r = i.ccclass,
+            s = (i.property, function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.isMove = !1, t
+                }
+                return o(t, e), t.prototype.onLoad = function() {}, t.prototype.update = function(e) {
+                    this.isMove && (this.node.x += a.default.Instance.lvdaiSpeed)
+                }, t = c([r], t)
+            }(cc.Component));
+        n.default = s, cc._RF.pop()
+    }, {
+        "./GameFunction": "GameFunction"
+    }],
+    winerCollision: [function(e, t, n) {
+        "use strict";
+        cc._RF.push(t, "3ea89nQCdpP9II/GHC3tXOf", "winerCollision");
+        var o = this && this.__extends || function() {
+                var e = function(t, n) {
+                    return (e = Object.setPrototypeOf || {
+                            __proto__: []
+                        }
+                        instanceof Array && function(e, t) {
+                            e.__proto__ = t
+                        } || function(e, t) {
+                            for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
+                        })(t, n)
+                };
+                return function(t, n) {
+                    function o() {
+                        this.constructor = t
+                    }
+                    e(t, n), t.prototype = null === n ? Object.create(n) : (o.prototype = n.prototype, new o)
+                }
+            }(),
+            c = this && this.__decorate || function(e, t, n, o) {
+                var c, a = arguments.length,
+                    i = a < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o;
+                if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(e, t, n, o);
+                else
+                    for (var r = e.length - 1; r >= 0; r--)(c = e[r]) && (i = (a < 3 ? c(i) : a > 3 ? c(t, n, i) : c(t, n)) || i);
+                return a > 3 && i && Object.defineProperty(t, n, i), i
+            };
+        Object.defineProperty(n, "__esModule", {
+            value: !0
+        });
+        var a = e("../common/PlayerInfo"),
+            i = e("../Common/PoolManager"),
+            r = e("../Common/Utils"),
+            s = e("./AudioManager"),
+            l = e("./GameFunction"),
+            u = e("./GameManager"),
+            d = cc._decorator,
+            p = d.ccclass,
+            f = d.property,
+            h = function(e) {
+                function t() {
+                    var t = null !== e && e.apply(this, arguments) || this;
+                    return t.wineType = 0, t.isMove = !1, t.wineColorStr1 = [], t.wineColorStr2 = [], t
+                }
+                return o(t, e), t.prototype.onLoad = function() {
+                    this.wineColorStr1.push("eba51f", "eba51f", "eba51f", "eba51f", "87c5ff", "87c5ff", "87c5ff", "87c5ff", "87c5ff", "87c5ff"), this.wineColorStr2.push("fed74a", "fed74a", "fed74a", "fed74a", "b7fbff", "b7fbff", "b7fbff", "b7fbff", "b7fbff", "b7fbff")
+                }, t.prototype.start = function() {}, t.prototype.update = function(e) {
+                    this.isMove && (this.node.x += l.default.Instance.lvdaiSpeed), this.node.x >= 500 && i.default.Despawn(this.node.name, this.node)
+                }, t.prototype.onCollisionEnter = function(e, t) {
+                    "wine" == e.node.group && (this.createWineSa(t.node), this.createWineSuiPian(t.node), t.node.active = !1, a.default.playerTouch && (u.default.Instance.ToEnd(), a.default.playerTouch = !1))
+                }, t.prototype.createWineSuiPian = function(e) {
+                    s.default.Instance.Play(0, !1, 1);
+                    var t = i.default.Spawn(e.name.concat("SP"), cc.find("Canvas/targetWineNodeQ"));
+                    t.position = e.position, t.angle = e.angle, t.scale = e.scale;
+                    for (var n = 0; n < t.children.length; n++) t.children[n].runAction(cc.spawn(cc.sequence(cc.jumpBy(1, r.default.RandomInteger(-500, 50), r.default.RandomInteger(-2e3, -1600), 500, 1), cc.fadeOut(.5)), cc.rotateBy(1, r.default.RandomInteger(-860, 860))))
+                }, t.prototype.createWineSa = function(e) {
+                    for (var t = r.default.RandomInteger(35, 40), n = 0; n < t / 2; n++) {
+                        (o = i.default.Spawn("juicePre", cc.find("Canvas/upEffectParent"))).color = (new cc.Color).fromHEX(this.wineColorStr1[this.wineType - 1]), o.position = e.position, o.scale = .5, o.runAction(cc.spawn(cc.jumpBy(1, r.default.RandomInteger(-300, 50), r.default.RandomInteger(-400, -200), r.default.RandomInteger(100, 150), 1), cc.fadeOut(1)))
+                    }
+                    for (n = 0; n < t / 2; n++) {
+                        var o;
+                        (o = i.default.Spawn("juicePre", cc.find("Canvas/upEffectParent"))).color = (new cc.Color).fromHEX(this.wineColorStr2[this.wineType - 1]), o.position = e.position, o.scale = .5, o.runAction(cc.spawn(cc.jumpBy(1, r.default.RandomInteger(-300, 50), r.default.RandomInteger(-400, -200), r.default.RandomInteger(100, 150), 1), cc.fadeOut(1)))
+                    }
+                }, c([f()], t.prototype, "wineType", void 0), t = c([p], t)
+            }(cc.Component);
+        n.default = h, cc._RF.pop()
+    }, {
+        "../Common/PoolManager": "PoolManager",
+        "../Common/Utils": "Utils",
+        "../common/PlayerInfo": "PlayerInfo",
+        "./AudioManager": "AudioManager",
+        "./GameFunction": "GameFunction",
+        "./GameManager": "GameManager"
+    }]
+}, {}, ["HttpManagerJs", "LanguageSetJs", "LoadSceneJs", "AniTools", "MainGameJS", "ToolsJs", "resArr", "MainManage", "AddScore", "AdjusWithHeight", "AudioManager", "AutoDestroy", "DataManager", "EffectCenter", "FailedUi", "GameFunction", "GameManager", "InputController", "KnifeCollision", "MainGameUi", "NewAttribute", "PhysicsParticle", "Rocker", "RotateAround", "Stack", "WallUpdate", "fruitData", "peaCannonAI", "startPanel", "wineObsmove", "winerCollision", "GameConfig", "GameUiTools", "DynamicLoad", "EffectSprite", "PlayerInfo", "PoolManager", "RandomFly", "RenderWater", "Shake", "SpriteManager", "Toast", "Utils", "bfPrefabJs", "gameOverJs", "linkHttpIconJs", "startGameJs", "use_v2.1.x_cc.Action"]);

File diff suppressed because it is too large
+ 47 - 0
src/settings.js


+ 123 - 0
style-mobile.css

@@ -0,0 +1,123 @@
+html {
+    -ms-touch-action: none;
+}
+
+body, canvas, div {
+    display: block;
+    outline: none;
+    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+    user-select: none;
+    -moz-user-select: none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    -khtml-user-select: none;
+    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+
+/* Remove spin of input type number */
+
+input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
+    /* display: none; <- Crashes Chrome on hover */
+    -webkit-appearance: none;
+    margin: 0;
+    /* <-- Apparently some margin are still there even though it's hidden */
+}
+
+body {
+    position: absolute;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%;
+    padding: 0;
+    border: 0;
+    margin: 0;
+    cursor: default;
+    color: #888;
+    background-color: #333;
+    text-align: center;
+    font-family: Helvetica, Verdana, Arial, sans-serif;
+    display: flex;
+    flex-direction: column;
+    /* fix bug: https://github.com/cocos-creator/2d-tasks/issues/791 */
+    /* overflow cannot be applied in Cocos2dGameContainer, otherwise child elements will be hidden when Cocos2dGameContainer rotated 90 deg */
+    overflow: hidden;
+}
+
+#Cocos2dGameContainer {
+    position: absolute;
+    margin: 0;
+    left: 0px;
+    top: 0px;
+    display: -webkit-box;
+    -webkit-box-orient: horizontal;
+    -webkit-box-align: center;
+    -webkit-box-pack: center;
+}
+
+canvas {
+    background-color: rgba(0, 0, 0, 0);
+}
+
+a:link, a:visited {
+    color: #666;
+}
+
+a:active, a:hover {
+    color: #666;
+}
+
+p.header {
+    font-size: small;
+}
+
+p.footer {
+    font-size: x-small;
+}
+
+#splash {
+    position: absolute;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%;
+    background: #ffffff url(./singleColor.png) no-repeat center;
+    background-size: 100%;
+}
+
+.progress-bar {
+    background-color: #1a1a1a;
+    position: absolute;
+    left: 25%;
+    top: 80%;
+    height: 15px;
+    padding: 5px;
+    width: 50%;
+    /*margin: 0 -175px;         */
+    border-radius: 5px;
+    box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
+}
+
+.progress-bar span {
+    display: block;
+    height: 100%;
+    border-radius: 3px;
+    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
+    transition: width .4s ease-in-out;
+    background-color: #34c2e3;
+}
+
+.stripes span {
+    background-size: 30px 30px;
+    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
+    animation: animate-stripes 1s linear infinite;
+}
+
+@keyframes animate-stripes {
+    0% {
+        background-position: 0 0;
+    }
+    100% {
+        background-position: 60px 0;
+    }
+}

Some files were not shown because too many files changed in this diff