diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..cefe0297 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "semi":true, + "singleQuote": true, + "tabWidth": 4, + "useTabs": true +} \ No newline at end of file diff --git a/assets/res/prefabs/NUI/JIJIJI.fire b/assets/res/prefabs/NUI/JIJIJI.fire index d9acd2a1..4972c815 100644 --- a/assets/res/prefabs/NUI/JIJIJI.fire +++ b/assets/res/prefabs/NUI/JIJIJI.fire @@ -29,7 +29,7 @@ "__id__": 504 }, { - "__id__": 545 + "__id__": 546 } ], "_active": false, @@ -56,8 +56,8 @@ }, "_scale": { "__type__": "cc.Vec3", - "x": 0.6797115691035127, - "y": 0.6797115691035127, + "x": 0.31827351860348885, + "y": 0.31827351860348885, "z": 1 }, "_quat": { @@ -405,6 +405,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "70pHWHRpxEvbBiYTvkKlVX" }, { @@ -654,6 +657,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "53RRII6sRCjpvWspUn8o4z" }, { @@ -742,6 +748,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "bdqhBfo7ZJ34poPTd9I1U/" }, { @@ -830,6 +839,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "7acvehifpKNZm97jUd/3EE" }, { @@ -918,6 +930,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "bf/hT8IYdHyrZ+Bta7k9k2" }, { @@ -1006,6 +1021,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "3ea4KQ9vdM7JTU5ho4AniY" }, { @@ -1352,6 +1370,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "06fMq2RodMVZNB2v92CvJH" }, { @@ -1380,6 +1401,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "507h9MWfVJL5ampdsGDOV1" }, { @@ -1620,6 +1644,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "eba7SJ/KNDAb6YWQFl1aMp" }, { @@ -1648,6 +1675,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "8cARa5s4pCF7sljHTOc/CT" }, { @@ -1888,6 +1918,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "fb11ACrh9J94h+ZUghH64r" }, { @@ -1916,6 +1949,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "5fQ1SjDVBMqphV1ZyID+mb" }, { @@ -2156,6 +2192,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "55sw1CKAJNta8lCyIZz88p" }, { @@ -2184,6 +2223,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "6eHLdsqLxBz7olsl7eCu8H" }, { @@ -2365,6 +2407,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "a5UgF8zoRGU4LbNxRYk+pK" }, { @@ -2519,6 +2564,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "28tb0FZi9DrIlIV/27c4fJ" }, { @@ -2607,6 +2655,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "17woZvxPdEMoKYP4mgIodg" }, { @@ -2784,6 +2835,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "50YDRWWrxJZIVefjBh9Ok1" }, { @@ -2935,6 +2989,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "afCsucR/dHfLvelwA3q1EQ" }, { @@ -3112,6 +3169,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "bfbZvrjlJAH6iMRNXFOyWC" }, { @@ -3289,6 +3349,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "2aCwbO4kJGwo7u1p3vLPdp" }, { @@ -3357,7 +3420,7 @@ "__id__": 208 } ], - "_active": true, + "_active": false, "_level": 1, "_components": [ { @@ -3501,6 +3564,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "47XjcrMntIVYu5VKOtjRIK" }, { @@ -3619,6 +3685,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "9fePKowIpMIaeoELDC/vft" }, { @@ -3895,6 +3964,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "296oDQPoROkpRBpMWL2ncw" }, { @@ -3983,6 +4055,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "d7QC7iwENGwL8dGd4hQ2sE" }, { @@ -4071,6 +4146,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "2cQBUb4MdPl4jsJEg1Pa8e" }, { @@ -4159,6 +4237,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "8bmoXxipBBMqVssxjdvfWn" }, { @@ -4247,6 +4328,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "978ifAAT5GMo40THjtC+f4" }, { @@ -4656,6 +4740,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "75eGijf81ATLZpl4d/elQ0" }, { @@ -4684,6 +4771,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "390br1y9JErrwYt1QZ/EXq" }, { @@ -4836,6 +4926,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "1cfa3skdBAuZmA61K9yuzw" }, { @@ -4864,6 +4957,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "92ic09cNlBB5Vwrtvo2g3q" }, { @@ -5016,6 +5112,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "6e6SbtLqhIgqzxdShuFt9c" }, { @@ -5044,6 +5143,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "31kubFw01L4IatRVZAxMLN" }, { @@ -5196,6 +5298,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "90l71SlhpE4LR4MUhlHgP3" }, { @@ -5224,6 +5329,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "afnLAfDiNJUqwffEaBPM/o" }, { @@ -5376,6 +5484,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "7dOzOQTDRPJIS89HrfflrB" }, { @@ -5404,6 +5515,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "915INr4R9C3qSf31cniH6G" }, { @@ -5662,6 +5776,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "63pdrNa4RLw7Ds9A5ZuKka" }, { @@ -6033,6 +6150,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "b1lN3K2L1IwpoN3X/sBKKb" }, { @@ -6061,6 +6181,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "d38PvA1+xGNbOKGd1S6QGp" }, { @@ -6213,6 +6336,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "daGZgoCaZG0Z3bYldmDDBR" }, { @@ -6241,6 +6367,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "02CrqN/GhPdpoZPO9rwWfm" }, { @@ -6393,6 +6522,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "42X8bHg0dNabevRdeIeMH5" }, { @@ -6421,6 +6553,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "efzrQJ6JFEa7iV8JEec/GW" }, { @@ -6573,6 +6708,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "5ei0SC5SZLRKg1a7+A8dNr" }, { @@ -6601,6 +6739,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "4aHRzhQjBLr4ymO3GRDKTp" }, { @@ -6753,6 +6894,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "2dXMCan1ZNspU//1n14I4S" }, { @@ -6781,6 +6925,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "fcls2D+cND07ih++oDqSlk" }, { @@ -6933,6 +7080,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "38UyhegYNDB4+8fboR16ib" }, { @@ -6961,6 +7111,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "7dgxWwr/NCdbQ2aushn3RU" }, { @@ -7113,6 +7266,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "e53EiNVZtEIakE299xlBSD" }, { @@ -7141,6 +7297,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "a6qI1o7QROmbZ35Ky3Rfy2" }, { @@ -7293,6 +7452,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "57C7y0KF9AMqW5Mpgk5x54" }, { @@ -7321,6 +7483,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "89fUpXySlGlqvrSA17pQIL" }, { @@ -7473,6 +7638,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "e1AYUnkKJLG66cRKdSveZ3" }, { @@ -7501,6 +7669,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "35ukuIPslF6LUyUsPp+t6J" }, { @@ -7653,6 +7824,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "364djpm/5HjqkQsSwTYbJc" }, { @@ -7681,6 +7855,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "b84ZrRMKNO5ojZWMce5w8h" }, { @@ -7769,6 +7946,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "24bDNb0WtI67SXbjjGq5E0" }, { @@ -8082,6 +8262,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "c1N8aCLY9FK4rMWnHto7Zt" }, { @@ -8110,6 +8293,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "65TzMgzEVK24eUwJXcask+" }, { @@ -8350,6 +8536,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "1fxtUTYMVNt71s9vrCNvuY" }, { @@ -8378,6 +8567,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "d4Gufk8HpCAbtp1zQVPSce" }, { @@ -8618,6 +8810,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "50B8gHBeVKM7t8XWQJbTP7" }, { @@ -8646,6 +8841,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "2f50jT/FNENpUu5tMDf03Q" }, { @@ -8886,6 +9084,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "7aF0Q39k1Gn5j4v1skR2Zh" }, { @@ -8914,6 +9115,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "875Wg/uOlMdqJHS1c2nFhJ" }, { @@ -9101,6 +9305,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "79r3m+4ElAEbbIRf+LE9nv" }, { @@ -9336,6 +9543,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "41A8G5ToBBDaaCi0Km2OHF" }, { @@ -9364,6 +9574,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "bdL8lA7WRLmIjng1+LJQPz" }, { @@ -9635,6 +9848,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "6bE12TUExPJ6Mv59sePtJw" }, { @@ -9826,6 +10042,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "d0bA53EaxERZJ6l48xGzsK" }, { @@ -9914,6 +10133,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "998jQ6vxtFTLuTrklh+Cyk" }, { @@ -10139,6 +10361,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "c4JZ709BpNCKdz46eE10ar" }, { @@ -10495,6 +10720,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "92yvG4x/lIkoMVuB+ttop6" }, { @@ -10523,6 +10751,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "e053Dc+oZNUKF78M9vAEIX" }, { @@ -10675,6 +10906,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "d9oecAI31BxK3eq63ZjaG7" }, { @@ -10703,6 +10937,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "6cFdrTbYVPRK/UCLQcuh9V" }, { @@ -10855,6 +11092,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "59f4qe221Ds6+MMZXfiDbk" }, { @@ -10883,6 +11123,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "71Qy3CqyVCjJzNVUG8nyv7" }, { @@ -11035,6 +11278,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "74PSSjdQdGroDEwzNx3QpW" }, { @@ -11063,6 +11309,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "30TElNbOxP3qyCGVfSFxPB" }, { @@ -11215,6 +11464,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "50joH7Ny5BNJsg5uK4SUC0" }, { @@ -11243,6 +11495,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "a9uoDlczFCK4VMs6nUcz64" }, { @@ -11331,6 +11586,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "ff0tD6zIpO3IAXTym+yNZq" }, { @@ -11419,6 +11677,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "c4qjsSpetKPLCMN0aq1s5X" }, { @@ -11683,6 +11944,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "56niIVnMhCUIA+lhhGQnPw" }, { @@ -11967,6 +12231,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "fa5cgVHCBMeI1mGoQBgAN/" }, { @@ -12248,6 +12515,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "19SKGa/MFOwYoyO+eYD94G" }, { @@ -12336,6 +12606,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "19p+HikhVAZoMBfSNVNdyp" }, { @@ -12669,6 +12942,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "4diArry9RHYJEnauHshXAu" }, { @@ -12757,6 +13033,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "fdOpnIj4xJpru5JCP2vZUU" }, { @@ -13032,6 +13311,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "08sLF45uZEwoYZX2311WE1" }, { @@ -13851,6 +14133,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "caY9e7Q0JAD6KUDU/78+mB" }, { @@ -13989,6 +14274,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "3cBaitL0ZE9IE1fKcdSAzq" }, { @@ -14220,6 +14508,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "a1GBi1B7tOUa534Lz6zOgX" }, { @@ -14670,6 +14961,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "0dVsmj/k1Mk4cjTcchgcbf" }, { @@ -14709,6 +15003,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "ccynf8IjNDeK2CgDQE6kBe" }, { @@ -15040,6 +15337,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "667x+gwt9G74fZCo1gSnfl" }, { @@ -15079,6 +15379,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "afT06C8h9DSrmieGLZ8EmF" }, { @@ -15198,6 +15501,23 @@ "a": 255 }, "_width": 1, + "_color2": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_width2": 0, + "_isUnderline": false, + "_UnderlineColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_UnderlineWidth": 0, "_id": "edyF4xvlVHbpeyBVU693B/" }, { @@ -15299,6 +15619,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "24kOx599BFmYw5ABGTQrgz" }, { @@ -15466,6 +15789,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "b2pNNJ3AFBqL2XipsJ+D5d" }, { @@ -15505,6 +15831,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "84a5iRKBlOa4qEr6WRC5Ks" }, { @@ -15868,6 +16197,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "e0iIih0MZH4ZsXu3+3YaHu" }, { @@ -15907,6 +16239,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "43tNf4hUpCj6FMikA83KL5" }, { @@ -16026,6 +16361,23 @@ "a": 255 }, "_width": 1, + "_color2": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_width2": 0, + "_isUnderline": false, + "_UnderlineColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_UnderlineWidth": 0, "_id": "e9d6IiPV5B6q5mk8b6dfB1" }, { @@ -16127,6 +16479,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "d8aMw5o+9GXZf4WSZvGT1P" }, { @@ -16294,6 +16649,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "16cXrButpEkKAGNbGlNIP0" }, { @@ -16333,6 +16691,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "57QKEQ0tNEc5UKoJ5S/M9t" }, { @@ -16696,6 +17057,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "bbFd3NsC5LCoQEupyVJcJP" }, { @@ -16735,6 +17099,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "f0AwvE5FRLsbkcwOrp/vM+" }, { @@ -16854,6 +17221,23 @@ "a": 255 }, "_width": 1, + "_color2": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_width2": 0, + "_isUnderline": false, + "_UnderlineColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_UnderlineWidth": 0, "_id": "d3N3OS6JtCDpDWYf/H6x9v" }, { @@ -16955,6 +17339,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "e5ck7CkhlLP5M/SLQipQvQ" }, { @@ -17122,6 +17509,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "cbCHQKUWJPe5+ylptz+mAs" }, { @@ -17161,6 +17551,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "19YS7Kf61GMbaekhLC5yVz" }, { @@ -17761,6 +18154,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "aaOeQ+ioZN97ZRBUUNk45f" }, { @@ -18003,6 +18399,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "63PZ44eypLV6K2HM6JU7P6" }, { @@ -18316,6 +18715,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "aef6vq3wFGGIR7U8W4vJHB" }, { @@ -18583,6 +18985,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "c4NEUiAmBCfIhWG42PS7zT" }, { @@ -18784,6 +19189,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "33DXOEc+tLN4TOghlKimoQ" }, { @@ -18885,6 +19293,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "f9m7NNEUhF2oArxxA6mya1" }, { @@ -18986,6 +19397,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "2dU67SxUxE2bnwTlK9ujzK" }, { @@ -19101,6 +19515,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "absCjS2CJMCoQhCjPA9rjx" }, { @@ -19282,6 +19699,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "e9dogQaD5ARZhUBPCUxSw9" }, { @@ -19631,6 +20051,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "47haL8wxFNVr4yPKcjZpd1" }, { @@ -19732,6 +20155,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "7aEN0RcWVPAJunp89UIS4W" }, { @@ -20104,6 +20530,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "2cqBWpy6ZEGp4q2HFz7gTC" }, { @@ -20205,6 +20634,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "797pMr7zhHB5b+od78GcyK" }, { @@ -20609,7 +21041,7 @@ }, { "__type__": "cc.Node", - "_name": "pb_Bosst", + "_name": "pb_Boost", "_objFlags": 0, "_parent": { "__id__": 1 @@ -20627,10 +21059,13 @@ "_components": [ { "__id__": 543 + }, + { + "__id__": 544 } ], "_prefab": { - "__id__": 544 + "__id__": 545 }, "_opacity": 255, "_color": { @@ -20770,6 +21205,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "89vazc9nZL1paPoNuk1AzS" }, { @@ -20815,9 +21253,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "29XAB5Q/NDK6IUE0xxorAt", + "fileId": "10zwas3ZRB5bv8MK+XjuDA", "sync": false }, { @@ -21056,9 +21494,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "efkMHkU+JO/6ZabyCWc1uC", + "fileId": "0fhgZIizdAhavPWOgzsaGj", "sync": false }, { @@ -21218,6 +21656,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "c7TR25O2ZJs5PRTwporXiQ" }, { @@ -21253,9 +21694,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "8eJCWHvYZCLZduXJFfQwqk", + "fileId": "4eoW9YcnlMIZ4xDziDQJYM", "sync": false }, { @@ -21334,7 +21775,7 @@ "__id__": 504 }, "component": "", - "_componentId": "d05e58L57FHNoNAAfb9NOr1", + "_componentId": "2d1da1jVR5CPJgHhkfwvHCC", "handler": "onClose", "customEventData": "" }, @@ -21344,9 +21785,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "94vH+GUBJBpq//D9l4yn3b", + "fileId": "29Nid2xc5PCLgZvJWBp7EX", "sync": false }, { @@ -21355,9 +21796,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "35mFz/PkxG0KlQzJnCfeV4", + "fileId": "5fBuiVIPJJ0aAHvlzzsjaa", "sync": false }, { @@ -21453,9 +21894,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "caJCGCOK5GuJAtyu9PqWW5", + "fileId": "a5LrVmxpVE/qO+qG7vDyrg", "sync": false }, { @@ -21551,7 +21992,7 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, "fileId": "15+ktmkKdHf7qov01yRRL8", "sync": false @@ -21644,6 +22085,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "37alBWbENEuY3n0ED76xeM" }, { @@ -21652,7 +22096,7 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, "fileId": "a6y/T2gRtK2a09ueD0RBaf", "sync": false @@ -21821,9 +22265,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "36nEDiIgVDppaR+kkGUh9f", + "fileId": "8d7WQgt6JMqqJMFswls1zm", "sync": false }, { @@ -21852,6 +22296,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "5f9LKtU95F87lKZ5LAaDD0" }, { @@ -21930,7 +22377,7 @@ "__id__": 504 }, "component": "", - "_componentId": "d05e58L57FHNoNAAfb9NOr1", + "_componentId": "2d1da1jVR5CPJgHhkfwvHCC", "handler": "onOK", "customEventData": "" }, @@ -21940,9 +22387,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "adEbtnohdI5r0lLAzt7wkl", + "fileId": "1e7teHtf1IkJ5yMGEqBhK6", "sync": false }, { @@ -21971,6 +22418,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "78pUnF71dLmLXz7N6gI9Ss" }, { @@ -21979,9 +22429,9 @@ "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "02kNRi7ldOY6cXZy7CFbKF", + "fileId": "75mF01PxFKGoDFI63ngHet", "sync": false }, { @@ -22011,41 +22461,57 @@ "_originalHeight": 0, "_id": "8bkPQZ/nhEfpuZrFLtsWoY" }, + { + "__type__": "2d1da1jVR5CPJgHhkfwvHCC", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 504 + }, + "_enabled": true, + "cegLabel": { + "__id__": 528 + }, + "_id": "eeD5adkftJGKpQx9jh0BMo" + }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 504 }, "asset": { - "__uuid__": "278d9839-9790-432b-afad-ebc8e6d90af1" + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" }, - "fileId": "54rTvKnUJOCIWrYeQHjsnL", + "fileId": "a9WUudk0BDJpHT1zZ+YmN2", "sync": false }, { "__type__": "cc.Node", - "_name": "pb_wanted_cancel", + "_name": "pb_cancelBoost", "_objFlags": 0, "_parent": { "__id__": 1 }, "_children": [ { - "__id__": 546 + "__id__": 547 }, { - "__id__": 551 + "__id__": 552 } ], "_active": true, "_level": 1, "_components": [ { - "__id__": 578 + "__id__": 579 + }, + { + "__id__": 580 } ], "_prefab": { - "__id__": 579 + "__id__": 581 }, "_opacity": 255, "_color": { @@ -22067,7 +22533,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 1580, + "x": 512, "y": 256, "z": 0 }, @@ -22096,24 +22562,24 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 545 + "__id__": 546 }, "_children": [], "_active": true, "_level": 2, "_components": [ - { - "__id__": 547 - }, { "__id__": 548 }, { "__id__": 549 + }, + { + "__id__": 550 } ], "_prefab": { - "__id__": 550 + "__id__": 551 }, "_opacity": 180, "_color": { @@ -22164,7 +22630,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 546 + "__id__": 547 }, "_enabled": true, "_srcBlendFactor": 770, @@ -22185,6 +22651,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "93pm6TO2FAIKT8hLVfQKmm" }, { @@ -22192,7 +22661,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 546 + "__id__": 547 }, "_enabled": true, "alignMode": 1, @@ -22219,7 +22688,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 546 + "__id__": 547 }, "_enabled": true, "_id": "15533zGipHIr3hbG4EeVGq" @@ -22227,12 +22696,12 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "0bmPoCOyFDjKDtw1BaWy9N", + "fileId": "38+Cdk/PxLTY5wMvy5mjyJ", "sync": false }, { @@ -22240,28 +22709,28 @@ "_name": "uibg", "_objFlags": 0, "_parent": { - "__id__": 545 + "__id__": 546 }, "_children": [ { - "__id__": 552 + "__id__": 553 }, { - "__id__": 565 + "__id__": 566 }, { - "__id__": 568 + "__id__": 569 } ], "_active": true, "_level": 3, "_components": [ { - "__id__": 576 + "__id__": 577 } ], "_prefab": { - "__id__": 577 + "__id__": 578 }, "_opacity": 255, "_color": { @@ -22312,21 +22781,21 @@ "_name": "top", "_objFlags": 0, "_parent": { - "__id__": 551 + "__id__": 552 }, "_children": [ { - "__id__": 553 + "__id__": 554 }, { - "__id__": 556 + "__id__": 557 } ], "_active": true, "_level": 4, "_components": [], "_prefab": { - "__id__": 564 + "__id__": 565 }, "_opacity": 255, "_color": { @@ -22377,18 +22846,18 @@ "_name": "title", "_objFlags": 0, "_parent": { - "__id__": 552 + "__id__": 553 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 554 + "__id__": 555 } ], "_prefab": { - "__id__": 555 + "__id__": 556 }, "_opacity": 255, "_color": { @@ -22439,7 +22908,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 553 + "__id__": 554 }, "_enabled": true, "_useOriginalSize": false, @@ -22462,12 +22931,12 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "e2frVL381BGZ8JuiZBMIce", + "fileId": "c6oJp0JH1CibhW/t9B5zcg", "sync": false }, { @@ -22475,22 +22944,22 @@ "_name": "btn_close", "_objFlags": 0, "_parent": { - "__id__": 552 + "__id__": 553 }, "_children": [ { - "__id__": 557 + "__id__": 558 } ], "_active": true, "_level": 3, "_components": [ { - "__id__": 561 + "__id__": 562 } ], "_prefab": { - "__id__": 563 + "__id__": 564 }, "_opacity": 255, "_color": { @@ -22541,21 +23010,21 @@ "_name": "Background", "_objFlags": 0, "_parent": { - "__id__": 556 + "__id__": 557 }, "_children": [], "_active": true, "_level": 2, "_components": [ { - "__id__": 558 + "__id__": 559 }, { - "__id__": 559 + "__id__": 560 } ], "_prefab": { - "__id__": 560 + "__id__": 561 }, "_opacity": 255, "_color": { @@ -22606,7 +23075,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 557 + "__id__": 558 }, "_enabled": true, "_srcBlendFactor": 770, @@ -22627,6 +23096,9 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "99jAQQ/WxA8Kf+0JSDHrDJ" }, { @@ -22634,7 +23106,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 557 + "__id__": 558 }, "_enabled": true, "alignMode": 0, @@ -22659,12 +23131,12 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "80SixWdFFFlpQuLphSpLzA", + "fileId": "296APZAD9Nr4ekQlzbyx5M", "sync": false }, { @@ -22672,14 +23144,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 556 + "__id__": 557 }, "_enabled": true, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { - "__id__": 562 + "__id__": 563 } ], "_N$interactable": true, @@ -22747,40 +23219,40 @@ "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" }, "_N$target": { - "__id__": 557 + "__id__": 558 }, "_id": "e1eE8u9WpEWYJ0mk008zWk" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 545 + "__id__": 546 }, "component": "", - "_componentId": "43f9fY5q59KibmyF9dLiVbd", + "_componentId": "e7f62V+7eJFdqUhu7bHC5p8", "handler": "onClose", "customEventData": "" }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "65YPvoRxFA9Z/OWh7iOG9H", + "fileId": "a8GdptCiRAMYB2d1JaqAco", "sync": false }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "faPZ4q47NIkpE2vTAyb1ex", + "fileId": "bfs0ANMNBP6LMhlMZdGzIE", "sync": false }, { @@ -22788,18 +23260,18 @@ "_name": "txt", "_objFlags": 0, "_parent": { - "__id__": 551 + "__id__": 552 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 566 + "__id__": 567 } ], "_prefab": { - "__id__": 567 + "__id__": 568 }, "_opacity": 255, "_color": { @@ -22850,7 +23322,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 565 + "__id__": 566 }, "_enabled": true, "_useOriginalSize": true, @@ -22873,12 +23345,12 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "69ZPCgVK5H6Iy6ecHdFMdT", + "fileId": "c8iCZ8eixJPpHLt4WNJJf0", "sync": false }, { @@ -22886,25 +23358,25 @@ "_name": "btnConfirm", "_objFlags": 0, "_parent": { - "__id__": 551 + "__id__": 552 }, "_children": [ { - "__id__": 569 + "__id__": 570 } ], "_active": true, "_level": 4, "_components": [ { - "__id__": 572 + "__id__": 573 }, { - "__id__": 574 + "__id__": 575 } ], "_prefab": { - "__id__": 575 + "__id__": 576 }, "_opacity": 255, "_color": { @@ -22955,18 +23427,18 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 568 + "__id__": 569 }, "_children": [], "_active": true, "_level": 5, "_components": [ { - "__id__": 570 + "__id__": 571 } ], "_prefab": { - "__id__": 571 + "__id__": 572 }, "_opacity": 255, "_color": { @@ -23017,7 +23489,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 569 + "__id__": 570 }, "_enabled": true, "_useOriginalSize": false, @@ -23042,12 +23514,12 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "28yhHa/TFEpJiBS4NQHtIO", + "fileId": "03vxNQA8dPra7zlmXfXuLO", "sync": false }, { @@ -23055,14 +23527,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 568 + "__id__": 569 }, "_enabled": true, "duration": 0.1, "zoomScale": 0.9, "clickEvents": [ { - "__id__": 573 + "__id__": 574 } ], "_N$interactable": true, @@ -23118,18 +23590,18 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 568 + "__id__": 569 }, "_id": "754moqCahHAonZvkF6wS5C" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 545 + "__id__": 546 }, "component": "", - "_componentId": "43f9fY5q59KibmyF9dLiVbd", - "handler": "onClickOK", + "_componentId": "e7f62V+7eJFdqUhu7bHC5p8", + "handler": "onOK", "customEventData": "" }, { @@ -23137,7 +23609,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 568 + "__id__": 569 }, "_enabled": true, "_srcBlendFactor": 770, @@ -23158,17 +23630,20 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "6dAyDC4pxL7o0BoszsYxSs" }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "22zqHiYBhIAZ001CnlQf7Z", + "fileId": "5eoUT1ViNAxYLMH3gX066y", "sync": false }, { @@ -23176,7 +23651,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 551 + "__id__": 552 }, "_enabled": true, "_srcBlendFactor": 770, @@ -23197,17 +23672,20 @@ "_isTrimmedMode": true, "_state": 0, "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, "_id": "71WSTjNZtMeoQofK+PPIYb" }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "7e67v+pp5BirKVLN3Y+Iy5", + "fileId": "6fjG6/c4xB5ZdcIzRy7gkG", "sync": false }, { @@ -23215,14 +23693,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 545 + "__id__": 546 }, "_enabled": true, "alignMode": 1, "_target": null, "_alignFlags": 45, - "_left": 1068, - "_right": -1068, + "_left": 0, + "_right": 0, "_top": 0, "_bottom": 0, "_verticalCenter": 0, @@ -23237,15 +23715,25 @@ "_originalHeight": 0, "_id": "bbPybCNj5Nj7y7rn19wOn6" }, + { + "__type__": "e7f62V+7eJFdqUhu7bHC5p8", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 546 + }, + "_enabled": true, + "_id": "a7DyAg2JpOqbQiC1ZLBIqI" + }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 545 + "__id__": 546 }, "asset": { - "__uuid__": "71e15546-0974-4e60-a07b-4e47f1d73f47" + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" }, - "fileId": "b42iyyWmFAnLJ4bwF6Dpg0", + "fileId": "2903z7vFVJebKEhGA5aaXr", "sync": false } ] \ No newline at end of file diff --git a/assets/resources/prefabs/tips/pb_Boost.prefab b/assets/resources/prefabs/tips/pb_Boost.prefab new file mode 100644 index 00000000..7dcaf415 --- /dev/null +++ b/assets/resources/prefabs/tips/pb_Boost.prefab @@ -0,0 +1,1457 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "pb_Boost", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 7 + } + ], + "_active": true, + "_level": 1, + "_components": [ + { + "__id__": 40 + }, + { + "__id__": 41 + } + ], + "_prefab": { + "__id__": 42 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1024, + "height": 512 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 512, + "y": 256, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 4 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 6 + }, + "_opacity": 180, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1024, + "height": 512 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "10zwas3ZRB5bv8MK+XjuDA", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "uibg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 8 + }, + { + "__id__": 21 + }, + { + "__id__": 24 + }, + { + "__id__": 27 + }, + { + "__id__": 30 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 38 + } + ], + "_prefab": { + "__id__": 39 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 669.5, + "height": 278.3 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "top", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [ + { + "__id__": 9 + }, + { + "__id__": 12 + } + ], + "_active": true, + "_level": 4, + "_components": [], + "_prefab": { + "__id__": 20 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 95.9405941, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 8 + }, + "_children": [], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 11 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 247, + "g": 194, + "b": 59, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 210.03, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.6, + "y": 0.6, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 9 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "BOOST", + "_N$string": "BOOST", + "_fontSize": 60, + "_lineHeight": 80, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "0fhgZIizdAhavPWOgzsaGj", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_close", + "_objFlags": 0, + "_parent": { + "__id__": 8 + }, + "_children": [ + { + "__id__": 13 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 19 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 250.3, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Background", + "_objFlags": 0, + "_parent": { + "__id__": 12 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 14 + }, + { + "__id__": 15 + } + ], + "_prefab": { + "__id__": 16 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 13 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 13 + }, + "_enabled": true, + "alignMode": 0, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 40, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "4eoW9YcnlMIZ4xDziDQJYM", + "sync": false + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 12 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 18 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "2d1da1jVR5CPJgHhkfwvHCC", + "handler": "onClose", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "29Nid2xc5PCLgZvJWBp7EX", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "5fBuiVIPJJ0aAHvlzzsjaa", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "txt", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 23 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 516.94, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 27.6, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 21 + }, + "_enabled": true, + "_useOriginalSize": true, + "_string": "Cost tokens to complete wanted faster.", + "_N$string": "Cost tokens to complete wanted faster.", + "_fontSize": 30, + "_lineHeight": 60, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "a5LrVmxpVE/qO+qG7vDyrg", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "txt", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 26 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 83, + "g": 221, + "b": 29, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 56.7, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 21.4, + "y": -30, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 24 + }, + "_enabled": true, + "_useOriginalSize": true, + "_string": "x 10", + "_N$string": "x 10", + "_fontSize": 30, + "_lineHeight": 60, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "15+ktmkKdHf7qov01yRRL8", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 28 + } + ], + "_prefab": { + "__id__": 29 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 77, + "height": 77 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -38.6, + "y": -30, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.5, + "y": 0.5, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 27 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "dfa69aa7-6239-4832-8389-318c8717e348" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "a6y/T2gRtK2a09ueD0RBaf", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btnConfirm", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [ + { + "__id__": 31 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 34 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 37 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 109, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": -95.049505, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 30 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 33 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 171, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": -0.950495, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.5, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 31 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "Confirm", + "_N$string": "Confirm", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "8d7WQgt6JMqqJMFswls1zm", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 30 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "7327600a-7c4e-4fed-a79a-dcf9775e5d9e" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 30 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 36 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "2d1da1jVR5CPJgHhkfwvHCC", + "handler": "onOK", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "1e7teHtf1IkJ5yMGEqBhK6", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b6189259-190d-4fc6-b890-f104d58a7685" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "75mF01PxFKGoDFI63ngHet", + "sync": false + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "" + }, + { + "__type__": "2d1da1jVR5CPJgHhkfwvHCC", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "cegLabel": { + "__id__": 25 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "64258bea-dcc5-4c36-8cb7-5ba3143f6974" + }, + "fileId": "a9WUudk0BDJpHT1zZ+YmN2", + "sync": false + } +] \ No newline at end of file diff --git a/assets/resources/prefabs/tips/pb_Boost.prefab.meta b/assets/resources/prefabs/tips/pb_Boost.prefab.meta new file mode 100644 index 00000000..dc6a4376 --- /dev/null +++ b/assets/resources/prefabs/tips/pb_Boost.prefab.meta @@ -0,0 +1,7 @@ +{ + "ver": "1.0.1", + "uuid": "64258bea-dcc5-4c36-8cb7-5ba3143f6974", + "optimizationPolicy": "AUTO", + "asyncLoadAssets": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/resources/prefabs/tips/pb_cancelBoost.prefab b/assets/resources/prefabs/tips/pb_cancelBoost.prefab new file mode 100644 index 00000000..5b68bbf3 --- /dev/null +++ b/assets/resources/prefabs/tips/pb_cancelBoost.prefab @@ -0,0 +1,1262 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "pb_cancelBoost", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 7 + } + ], + "_active": true, + "_level": 1, + "_components": [ + { + "__id__": 34 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 36 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1024, + "height": 512 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 512, + "y": 256, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 4 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 6 + }, + "_opacity": 180, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1024, + "height": 512 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "38+Cdk/PxLTY5wMvy5mjyJ", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "uibg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 8 + }, + { + "__id__": 21 + }, + { + "__id__": 24 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 33 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 669.5, + "height": 278.3 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.89, + "y": 1.01, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "top", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [ + { + "__id__": 9 + }, + { + "__id__": 12 + } + ], + "_active": true, + "_level": 4, + "_components": [], + "_prefab": { + "__id__": 20 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 95.9405941, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1.1235955, + "y": 0.990099, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 8 + }, + "_children": [], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 11 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 247, + "g": 194, + "b": 59, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 243.4, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.6, + "y": 0.6, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 9 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "CANCEL", + "_N$string": "CANCEL", + "_fontSize": 60, + "_lineHeight": 80, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "c6oJp0JH1CibhW/t9B5zcg", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_close", + "_objFlags": 0, + "_parent": { + "__id__": 8 + }, + "_children": [ + { + "__id__": 13 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 19 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 250.3, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Background", + "_objFlags": 0, + "_parent": { + "__id__": 12 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 14 + }, + { + "__id__": 15 + } + ], + "_prefab": { + "__id__": 16 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 13 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 13 + }, + "_enabled": true, + "alignMode": 0, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 40, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "296APZAD9Nr4ekQlzbyx5M", + "sync": false + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 12 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 18 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 120, + "g": 120, + "b": 120, + "a": 200 + }, + "_N$normalSprite": { + "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" + }, + "_N$pressedSprite": { + "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" + }, + "pressedSprite": { + "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" + }, + "_N$hoverSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "hoverSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "_N$disabledSprite": { + "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" + }, + "_N$target": { + "__id__": 13 + }, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "e7f62V+7eJFdqUhu7bHC5p8", + "handler": "onClose", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "a8GdptCiRAMYB2d1JaqAco", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "bfs0ANMNBP6LMhlMZdGzIE", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "txt", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 23 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 804.9, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -270, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.6741573, + "y": 0.5940594, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 21 + }, + "_enabled": true, + "_useOriginalSize": true, + "_string": "Are you sure you want to cancel this wanted?", + "_N$string": "Are you sure you want to cancel this wanted?", + "_fontSize": 40, + "_lineHeight": 60, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 0, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "c8iCZ8eixJPpHLt4WNJJf0", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btnConfirm", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [ + { + "__id__": 25 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + } + ], + "_prefab": { + "__id__": 31 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 109, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": -95.049505, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 24 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 26 + } + ], + "_prefab": { + "__id__": 27 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 171, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": -0.950495, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.5, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 25 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "Confirm", + "_N$string": "Confirm", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "03vxNQA8dPra7zlmXfXuLO", + "sync": false + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 24 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 0.9, + "clickEvents": [ + { + "__id__": 29 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 24 + }, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "e7f62V+7eJFdqUhu7bHC5p8", + "handler": "onOK", + "customEventData": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 24 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "7327600a-7c4e-4fed-a79a-dcf9775e5d9e" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "5eoUT1ViNAxYLMH3gX066y", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b6189259-190d-4fc6-b890-f104d58a7685" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_tilecount": 1, + "_tileoffx": 0, + "_tileoffy": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "6fjG6/c4xB5ZdcIzRy7gkG", + "sync": false + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "" + }, + { + "__type__": "e7f62V+7eJFdqUhu7bHC5p8", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "106245c2-8c36-4d50-9569-92a5b53ff57f" + }, + "fileId": "2903z7vFVJebKEhGA5aaXr", + "sync": false + } +] \ No newline at end of file diff --git a/assets/resources/prefabs/tips/pb_cancelBoost.prefab.meta b/assets/resources/prefabs/tips/pb_cancelBoost.prefab.meta new file mode 100644 index 00000000..17976dab --- /dev/null +++ b/assets/resources/prefabs/tips/pb_cancelBoost.prefab.meta @@ -0,0 +1,7 @@ +{ + "ver": "1.0.1", + "uuid": "106245c2-8c36-4d50-9569-92a5b53ff57f", + "optimizationPolicy": "AUTO", + "asyncLoadAssets": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/scripts/UI/task/mission_choose.js b/assets/scripts/UI/task/mission_choose.js index f9d65c27..298d88fa 100644 --- a/assets/scripts/UI/task/mission_choose.js +++ b/assets/scripts/UI/task/mission_choose.js @@ -1,10 +1,7 @@ -const { - dropConfig, - all_ItemConfig, -} = require('../../game/gameConfig'); +const { dropConfig, all_ItemConfig } = require('../../game/gameConfig'); const NetManage = require('../../manages/NetManage'); const { type } = require('../../netBattle/net/proto/bytebuffer'); -var Utils = require("Utils") +var Utils = require('Utils'); cc.Class({ extends: cc.Component, @@ -20,54 +17,52 @@ cc.Class({ // type: cc.Node, // }, - missionTitle:{ - default:null, - type:cc.Label + missionTitle: { + default: null, + type: cc.Label, }, - missionDesc:{ - default:null, - type:cc.Label + missionDesc: { + default: null, + type: cc.Label, }, - herolistNode:{ - default:null, - type:cc.Node + herolistNode: { + default: null, + type: cc.Node, }, - gunlistNode:{ - default:null, - type:cc.Node + gunlistNode: { + default: null, + type: cc.Node, }, - rewardIcons:{ - default:null, - type:cc.Node + rewardIcons: { + default: null, + type: cc.Node, }, - - stars:{ - default:null, - type:cc.Node + stars: { + default: null, + type: cc.Node, }, - fullStarSpriteframe:{ - default:null, - type:cc.SpriteFrame + fullStarSpriteframe: { + default: null, + type: cc.SpriteFrame, + }, + ceg_num: { + default: null, + type: cc.Label, }, - ceg_num:{ - default:null, - type:cc.Label - } // needNode: { // default: null, // type: cc.Node, // }, }, - initData(data,ceg_num) { - - console.log("mission detail:"+JSON.stringify(data)) + initData(data, ceg_num) { + console.log('mission detail:' + JSON.stringify(data)); this.allChooseHero = new Array(); this.allChooseHero.length = 5; this.allChooseGun = new Array(); @@ -75,58 +70,56 @@ cc.Class({ this.missionData = data; - this.setRewards(data.reward) - - console.log(data.param2) + this.setRewards(data.reward); - if(data.param2){ - for(let i=0;i { - if(this.herolistNode){ - this.herolistNode.children[this.currentBtn] - .getComponent('mission_oneBox') - .init(data); - this.allChooseHero[this.currentBtn] = data; + if (this.herolistNode) { + this.herolistNode.children[this.currentBtn] + .getComponent('mission_oneBox') + .init(data); + this.allChooseHero[this.currentBtn] = data; } - }); cc.Notifier.on('hasChooseGun', this, (data) => { - if(this.gunlistNode){ + if (this.gunlistNode) { this.gunlistNode.children[this.currentBtn] - .getComponent('mission_oneBox') - .init(data); - this.allChooseGun[this.currentBtn] = data; + .getComponent('mission_oneBox') + .init(data); + this.allChooseGun[this.currentBtn] = data; } - }); // cc.Notifier.on('ClearOneBox', this, (data) => { @@ -192,36 +183,34 @@ cc.Class({ // }); }, - close() { this.node.destroy(); cc.Notifier.off('hasChooseHero', this); cc.Notifier.off('hasChooseGun', this); - }, onClickAdd(event, param) { this.currentBtn = param; - console.log(this.currentBtn) + console.log(this.currentBtn); this.mission_detail.active = true; - // set currentdata + // set currentdata - console.log() + console.log(); var type = 0; - if(event.currentTarget.parent.name=="Hero"){ - type = 0 - }else{ - type = 1 + if (event.currentTarget.parent.name == 'Hero') { + type = 0; + } else { + type = 1; } this.mission_detail .getComponent('mission_chooseDetail') - .init(this.allChooseHero,this.allChooseGun,type); + .init(this.allChooseHero, this.allChooseGun, type); }, check() { - return true + return true; // let toReturn = true; // this.allShowNode.forEach((element) => { // if (element.children[0].active == false) { @@ -258,7 +247,7 @@ cc.Class({ this.allChooseHero.forEach((element) => { if (element) { if (element.hero_uniid) { - heroNum+=1 + heroNum += 1; this.sendData += `${1}:${element.hero_uniid}|`; } } @@ -272,27 +261,26 @@ cc.Class({ } }); - if(heroNum==0){ + if (heroNum == 0) { cc.uiHelper.showTips('Must choose a hero'); - return + return; } - - if(this.sendData!=""){ + if (this.sendData != '') { NetManage.sendWantedMission( - this.missionData.id, - this.sendData, - (res) => { - if (res.errcode == 0) { - this.node.destroy(); - cc.Notifier.emit('ReFreshMission'); - } else { - cc.uiHelper.showTips('Failed'); + this.missionData.id, + this.sendData, + (res) => { + if (res.errcode == 0) { + this.node.destroy(); + cc.Notifier.emit('ReFreshMission'); + } else { + cc.uiHelper.showTips('Failed'); + } } - } - ); - }else{ - cc.uiHelper.showTips('Not meeting the requirements'); + ); + } else { + cc.uiHelper.showTips('Not meeting the requirements'); } } else { cc.uiHelper.showTips('Not meeting the requirements'); diff --git a/assets/scripts/UI/task/singleWanted.js b/assets/scripts/UI/task/singleWanted.js index 359cc4a6..f53c2774 100644 --- a/assets/scripts/UI/task/singleWanted.js +++ b/assets/scripts/UI/task/singleWanted.js @@ -1,6 +1,9 @@ const { dropConfig, all_ItemConfig } = require('../../game/gameConfig'); const NetManage = require('../../manages/NetManage'); -var Utils = require("Utils") +var Utils = require('Utils'); +const { uimanger } = require('../UIManger'); +const { CancelBoost } = require('../../tips/CancelBoost'); +const { BoostTips } = require('../../tips/BoostTips'); cc.Class({ extends: cc.Component, @@ -10,7 +13,7 @@ cc.Class({ default: null, type: cc.Label, }, - allRewardNode:{ + allRewardNode: { default: null, type: cc.Node, }, @@ -23,35 +26,45 @@ cc.Class({ type: cc.Label, }, - getNode:{ + getNode: { default: null, type: cc.Node, }, - receiveNode:{ + receiveNode: { default: null, type: cc.Node, }, - boostNode:{ + boostNode: { default: null, type: cc.Node, }, - stars:{ - default:null, - type:cc.Node + stars: { + default: null, + type: cc.Node, }, - fullStarSpriteframe:{ - default:null, - type:cc.SpriteFrame + fullStarSpriteframe: { + default: null, + type: cc.SpriteFrame, }, - ceg_num:{ - default:null, - type:cc.Label - } + ceg_num: { + default: null, + type: cc.Label, + }, + }, + + onLoad() { + cc.Notifier.on('boostcancel', this, this.hasCancelBoost.bind(this)); + cc.Notifier.on('boostsuccess', this, this.boostsuccess.bind(this)); + }, + + onDestroy() { + cc.Notifier.off('boostcancel', this, this.hasCancelBoost.bind(this)); + cc.Notifier.off('boostsuccess', this, this.boostsuccess.bind(this)); }, onClickBtn() { @@ -63,26 +76,40 @@ cc.Class({ } if (this.missionState == 1) { const node = cc.instantiate(this.missionPrefab); - node.getComponent('mission_choose').initData(this.wantedData,this.ceg); + node.getComponent('mission_choose').initData( + this.wantedData, + this.ceg + ); cc.find('Canvas').addChild(node); } if (this.missionState == 2) { - - NetManage.boostOfferRewardMission(this.missionId, () => { - this.node.destroy(); - cc.uiHelper.showTips('Boost Success!'); - }); + var data = { + cegNum: 10, + missionId: this.missionId, + }; + uimanger.showUI(BoostTips.prefabPath, data); } }, - onCancelBtn(){ - cc.uiHelper.showTips('Boost cancel!'); - NetManage.cancelOfferRewardMission(this.missionId,()=>{ - this.boostNode.active = false - this.receiveNode.active = false - this.getNode.active = true - this.lb_time.node.parent.active = false - }) + onCancelBtn() { + uimanger.showUI(CancelBoost.prefabPath); + }, + + hasCancelBoost() { + NetManage.cancelOfferRewardMission(this.missionId, () => { + this.boostNode.active = false; + this.receiveNode.active = false; + this.getNode.active = true; + this.lb_time.node.parent.active = false; + cc.uiHelper.showTips('Boost cancel!'); + }); + }, + + boostsuccess() { + NetManage.boostOfferRewardMission(this.missionId, () => { + // this.node.destroy(); + cc.uiHelper.showTips('Boost Success!'); + }); }, formatSeconds(value) { @@ -101,19 +128,17 @@ cc.Class({ : Math.floor(result % 60); let res = ''; - res += `${h}:`; - res += `${m}:`; + res += `${h}:`; + res += `${m}:`; res += `${s}`; return res; }, init(data, originData) { - - - - if(data.param2){ - for(let i=0;i { jclogin.getNonce(); }; -window.chainErr = ()=>{ - console.log("打开提示框") - cc.Notifier.emit("chainerr"); +window.chainErr = () => { + cc.Notifier.emit('chainerr'); }; window.signApp = (sign) => { @@ -133,7 +132,6 @@ cc.Class({ // LIFE-CYCLE CALLBACKS: onLoad() { - this.allCountry = ['Japan', 'Singapore', 'Turkey', 'USA']; this.cpa_icon = []; @@ -147,8 +145,7 @@ cc.Class({ cc.Notifier.on('autologinsuccess', this, this.loadMain.bind(this)); - cc.Notifier.on("chainerr",this,this.showchainErrTip.bind(this)); - + cc.Notifier.on('chainerr', this, this.showchainErrTip.bind(this)); cc.debug.setDisplayStats(false); @@ -171,7 +168,7 @@ cc.Class({ } }, - showchainErrTip(){ + showchainErrTip() { uimanger.showUI(ChainErrTip.prefabPath); }, @@ -200,7 +197,7 @@ cc.Class({ cc.Notifier.off('sdkloginfail', this); cc.Notifier.off('sdkLoginSuccess', this); cc.Notifier.off('autologinsuccess', this); - cc.Notifier.off("chainerr",this,this.showchainErrTip.bind(this)); + cc.Notifier.off('chainerr', this, this.showchainErrTip.bind(this)); cc.loader.onProgress = null; SDKManage.logEvent('login_success', 'loginmain'); }, @@ -250,18 +247,14 @@ cc.Class({ // this.btn_wallet.active = true; // SDKManage.init('6516'); - + + jcgamelog.addOperation(OperationType.LOGIN, 'gamestart'); + jcgamelog.addOperation( - OperationType.LOGIN, - 'gamestart', + OperationType.Login, + Config.mainConfig.packageid ); - - console.log(`current packageid `+ Config.mainConfig.packageid) - console.log(`current version `+ Config.mainConfig.version) - - jcgamelog.addOperation(OperationType.Login,Config.mainConfig.packageid) - if (!localStorage.getItem('currentNet')) { localStorage.setItem('currentNet', allBaseNet.japan); } else { diff --git a/assets/scripts/tips/BoostTips.ts b/assets/scripts/tips/BoostTips.ts new file mode 100644 index 00000000..0dbabf39 --- /dev/null +++ b/assets/scripts/tips/BoostTips.ts @@ -0,0 +1,35 @@ +import NetManage from '../manages/NetManage'; +import { UIBase } from '../UI/UIBase'; + +const { ccclass, property } = cc._decorator; + +@ccclass +export class BoostTips extends UIBase { + public static prefabPath = 'prefabs/tips/pb_Boost'; + + @property(cc.Label) cegLabel: cc.Label = null; + + private indata: any; + + init(data: any) { + // { + // cegNum + // missionid + // } + this.indata = data; + this.cegLabel.string = `x${data.cegNum}`; + } + + onClose() { + this.node.destroy(); + } + + onOK() { + this.node.destroy(); + cc.Notifier.emit('boostsuccess'); + // NetManage.boostOfferRewardMission(this.indata.missionId, () => { + // this.node.destroy(); + // cc.uiHelper.showTips('Boost Success!'); + // }); + } +} diff --git a/assets/scripts/tips/BoostTips.ts.meta b/assets/scripts/tips/BoostTips.ts.meta new file mode 100644 index 00000000..d582c341 --- /dev/null +++ b/assets/scripts/tips/BoostTips.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.0.5", + "uuid": "2d1dad63-551e-423c-9807-8647f0bc7082", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/scripts/tips/CancelBoost.ts b/assets/scripts/tips/CancelBoost.ts new file mode 100644 index 00000000..9daad8b2 --- /dev/null +++ b/assets/scripts/tips/CancelBoost.ts @@ -0,0 +1,22 @@ +import NetManage from '../manages/NetManage'; +import { UIBase } from '../UI/UIBase'; + +const { ccclass, property } = cc._decorator; + +@ccclass +export class CancelBoost extends UIBase { + public static prefabPath = 'prefabs/tips/pb_cancelBoost'; + + private indata: any; + + init(data: any) {} + + onClose() { + this.node.destroy(); + } + + onOK() { + this.node.destroy(); + cc.Notifier.emit('boostcancel'); + } +} diff --git a/assets/scripts/tips/CancelBoost.ts.meta b/assets/scripts/tips/CancelBoost.ts.meta new file mode 100644 index 00000000..b2ffdf78 --- /dev/null +++ b/assets/scripts/tips/CancelBoost.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.0.5", + "uuid": "e7f6257e-ede2-4576-a521-bbb6c70b9a7c", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file