From 24d1f8782c262a20ead3e0d68a93eb28cac7d376 Mon Sep 17 00:00:00 2001
From: Spring774 <337905794@qq.com>
Date: Thu, 30 Oct 2025 16:17:05 +0800
Subject: [PATCH] 已打包华为广告验收,并发邮件QQ申报白名单
---
DOC/HuaWei/s5.png | 0
DOC/HuaWei/正式广告包/com.yujigames.breakbricks.huawei.rpk | 0
assets/Script/RewardLayer.ts | 4
assets/Script/Sdk/SdkHuawei.ts | 51 ++++---
DOC/HuaWei/广告验收(测试包)/自检报告.xlsx | 0
DOC/HuaWei/s2.png | 0
assets/Scene/main.fire | 125 +++++++++++++++-----
assets/Script/Game.ts | 8
assets/Script/Sdk/Sdk.ts | 5
DOC/HuaWei/s4.png | 0
DOC/HuaWei/s6.png | 0
assets/resources/prefabs/ui/ResultLayer.prefab | 137 +++++++++++++---------
manifest.json | 2
DOC/HuaWei/广告验收(测试包)/com.yujigames.breakbricks.huawei.rpk | 0
DOC/HuaWei/s3.png | 0
assets/Script/SkinLayer.ts | 2
assets/Script/EveryDayLayer.ts | 4
DOC/HuaWei/s1.png | 0
18 files changed, 214 insertions(+), 124 deletions(-)
diff --git a/DOC/HuaWei/s1.png b/DOC/HuaWei/s1.png
new file mode 100644
index 0000000..ec6a38c
--- /dev/null
+++ b/DOC/HuaWei/s1.png
Binary files differ
diff --git a/DOC/HuaWei/s2.png b/DOC/HuaWei/s2.png
new file mode 100644
index 0000000..d2836e3
--- /dev/null
+++ b/DOC/HuaWei/s2.png
Binary files differ
diff --git a/DOC/HuaWei/s3.png b/DOC/HuaWei/s3.png
new file mode 100644
index 0000000..d3292e5
--- /dev/null
+++ b/DOC/HuaWei/s3.png
Binary files differ
diff --git a/DOC/HuaWei/s4.png b/DOC/HuaWei/s4.png
new file mode 100644
index 0000000..a19292b
--- /dev/null
+++ b/DOC/HuaWei/s4.png
Binary files differ
diff --git a/DOC/HuaWei/s5.png b/DOC/HuaWei/s5.png
new file mode 100644
index 0000000..5d4e32d
--- /dev/null
+++ b/DOC/HuaWei/s5.png
Binary files differ
diff --git a/DOC/HuaWei/s6.png b/DOC/HuaWei/s6.png
new file mode 100644
index 0000000..750be00
--- /dev/null
+++ b/DOC/HuaWei/s6.png
Binary files differ
diff --git "a/DOC/HuaWei/\345\271\277\345\221\212\351\252\214\346\224\266\357\274\210\346\265\213\350\257\225\345\214\205\051/com.yujigames.breakbricks.huawei.rpk" "b/DOC/HuaWei/\345\271\277\345\221\212\351\252\214\346\224\266\357\274\210\346\265\213\350\257\225\345\214\205\051/com.yujigames.breakbricks.huawei.rpk"
new file mode 100644
index 0000000..c86e2db
--- /dev/null
+++ "b/DOC/HuaWei/\345\271\277\345\221\212\351\252\214\346\224\266\357\274\210\346\265\213\350\257\225\345\214\205\051/com.yujigames.breakbricks.huawei.rpk"
Binary files differ
diff --git "a/DOC/HuaWei/\350\207\252\346\243\200\346\212\245\345\221\212.xlsx" "b/DOC/HuaWei/\345\271\277\345\221\212\351\252\214\346\224\266\357\274\210\346\265\213\350\257\225\345\214\205\051/\350\207\252\346\243\200\346\212\245\345\221\212.xlsx"
similarity index 99%
rename from "DOC/HuaWei/\350\207\252\346\243\200\346\212\245\345\221\212.xlsx"
rename to "DOC/HuaWei/\345\271\277\345\221\212\351\252\214\346\224\266\357\274\210\346\265\213\350\257\225\345\214\205\051/\350\207\252\346\243\200\346\212\245\345\221\212.xlsx"
index dbf5e75..31ce619 100644
--- "a/DOC/HuaWei/\350\207\252\346\243\200\346\212\245\345\221\212.xlsx"
+++ "b/DOC/HuaWei/\345\271\277\345\221\212\351\252\214\346\224\266\357\274\210\346\265\213\350\257\225\345\214\205\051/\350\207\252\346\243\200\346\212\245\345\221\212.xlsx"
Binary files differ
diff --git "a/DOC/HuaWei/\346\255\243\345\274\217\345\271\277\345\221\212\345\214\205/com.yujigames.breakbricks.huawei.rpk" "b/DOC/HuaWei/\346\255\243\345\274\217\345\271\277\345\221\212\345\214\205/com.yujigames.breakbricks.huawei.rpk"
new file mode 100644
index 0000000..9d133ef
--- /dev/null
+++ "b/DOC/HuaWei/\346\255\243\345\274\217\345\271\277\345\221\212\345\214\205/com.yujigames.breakbricks.huawei.rpk"
Binary files differ
diff --git a/assets/Scene/main.fire b/assets/Scene/main.fire
index 12cf659..e89d01d 100644
--- a/assets/Scene/main.fire
+++ b/assets/Scene/main.fire
@@ -602,7 +602,6 @@
},
"_resize": 1,
"_N$layoutType": 3,
- "_N$padding": 0,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
@@ -675,7 +674,11 @@
"__id__": 8
},
"_enabled": true,
- "_materials": [],
+ "_materials": [
+ {
+ "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+ }
+ ],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
@@ -1421,7 +1424,7 @@
"__id__": 33
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 35
@@ -1462,7 +1465,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -1647,7 +1650,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "分享",
"_N$string": "分享",
"_fontSize": 32,
@@ -1657,6 +1661,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -1797,7 +1803,7 @@
"__id__": 41
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 43
@@ -1838,7 +1844,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -2023,7 +2029,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "更多游戏",
"_N$string": "更多游戏",
"_fontSize": 36,
@@ -2033,6 +2040,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2173,7 +2182,7 @@
"__id__": 49
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 51
@@ -2214,7 +2223,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -2399,7 +2408,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "添加到桌面",
"_N$string": "添加到桌面",
"_fontSize": 36,
@@ -2409,6 +2419,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2549,7 +2561,7 @@
"__id__": 57
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 59
@@ -2593,7 +2605,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -2778,7 +2790,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "加关注\n更多精彩",
"_N$string": "加关注\n更多精彩",
"_fontSize": 36,
@@ -2788,6 +2801,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3153,7 +3168,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "????",
"_N$string": "????",
"_fontSize": 70,
@@ -3165,6 +3181,8 @@
"_isSystemFontUsed": false,
"_spacingX": 3,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3247,7 +3265,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "0000",
"_N$string": "0000",
"_fontSize": 32,
@@ -3259,6 +3278,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3525,7 +3546,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "Spring",
"_N$string": "Spring",
"_fontSize": 40,
@@ -3535,6 +3557,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3667,7 +3691,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "WEEKLY LEADERBOARD",
"_N$string": "WEEKLY LEADERBOARD",
"_fontSize": 24,
@@ -3679,6 +3704,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3852,7 +3879,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
- -250,
+ 0,
0,
0,
0,
@@ -3861,7 +3888,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -4046,7 +4073,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "皮肤",
"_N$string": "皮肤",
"_fontSize": 32,
@@ -4056,6 +4084,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -4296,7 +4326,11 @@
"__id__": 25
},
"_enabled": true,
- "_materials": [],
+ "_materials": [
+ {
+ "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+ }
+ ],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
@@ -4436,7 +4470,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 41.04,
- "height": 38.96
+ "height": 56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4485,7 +4519,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "320",
"_N$string": "320",
"_fontSize": 32,
@@ -4497,6 +4532,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -4859,7 +4896,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "SHOP",
"_N$string": "SHOP",
"_fontSize": 32,
@@ -4871,6 +4909,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -5086,7 +5126,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 13.22,
- "height": 38.96
+ "height": 56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5135,7 +5175,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "0",
"_N$string": "0",
"_fontSize": 32,
@@ -5147,6 +5188,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -5330,7 +5373,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "更多关卡",
"_N$string": "更多关卡",
"_fontSize": 28,
@@ -5340,6 +5384,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -5955,7 +6001,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "更多关卡",
"_N$string": "更多关卡",
"_fontSize": 50,
@@ -5965,6 +6012,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -6184,7 +6233,6 @@
},
"_resize": 1,
"_N$layoutType": 2,
- "_N$padding": 0,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
@@ -6451,7 +6499,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 28.43,
- "height": 20
+ "height": 46
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -6463,7 +6511,7 @@
"ctor": "Float64Array",
"array": [
345,
- 620,
+ 607,
0,
0,
0,
@@ -6500,7 +6548,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "1.0.6",
"_N$string": "1.0.6",
"_fontSize": 20,
@@ -6512,6 +6561,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -7017,7 +7068,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "玩命加载中...",
"_N$string": "玩命加载中...",
"_fontSize": 32,
@@ -7027,6 +7079,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -7189,6 +7243,7 @@
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
- "_originalHeight": 0
+ "_originalHeight": 0,
+ "_id": "c8GPklwANP/bf/xX5/6po+"
}
]
\ No newline at end of file
diff --git a/assets/Script/EveryDayLayer.ts b/assets/Script/EveryDayLayer.ts
index 9b14481..89c3a89 100644
--- a/assets/Script/EveryDayLayer.ts
+++ b/assets/Script/EveryDayLayer.ts
@@ -143,7 +143,7 @@
Global.debounceClicks(() => {
SoundManager.playButton();
this.claimReward();
- }, 'EveryDayLayer-onClickClaim');
+ }, 'EveryDayLayer-onClickClaim')();
}
onClickDouble() {
@@ -171,6 +171,6 @@
});
}
- }, 'EveryDayLayer-onClickDouble');
+ }, 'EveryDayLayer-onClickDouble')();
}
}
diff --git a/assets/Script/Game.ts b/assets/Script/Game.ts
index d43f640..1c1b340 100644
--- a/assets/Script/Game.ts
+++ b/assets/Script/Game.ts
@@ -250,7 +250,7 @@
Global.showTip('钻石不足');
this.showShop();
}
- }, 'Game-onClickPropShoot');
+ }, 'Game-onClickPropShoot')();
}
onClickPropTimes() {
@@ -266,7 +266,7 @@
Global.showTip('钻石不足');
this.showShop();
}
- }, 'Game-onClickPropTimes');
+ }, 'Game-onClickPropTimes')();
}
onClickPropWall() {
@@ -282,7 +282,7 @@
Global.showTip('钻石不足');
this.showShop();
}
- }, 'Game-onClickPropWall');
+ }, 'Game-onClickPropWall')();
}
onClickWatchAds() {
@@ -317,7 +317,7 @@
}
});
}
- }, 'Game-onClickWatchAds');
+ }, 'Game-onClickWatchAds')();
}
diff --git a/assets/Script/RewardLayer.ts b/assets/Script/RewardLayer.ts
index 4006b69..91b554e 100644
--- a/assets/Script/RewardLayer.ts
+++ b/assets/Script/RewardLayer.ts
@@ -21,7 +21,7 @@
SoundManager.playButton();
this.cliamReward(1);
this.hide();
- }, 'RewardLayer-onClickClose');
+ }, 'RewardLayer-onClickClose')();
}
hide() {
@@ -83,6 +83,6 @@
});
}
- }, 'RewardLayer-onClickCliam');
+ }, 'RewardLayer-onClickCliam')();
}
}
diff --git a/assets/Script/Sdk/Sdk.ts b/assets/Script/Sdk/Sdk.ts
index 60b9760..b1297ba 100644
--- a/assets/Script/Sdk/Sdk.ts
+++ b/assets/Script/Sdk/Sdk.ts
@@ -2,6 +2,7 @@
import { SdkDefault } from "./SdkDefault";
import { SdkAndroid } from "./SdkAndroid";
import { SdkIOS } from "./SdkIOS";
+import { SdkHuawei } from "./SdkHuawei";
/**
* Sdk统一使用入口
@@ -16,6 +17,8 @@
Sdk._instance = new SdkAndroid();
} else if (Sdk.isIOS) {
Sdk._instance = new SdkIOS();
+ } else if (Sdk.isHuawei) {
+ Sdk._instance = new SdkHuawei();
} else {
Sdk._instance = new SdkDefault();
}
@@ -24,7 +27,7 @@
return Sdk._instance;
}
- public static getInstance(): SdkDefault{
+ public static getInstance(): SdkDefault {
return this.ins;
}
diff --git a/assets/Script/Sdk/SdkHuawei.ts b/assets/Script/Sdk/SdkHuawei.ts
index 910e0e1..61735d6 100644
--- a/assets/Script/Sdk/SdkHuawei.ts
+++ b/assets/Script/Sdk/SdkHuawei.ts
@@ -1,19 +1,20 @@
+import { SdkDefault } from "./SdkDefault";
var rewardCallback = null;
-export class SdkHuawei {
+export class SdkHuawei extends SdkDefault {
private lastShowInterAdTime: number = 0;
- private static interstitialAd = null;
- private static rewardedVideoAd = null;
- private static interstitialAdLoaded: boolean = false;
+ private interstitialAd = null;
+ private rewardedVideoAd = null;
+ private interstitialAdLoaded: boolean = false;
/**
* 开始游戏
* @param cb
*/
- static startGame(cb?: Function): void {
+ startGame(cb?: Function): void {
cc.log('SdkHuawei startGame.');
qg.gameLoginWithReal({
@@ -36,20 +37,20 @@
if (code == 7004 || code == 2012) {
console.log("玩家取消登录,返回游戏界面让玩家重新登录。");
cc.director.loadScene('logo');
- }else
- //状态码为7021表示玩家取消实名认证。
- //在中国大陆的情况下,此时需要禁止玩家进入游戏。
- if (code == 7021) {
- console.log("The player has canceled identity verification. Forbid the player from entering the game.")
- cc.director.loadScene('logo');
- }else{
- cc.game.end();
- }
+ } else
+ //状态码为7021表示玩家取消实名认证。
+ //在中国大陆的情况下,此时需要禁止玩家进入游戏。
+ if (code == 7021) {
+ console.log("The player has canceled identity verification. Forbid the player from entering the game.")
+ cc.director.loadScene('logo');
+ } else {
+ cc.game.end();
+ }
}
});
}
- static getOAID() {
+ getOAID() {
"function" == typeof qg.getOAID && qg.getOAID({
success: function (ret) {
console.log("qg.getOAID success :" + JSON.stringify(ret));
@@ -64,7 +65,7 @@
}
//Ads
- static showInterAd() {
+ showInterAd() {
cc.log('show InterAd');
// if (Date.now() - this.lastShowInterAdTime > 30000) {//最少间隔30秒
// this.lastShowInterAdTime = Date.now();
@@ -76,14 +77,14 @@
}
- static loadInterAd() {
+ loadInterAd() {
if (this.interstitialAd) {
this.interstitialAd.destroy();
}
this.interstitialAd = qg.createInterstitialAd({
adUnitId:
- "g2tz5d4wkv" //测试ID
- //"q5m5hlquus"//正式ID
+ // "g2tz5d4wkv" //测试ID
+ "q5m5hlquus"//正式ID
});
this.interstitialAd.load({
"channelExtras": {
@@ -110,11 +111,11 @@
});
}
- static reLoadVideo() {
+ reLoadVideo() {
this.rewardedVideoAd = qg.createRewardedVideoAd({
adUnitId:
- "testx9dtjwj8hp" //测试ID
- //"v1gtsb1ga8" //正式ID
+ // "testx9dtjwj8hp" //测试ID
+ "v1gtsb1ga8" //正式ID
,
success: (code) => {
cc.log("ad demo : loadAndShowVideoAd createRewardedVideoAd success");
@@ -153,7 +154,7 @@
this.rewardedVideoAd.load()
}
- static showVideoAd(cb?: (result: boolean) => void) {
+ showVideoAd(cb?: (result: boolean) => void) {
cc.log('show VideoAd');
// cb && cb(true);
@@ -162,4 +163,8 @@
this.rewardedVideoAd.load();
}
+ isPaymentReady(cb?: (result: boolean) => void) {
+ cb && cb(false);
+ }
+
}
diff --git a/assets/Script/SkinLayer.ts b/assets/Script/SkinLayer.ts
index 01ee6ce..b30e787 100644
--- a/assets/Script/SkinLayer.ts
+++ b/assets/Script/SkinLayer.ts
@@ -154,6 +154,6 @@
}
});
- }, 'SkinLayer-onClickWatchAd');
+ }, 'SkinLayer-onClickWatchAd')();
}
}
diff --git a/assets/resources/prefabs/ui/ResultLayer.prefab b/assets/resources/prefabs/ui/ResultLayer.prefab
index 73687e0..9bed0df 100644
--- a/assets/resources/prefabs/ui/ResultLayer.prefab
+++ b/assets/resources/prefabs/ui/ResultLayer.prefab
@@ -288,7 +288,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "ecMjAVWFNJYbO8FqAL/rQN",
"sync": false
@@ -517,7 +517,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "99aBED06FNFrz39KxIyGEB",
"sync": false
@@ -692,7 +692,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "82fKKUwcJJZINi6t5vfUuo",
"sync": false
@@ -735,7 +735,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "33RcV42GVFKYSQzOmOL12M",
"sync": false
@@ -791,7 +791,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -929,7 +929,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "095tmK5AtFEauVFaf5Ltgv",
"sync": false
@@ -1123,7 +1123,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "e1Xg70VsxBjZgJkTreY0Ey",
"sync": false
@@ -1319,7 +1319,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "06BR1JAoZEcrbIWsvWJMTy",
"sync": false
@@ -1339,7 +1339,7 @@
"__id__": 36
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 39
@@ -1385,7 +1385,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -1503,7 +1503,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "e3prqPD+9Oz4gIvWEWxuVb",
"sync": false
@@ -1585,7 +1585,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "加关注\n更多精彩",
"_N$string": "加关注\n更多精彩",
"_fontSize": 36,
@@ -1595,6 +1596,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -1608,7 +1611,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "6fbIdikfhG/pYVb5TnJidh",
"sync": false
@@ -1749,7 +1752,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "0cG+1SI8xJ17cKyhLvWwWA",
"sync": false
@@ -1772,7 +1775,7 @@
"__id__": 51
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 54
@@ -1908,7 +1911,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "分享录屏",
"_N$string": "分享录屏",
"_fontSize": 30,
@@ -1918,6 +1922,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -1931,7 +1937,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "a3VZXdIrpPOYv5TJV2ZmlO",
"sync": false
@@ -2013,7 +2019,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "+50",
"_N$string": "+50",
"_fontSize": 46,
@@ -2023,6 +2030,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2036,7 +2045,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "39IIRgegZO9bVeOFV+ZwhY",
"sync": false
@@ -2143,7 +2152,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "26li5lNXlBmbGERIRWuQiv",
"sync": false
@@ -2272,7 +2281,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "46nUIEV5BNx6OYebqyTCWo",
"sync": false
@@ -2373,7 +2382,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 46.91,
- "height": 31.65
+ "height": 56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -2422,7 +2431,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "9880",
"_N$string": "9880",
"_fontSize": 26,
@@ -2434,6 +2444,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2447,7 +2459,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "3fG1NgKLJF/Im+SQj3Fi1b",
"sync": false
@@ -2490,7 +2502,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "dcwkBkF89JbIif0LAcSgbQ",
"sync": false
@@ -2572,7 +2584,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "积分奖励",
"_N$string": "积分奖励",
"_fontSize": 26,
@@ -2582,6 +2595,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2595,7 +2610,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "ba5kI4ZfVBHax5epIgh5MP",
"sync": false
@@ -2677,7 +2692,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "关卡 4000",
"_N$string": "关卡 4000",
"_fontSize": 46,
@@ -2687,6 +2703,8 @@
"_isSystemFontUsed": true,
"_spacingX": 2,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2700,7 +2718,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "f00l45PD1P9orTujiDR2i1",
"sync": false
@@ -2804,7 +2822,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 41.04,
- "height": 38.96
+ "height": 56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -2853,7 +2871,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "+30",
"_N$string": "+30",
"_fontSize": 32,
@@ -2865,6 +2884,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2878,7 +2899,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "3059yt+ddOZ600GSidXhBz",
"sync": false
@@ -2985,7 +3006,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "b1yXLoTHdNuJUPOGqllqAr",
"sync": false
@@ -3026,7 +3047,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "7dsXHG9/NAKq3os9z2XPOd",
"sync": false
@@ -3133,7 +3154,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "362RMJnkpK7KjBbJt0Ehy0",
"sync": false
@@ -3240,7 +3261,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "0cUYYvTapJr6z+0mWb+DmR",
"sync": false
@@ -3347,7 +3368,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "a5Y/iWsWtGP6vY+y/UAvp6",
"sync": false
@@ -3464,7 +3485,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "a3xlD3bYFOraqJ8X/druJd",
"sync": false
@@ -3581,7 +3602,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "53ECoCydNEcqGkukUACwVm",
"sync": false
@@ -3698,7 +3719,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "d4MlxrBOBLTLyRbOoIuvD4",
"sync": false
@@ -3718,7 +3739,7 @@
"__id__": 101
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 104
@@ -3761,7 +3782,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -3879,7 +3900,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "cfQF8MruxC34PX4K9pqkUD",
"sync": false
@@ -3961,7 +3982,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "更多游戏",
"_N$string": "更多游戏",
"_fontSize": 36,
@@ -3971,6 +3993,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3984,7 +4008,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "e7QjeSEIFHzYZKkyzKqTon",
"sync": false
@@ -4113,7 +4137,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "89tqpmpLtFzI2ApziNDHQc",
"sync": false
@@ -4133,7 +4157,7 @@
"__id__": 112
}
],
- "_active": true,
+ "_active": false,
"_components": [
{
"__id__": 115
@@ -4176,7 +4200,7 @@
1,
1,
1,
- 1
+ 0
]
},
"_eulerAngles": {
@@ -4294,7 +4318,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "8conFzwuVPtbdp6CDo/aJl",
"sync": false
@@ -4376,7 +4400,8 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
- "_useOriginalSize": false,
+ "_srcBlendFactor": 770,
+ "_dstBlendFactor": 771,
"_string": "添加到桌面",
"_N$string": "添加到桌面",
"_fontSize": 36,
@@ -4386,6 +4411,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
+ "_styleFlags": 0,
+ "_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -4399,7 +4426,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "52/aCBgCFKvJc2dlm+dk3h",
"sync": false
@@ -4528,7 +4555,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "42WgzCvNhIZKeGmqyJSfEZ",
"sync": false
@@ -4571,7 +4598,7 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
"fileId": "70lzt1rGNFk4dey3ACDvhG",
"sync": false
@@ -4651,9 +4678,9 @@
"__id__": 1
},
"asset": {
- "__uuid__": "58200023-d6e9-4e4c-bd8d-8972d44e9caa"
+ "__id__": 0
},
- "fileId": "bfJrUhJNNG6J5RToPiOKCn",
+ "fileId": "",
"sync": false
}
]
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index c10be62..2ed46d3 100644
--- a/manifest.json
+++ b/manifest.json
@@ -17,5 +17,5 @@
"orientation":"portrait",
"fullScreen":true
},
- "gameGridSlotId": "j79gukslrn"
+ "gameGridSlotId": "k2mhxffo4c"
}
\ No newline at end of file
--
Gitblit v1.9.1