Compare commits
No commits in common. "03ed530e92e13025818cf5481a419cd8b4214306" and "1476438d97565c5212ce6ab2fad25cbfa07a31ca" have entirely different histories.
03ed530e92
...
1476438d97
File diff suppressed because it is too large
Load Diff
|
@ -296,14 +296,6 @@ export default class SceneManager extends cc.Component {
|
|||
propWindow.getChildByName("magic").active = false;
|
||||
propWindow.getChildByName("buy_Btn").getComponent("btnControl").setTouch(true);
|
||||
propWindow.getChildByName(name).active = true;
|
||||
if(name == "hammer"){
|
||||
propWindow.getChildByName("buy_Btn").getChildByName("hammer").active = true;
|
||||
propWindow.getChildByName("buy_Btn").getChildByName("nomal").active = false;
|
||||
}
|
||||
else{
|
||||
propWindow.getChildByName("buy_Btn").getChildByName("hammer").active = false;
|
||||
propWindow.getChildByName("buy_Btn").getChildByName("nomal").active = true;
|
||||
}
|
||||
}
|
||||
|
||||
clickBtn() {
|
||||
|
|
|
@ -1250,7 +1250,6 @@ export namespace MiniGameSdk {
|
|||
|
||||
//#region 引力平台-
|
||||
static yinli_Init(){
|
||||
if (typeof wx !== 'undefined' && wx !== null) {
|
||||
const configYinli = {
|
||||
accessToken: "aGws0nluotbm6Jjiv9WMuzOAbXLydxwe", // 项目通行证,在:网站后台-->设置-->应用列表中找到Access Token列 复制(首次使用可能需要先新增应用)
|
||||
clientId: cc.fx.GameConfig.GM_INFO.openid, // 用户唯一标识,如产品为小游戏,则必须填用户openid(注意,不是小游戏的APPID!!!)
|
||||
|
@ -1286,6 +1285,5 @@ export namespace MiniGameSdk {
|
|||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -373,8 +373,8 @@ var GameTool = {
|
|||
}
|
||||
cc.fx.GameConfig.GM_INFO.coin += coin;
|
||||
if(coin > 0){
|
||||
// let data = "获得" + (coin) + "金币";
|
||||
// MiniGameSdk.API.showToast(data);
|
||||
let data = "获得" + (coin) + "金币";
|
||||
MiniGameSdk.API.showToast(data);
|
||||
}
|
||||
else{
|
||||
let data = "消耗" + (-coin) + "金币";
|
||||
|
@ -637,14 +637,8 @@ var GameTool = {
|
|||
buyProp(propid,callback: Function) {
|
||||
//@ts-ignore
|
||||
if (typeof wx!== 'undefined' && wx!== null) {
|
||||
let num = 3;
|
||||
let cost = 1500;
|
||||
if(propid == 2002){
|
||||
cost = 1000;
|
||||
num = 1;
|
||||
}
|
||||
cc.fx.GameTool.changeCoin(-cost);
|
||||
cc.fx.GameTool.setUserProp(propid,num,(data)=>{
|
||||
cc.fx.GameTool.changeCoin(-1500);
|
||||
cc.fx.GameTool.setUserProp(propid,3,(data)=>{
|
||||
})
|
||||
const data = {
|
||||
id: (propid + ""),
|
||||
|
@ -659,7 +653,7 @@ var GameTool = {
|
|||
const buyData = {
|
||||
item_id:_id,
|
||||
item_num:3,
|
||||
item_price:cost,
|
||||
item_price:1500,
|
||||
cost_type:"gold"
|
||||
}
|
||||
console.log("____________即将上传Shop_buy",buyData);
|
||||
|
|
395
assets/resources/Json/level220.json
Normal file
395
assets/resources/Json/level220.json
Normal file
|
@ -0,0 +1,395 @@
|
|||
{
|
||||
"LEVEL_INFO": [
|
||||
{
|
||||
"id": "242",
|
||||
"map": [
|
||||
9,
|
||||
12
|
||||
],
|
||||
"time": 120,
|
||||
"gap": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 10,
|
||||
"z": 0
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 10,
|
||||
"z": 0
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 10,
|
||||
"z": 0
|
||||
},
|
||||
{
|
||||
"x": 3,
|
||||
"y": 1,
|
||||
"z": 0
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"z": 0
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 1,
|
||||
"z": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"BLOCK_INFO": [
|
||||
[
|
||||
{
|
||||
"block": 23,
|
||||
"color": 1,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": 420,
|
||||
"y": -240,
|
||||
"z": 0
|
||||
},
|
||||
"id": 210
|
||||
},
|
||||
{
|
||||
"block": 23,
|
||||
"color": 1,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": 420,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"id": 220
|
||||
},
|
||||
{
|
||||
"block": 23,
|
||||
"color": 1,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": -300,
|
||||
"y": -240,
|
||||
"z": 0
|
||||
},
|
||||
"id": 230
|
||||
},
|
||||
{
|
||||
"block": 23,
|
||||
"color": 1,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": -300,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"id": 240
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 9,
|
||||
"type": 6,
|
||||
"position": {
|
||||
"x": -180,
|
||||
"y": -120,
|
||||
"z": 0
|
||||
},
|
||||
"boomTime": 20,
|
||||
"id": 250
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 2,
|
||||
"type": 6,
|
||||
"position": {
|
||||
"x": 300,
|
||||
"y": -120,
|
||||
"z": 0
|
||||
},
|
||||
"boomTime": 15,
|
||||
"id": 260
|
||||
},
|
||||
{
|
||||
"block": 0,
|
||||
"color": 10,
|
||||
"type": 2,
|
||||
"position": {
|
||||
"x": 60,
|
||||
"y": -360,
|
||||
"z": 0
|
||||
},
|
||||
"id": 270
|
||||
},
|
||||
{
|
||||
"block": 0,
|
||||
"color": 8,
|
||||
"type": 2,
|
||||
"position": {
|
||||
"x": 60,
|
||||
"y": -480,
|
||||
"z": 0
|
||||
},
|
||||
"id": 280
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 10,
|
||||
"type": 2,
|
||||
"position": {
|
||||
"x": 300,
|
||||
"y": 360,
|
||||
"z": 0
|
||||
},
|
||||
"id": 290
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 1,
|
||||
"type": 2,
|
||||
"position": {
|
||||
"x": 420,
|
||||
"y": 360,
|
||||
"z": 0
|
||||
},
|
||||
"id": 300
|
||||
},
|
||||
{
|
||||
"block": 3,
|
||||
"color": 8,
|
||||
"type": 3,
|
||||
"position": {
|
||||
"x": 180,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"lockTime": 4,
|
||||
"id": 310
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 8,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": 420,
|
||||
"y": -600,
|
||||
"z": 0
|
||||
},
|
||||
"id": 320
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 5,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": 300,
|
||||
"y": -600,
|
||||
"z": 0
|
||||
},
|
||||
"id": 330
|
||||
},
|
||||
{
|
||||
"block": 10,
|
||||
"color": 5,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": 60,
|
||||
"y": 120,
|
||||
"z": 0
|
||||
},
|
||||
"id": 340
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 5,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": -300,
|
||||
"y": 360,
|
||||
"z": 0
|
||||
},
|
||||
"id": 350
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 7,
|
||||
"type": 0,
|
||||
"position": {
|
||||
"x": -180,
|
||||
"y": 360,
|
||||
"z": 0
|
||||
},
|
||||
"id": 360
|
||||
},
|
||||
{
|
||||
"block": 13,
|
||||
"color": 3,
|
||||
"type": 7,
|
||||
"position": {
|
||||
"x": -60,
|
||||
"y": 120,
|
||||
"z": 0
|
||||
},
|
||||
"id": 380
|
||||
},
|
||||
{
|
||||
"block": 5,
|
||||
"color": 3,
|
||||
"type": 9,
|
||||
"position": {
|
||||
"x": 60,
|
||||
"y": -240,
|
||||
"z": 0
|
||||
},
|
||||
"adhesiveTime": 2,
|
||||
"id": 380
|
||||
},
|
||||
{
|
||||
"block": 2,
|
||||
"color": 3,
|
||||
"type": 9,
|
||||
"position": {
|
||||
"x": 180,
|
||||
"y": -240,
|
||||
"z": 0
|
||||
},
|
||||
"adhesiveTime": 1,
|
||||
"id": 390
|
||||
},
|
||||
{
|
||||
"block": 1,
|
||||
"color": 3,
|
||||
"type": 9,
|
||||
"position": {
|
||||
"x": -60,
|
||||
"y": -480,
|
||||
"z": 0
|
||||
},
|
||||
"adhesiveTime": 2,
|
||||
"id": 400
|
||||
},
|
||||
{
|
||||
"block": 1,
|
||||
"color": 3,
|
||||
"type": 9,
|
||||
"position": {
|
||||
"x": -180,
|
||||
"y": -600,
|
||||
"z": 0
|
||||
},
|
||||
"adhesiveTime": 1,
|
||||
"id": 410
|
||||
}
|
||||
]
|
||||
],
|
||||
"WALL_INFO": [
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"num": 11,
|
||||
"color": 10,
|
||||
"special": 0,
|
||||
"length": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"num": 13,
|
||||
"color": 1,
|
||||
"special": 0,
|
||||
"length": 1
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"num": 6,
|
||||
"color": 8,
|
||||
"special": 0,
|
||||
"length": 2
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"num": 7,
|
||||
"color": 8,
|
||||
"special": 0,
|
||||
"length": 0
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"num": 34,
|
||||
"color": 3,
|
||||
"special": 0,
|
||||
"length": 2
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"num": 35,
|
||||
"color": 3,
|
||||
"special": 0,
|
||||
"length": 0
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"num": 29,
|
||||
"color": 7,
|
||||
"special": 0,
|
||||
"length": 2
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"num": 30,
|
||||
"color": 7,
|
||||
"special": 0,
|
||||
"length": 0
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"num": 1,
|
||||
"color": 2,
|
||||
"special": 0,
|
||||
"length": 2
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"num": 2,
|
||||
"color": 2,
|
||||
"special": 0,
|
||||
"length": 0
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"num": 10,
|
||||
"color": 5,
|
||||
"special": 0,
|
||||
"length": 2
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"num": 12,
|
||||
"color": 5,
|
||||
"special": 0,
|
||||
"length": 0
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"num": 24,
|
||||
"color": 9,
|
||||
"special": 0,
|
||||
"length": 0
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"num": 24,
|
||||
"color": 9,
|
||||
"special": 0,
|
||||
"length": 2
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"num": 26,
|
||||
"color": 9,
|
||||
"special": 0,
|
||||
"length": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
6
assets/resources/Json/level220.json.meta
Normal file
6
assets/resources/Json/level220.json.meta
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"ver": "1.0.2",
|
||||
"uuid": "d77cf848-1c11-4099-8adc-e5f3385376e7",
|
||||
"importer": "json",
|
||||
"subMetas": {}
|
||||
}
|
|
@ -33,14 +33,14 @@
|
|||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 324
|
||||
"__id__": 320
|
||||
},
|
||||
{
|
||||
"__id__": 325
|
||||
"__id__": 321
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 326
|
||||
"__id__": 322
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -428,7 +428,7 @@
|
|||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
-290,
|
||||
-141.52999999999997,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
@ -9836,7 +9836,7 @@
|
|||
"_alignFlags": 1,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 500,
|
||||
"_top": 351.53,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
|
@ -9876,26 +9876,23 @@
|
|||
"__id__": 272
|
||||
},
|
||||
{
|
||||
"__id__": 276
|
||||
"__id__": 278
|
||||
},
|
||||
{
|
||||
"__id__": 282
|
||||
"__id__": 299
|
||||
},
|
||||
{
|
||||
"__id__": 303
|
||||
},
|
||||
{
|
||||
"__id__": 316
|
||||
"__id__": 312
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 322
|
||||
"__id__": 318
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 323
|
||||
"__id__": 319
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -9987,7 +9984,7 @@
|
|||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
31.149999999999977,
|
||||
126.72199999999998,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
@ -10058,7 +10055,7 @@
|
|||
"_alignFlags": 1,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 91.46199999999993,
|
||||
"_top": -4.110000000000014,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
|
@ -10083,145 +10080,6 @@
|
|||
"fileId": "91FPh7kZtC+51mI5KXRts7",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "shop_1",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 267
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 273
|
||||
},
|
||||
{
|
||||
"__id__": 274
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 275
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1080,
|
||||
"height": 436
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
461.72500000000025,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
-1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 272
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "11bc6aa1-f82e-42c0-8581-7cc70ba6cde0"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 272
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
"_target": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_alignFlags": 1,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": -339.11300000000017,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 1080,
|
||||
"_originalHeight": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "c2W8O2LhdN2Yt3Y+q1zlF1",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "tx",
|
||||
|
@ -10231,17 +10089,17 @@
|
|||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 277
|
||||
"__id__": 273
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 280
|
||||
"__id__": 276
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 281
|
||||
"__id__": 277
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -10266,7 +10124,7 @@
|
|||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-412.791,
|
||||
15.964,
|
||||
111.536,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
@ -10295,17 +10153,17 @@
|
|||
"_name": "icon",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 276
|
||||
"__id__": 272
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 278
|
||||
"__id__": 274
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 279
|
||||
"__id__": 275
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -10359,7 +10217,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 277
|
||||
"__id__": 273
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -10402,7 +10260,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 276
|
||||
"__id__": 272
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -10451,32 +10309,32 @@
|
|||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 283
|
||||
"__id__": 279
|
||||
},
|
||||
{
|
||||
"__id__": 286
|
||||
"__id__": 282
|
||||
},
|
||||
{
|
||||
"__id__": 289
|
||||
"__id__": 285
|
||||
},
|
||||
{
|
||||
"__id__": 292
|
||||
"__id__": 288
|
||||
},
|
||||
{
|
||||
"__id__": 295
|
||||
"__id__": 291
|
||||
},
|
||||
{
|
||||
"__id__": 297
|
||||
"__id__": 293
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 300
|
||||
"__id__": 296
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 302
|
||||
"__id__": 298
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -10501,7 +10359,7 @@
|
|||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-81.953,
|
||||
71.066,
|
||||
166.638,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
@ -10530,17 +10388,17 @@
|
|||
"_name": "New Sprite",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 282
|
||||
"__id__": 278
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 284
|
||||
"__id__": 280
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 285
|
||||
"__id__": 281
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -10594,7 +10452,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 283
|
||||
"__id__": 279
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -10639,17 +10497,17 @@
|
|||
"_name": "New Sprite",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 282
|
||||
"__id__": 278
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 287
|
||||
"__id__": 283
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 288
|
||||
"__id__": 284
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -10703,7 +10561,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 286
|
||||
"__id__": 282
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -10748,17 +10606,17 @@
|
|||
"_name": "New Sprite",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 282
|
||||
"__id__": 278
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 290
|
||||
"__id__": 286
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 291
|
||||
"__id__": 287
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -10812,7 +10670,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 289
|
||||
"__id__": 285
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -10857,17 +10715,17 @@
|
|||
"_name": "man",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 282
|
||||
"__id__": 278
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 293
|
||||
"__id__": 289
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 294
|
||||
"__id__": 290
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -10921,7 +10779,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 292
|
||||
"__id__": 288
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -10966,13 +10824,13 @@
|
|||
"_name": "health",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 282
|
||||
"__id__": 278
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 296
|
||||
"__id__": 292
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -11037,17 +10895,17 @@
|
|||
"_name": "time",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 282
|
||||
"__id__": 278
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 298
|
||||
"__id__": 294
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 299
|
||||
"__id__": 295
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -11101,7 +10959,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 297
|
||||
"__id__": 293
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -11145,7 +11003,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 282
|
||||
"__id__": 278
|
||||
},
|
||||
"_enabled": false,
|
||||
"_normalMaterial": null,
|
||||
|
@ -11154,7 +11012,7 @@
|
|||
"zoomScale": 1.1,
|
||||
"clickEvents": [
|
||||
{
|
||||
"__id__": 301
|
||||
"__id__": 297
|
||||
}
|
||||
],
|
||||
"_N$interactable": true,
|
||||
|
@ -11240,22 +11098,22 @@
|
|||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 304
|
||||
"__id__": 300
|
||||
},
|
||||
{
|
||||
"__id__": 307
|
||||
"__id__": 303
|
||||
},
|
||||
{
|
||||
"__id__": 310
|
||||
"__id__": 306
|
||||
},
|
||||
{
|
||||
"__id__": 313
|
||||
"__id__": 309
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 315
|
||||
"__id__": 311
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -11279,8 +11137,8 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
304.668,
|
||||
71.066,
|
||||
335.588,
|
||||
166.638,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
@ -11309,17 +11167,17 @@
|
|||
"_name": "New Sprite",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 303
|
||||
"__id__": 299
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 305
|
||||
"__id__": 301
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 306
|
||||
"__id__": 302
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -11373,7 +11231,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 304
|
||||
"__id__": 300
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -11418,17 +11276,17 @@
|
|||
"_name": "New Sprite",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 303
|
||||
"__id__": 299
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 308
|
||||
"__id__": 304
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 309
|
||||
"__id__": 305
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -11482,7 +11340,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 307
|
||||
"__id__": 303
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -11527,17 +11385,17 @@
|
|||
"_name": "New Sprite",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 303
|
||||
"__id__": 299
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 311
|
||||
"__id__": 307
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 312
|
||||
"__id__": 308
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -11591,7 +11449,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 310
|
||||
"__id__": 306
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -11636,13 +11494,13 @@
|
|||
"_name": "Coin",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 303
|
||||
"__id__": 299
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 314
|
||||
"__id__": 310
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -11724,17 +11582,17 @@
|
|||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 317
|
||||
"__id__": 313
|
||||
},
|
||||
{
|
||||
"__id__": 318
|
||||
"__id__": 314
|
||||
},
|
||||
{
|
||||
"__id__": 319
|
||||
"__id__": 315
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 321
|
||||
"__id__": 317
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
@ -11759,7 +11617,7 @@
|
|||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
447.208,
|
||||
-108.50999999999999,
|
||||
-6.111999999999966,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
@ -11788,7 +11646,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 316
|
||||
"__id__": 312
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
|
@ -11822,7 +11680,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 316
|
||||
"__id__": 312
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
|
@ -11832,7 +11690,7 @@
|
|||
"_alignFlags": 1,
|
||||
"_left": 0,
|
||||
"_right": 24.363999999999976,
|
||||
"_top": 398.12199999999996,
|
||||
"_top": 295.724,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
|
@ -11851,7 +11709,7 @@
|
|||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 316
|
||||
"__id__": 312
|
||||
},
|
||||
"_enabled": true,
|
||||
"_normalMaterial": null,
|
||||
|
@ -11860,7 +11718,7 @@
|
|||
"zoomScale": 1.2,
|
||||
"clickEvents": [
|
||||
{
|
||||
"__id__": 320
|
||||
"__id__": 316
|
||||
}
|
||||
],
|
||||
"_N$interactable": true,
|
||||
|
@ -11916,7 +11774,7 @@
|
|||
"hoverSprite": null,
|
||||
"_N$disabledSprite": null,
|
||||
"_N$target": {
|
||||
"__id__": 316
|
||||
"__id__": 312
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
@ -11996,10 +11854,10 @@
|
|||
"__id__": 18
|
||||
},
|
||||
"coin": {
|
||||
"__id__": 313
|
||||
"__id__": 309
|
||||
},
|
||||
"Stamina": {
|
||||
"__id__": 282
|
||||
"__id__": 278
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
|
|
@ -235,8 +235,8 @@ protected update(dt: number): void {
|
|||
|
||||
// Utils.GoKEFu();
|
||||
if(systemType == "ios"){
|
||||
MiniGameSdk.API.showToast("IOS系统暂不支持支付");
|
||||
// Utils.GoKEFu();
|
||||
// MiniGameSdk.API.showToast("IOS系统暂不支持支付");
|
||||
Utils.GoKEFu();
|
||||
}
|
||||
else{
|
||||
const data = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user