Commit 7e47d40f authored by yu's avatar yu

1

parent 685c53aa
import ImgVoice from "../common/script/ImgVoice_hy14_pipei";
export let imageZize = {
width: 1000,
height: 600
width: 1100,
height: 572
}
......@@ -83,10 +83,12 @@ export default class Game {
public tipSwitch: any;
public endImgTitle: any;
public jumpIdx: any;
public hotZoneItemArr: any;
public init(data) {
this.data = data;
this.start = false;
this.lists = [];
this.data = data.hotZoneItemArr;
this.hotZoneItemArr = data.hotZoneItemArr;
this.aniEnter = data.imgAni;
this.endImgAni = data.endImgAni;
this.title = data.title;
......@@ -99,7 +101,7 @@ export default class Game {
this.tipSwitch = data.tipSwitch;
this.endImgTitle = data.endImgTitle;
this.jumpIdx = data.jumpIdx || -1;
this.changepoints(data);
// this.changepoints();
}
public start: boolean;
public page: number;
......@@ -107,8 +109,8 @@ export default class Game {
this.page = 1;
this.start = true;
this.lists = [];
for (let i = 0; i < this.data.length; i++) {
let data = this.data[i];
for (let i = 0; i < this.hotZoneItemArr.length; i++) {
let data = this.hotZoneItemArr[i];
this.lists.push(new ItemJigsaw(data, i));
}
this.lists.sort(function () {
......@@ -127,7 +129,18 @@ export default class Game {
return true;
}
public pointsArr;
private changepoints(data) {
public changepoints(wh: any) {
let data = this.data;
if (wh.w > 1150) {
imageZize.width = 1150;
let sx = imageZize.width / wh.w;
imageZize.height = wh.h * sx;
} else {
imageZize.width = wh.w;
imageZize.height = wh.h;
}
let scX = imageZize.width / data.bgItem.rect.width;
let scY = imageZize.height / data.bgItem.rect.height;
let px = data.bgItem.rect.x;
......@@ -192,7 +205,7 @@ export default class Game {
return this.page > this.lists.length;
}
get opdata() {
return this.data;
return this.hotZoneItemArr;
}
}
......
......@@ -90,34 +90,34 @@
"__id__": 84
},
{
"__id__": 87
"__id__": 86
},
{
"__id__": 90
"__id__": 89
},
{
"__id__": 147
"__id__": 146
},
{
"__id__": 176
"__id__": 175
},
{
"__id__": 221
"__id__": 220
},
{
"__id__": 243
"__id__": 242
}
],
"_active": true,
"_components": [
{
"__id__": 282
"__id__": 281
},
{
"__id__": 283
"__id__": 282
},
{
"__id__": 284
"__id__": 283
}
],
"_prefab": null,
......@@ -1419,8 +1419,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1000,
"height": 600
"width": 1100,
"height": 572
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1431,8 +1431,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
22,
20,
25,
4,
0,
0,
0,
......@@ -3492,9 +3492,6 @@
"_components": [
{
"__id__": 85
},
{
"__id__": 86
}
],
"_prefab": null,
......@@ -3508,8 +3505,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1000,
"height": 600
"width": 1150,
"height": 572
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3520,8 +3517,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-478,
320,
-557,
295,
0,
0,
0,
......@@ -3546,63 +3543,34 @@
"_id": "18D2S6c+VLq6tSQg6Snw+v"
},
{
"__type__": "cc.Layout",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": false,
"_layoutSize": {
"__type__": "cc.Size",
"width": 1580,
"height": 740
},
"_resize": 0,
"_N$layoutType": 0,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 3,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "bcASpb4jtHUrQ3P20BLFW/"
},
"_enabled": true,
"_materials": [
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_enabled": false,
"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": 1580,
"_originalHeight": 740,
"_id": "26X63NzrxLgIJndZtWiNA5"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5d8jA13jZFC6sNSDUFX2VL"
},
{
"__type__": "cc.Node",
......@@ -3615,10 +3583,10 @@
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 87
},
{
"__id__": 89
"__id__": 88
}
],
"_prefab": null,
......@@ -3674,7 +3642,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 86
},
"_enabled": true,
"_materials": [
......@@ -3706,7 +3674,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 86
},
"_enabled": true,
"alignMode": 1,
......@@ -3737,16 +3705,16 @@
},
"_children": [
{
"__id__": 91
"__id__": 90
}
],
"_active": true,
"_components": [
{
"__id__": 145
"__id__": 144
},
{
"__id__": 146
"__id__": 145
}
],
"_prefab": null,
......@@ -3802,20 +3770,20 @@
"_name": "view",
"_objFlags": 0,
"_parent": {
"__id__": 90
"__id__": 89
},
"_children": [
{
"__id__": 92
"__id__": 91
}
],
"_active": true,
"_components": [
{
"__id__": 143
"__id__": 142
},
{
"__id__": 144
"__id__": 143
}
],
"_prefab": null,
......@@ -3871,41 +3839,41 @@
"_name": "content",
"_objFlags": 0,
"_parent": {
"__id__": 91
"__id__": 90
},
"_children": [
{
"__id__": 93
"__id__": 92
},
{
"__id__": 99
"__id__": 98
},
{
"__id__": 105
"__id__": 104
},
{
"__id__": 111
"__id__": 110
},
{
"__id__": 117
"__id__": 116
},
{
"__id__": 123
"__id__": 122
},
{
"__id__": 129
"__id__": 128
},
{
"__id__": 135
"__id__": 134
}
],
"_active": true,
"_components": [
{
"__id__": 141
"__id__": 140
},
{
"__id__": 142
"__id__": 141
}
],
"_prefab": null,
......@@ -3961,20 +3929,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 91
},
"_children": [
{
"__id__": 94
"__id__": 93
},
{
"__id__": 96
"__id__": 95
}
],
"_active": false,
"_components": [
{
"__id__": 98
"__id__": 97
}
],
"_prefab": null,
......@@ -4030,13 +3998,13 @@
"_name": "stone1",
"_objFlags": 0,
"_parent": {
"__id__": 93
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 95
"__id__": 94
}
],
"_prefab": null,
......@@ -4092,7 +4060,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -4124,13 +4092,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 93
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 97
"__id__": 96
}
],
"_prefab": null,
......@@ -4186,7 +4154,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
"__id__": 95
},
"_enabled": true,
"_materials": [
......@@ -4221,7 +4189,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 92
},
"_enabled": true,
"_layoutSize": {
......@@ -4253,20 +4221,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 91
},
"_children": [
{
"__id__": 100
"__id__": 99
},
{
"__id__": 102
"__id__": 101
}
],
"_active": false,
"_components": [
{
"__id__": 104
"__id__": 103
}
],
"_prefab": null,
......@@ -4322,13 +4290,13 @@
"_name": "stone1",
"_objFlags": 0,
"_parent": {
"__id__": 99
"__id__": 98
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 100
}
],
"_prefab": null,
......@@ -4384,7 +4352,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 99
},
"_enabled": true,
"_materials": [
......@@ -4416,13 +4384,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 99
"__id__": 98
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 103
"__id__": 102
}
],
"_prefab": null,
......@@ -4478,7 +4446,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 101
},
"_enabled": true,
"_materials": [
......@@ -4513,7 +4481,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
"__id__": 98
},
"_enabled": true,
"_layoutSize": {
......@@ -4545,20 +4513,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 91
},
"_children": [
{
"__id__": 106
"__id__": 105
},
{
"__id__": 108
"__id__": 107
}
],
"_active": false,
"_components": [
{
"__id__": 110
"__id__": 109
}
],
"_prefab": null,
......@@ -4614,13 +4582,13 @@
"_name": "stone1",
"_objFlags": 0,
"_parent": {
"__id__": 105
"__id__": 104
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
"__id__": 106
}
],
"_prefab": null,
......@@ -4676,7 +4644,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 105
},
"_enabled": true,
"_materials": [
......@@ -4708,13 +4676,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 105
"__id__": 104
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 109
"__id__": 108
}
],
"_prefab": null,
......@@ -4770,7 +4738,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
"__id__": 107
},
"_enabled": true,
"_materials": [
......@@ -4805,7 +4773,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 104
},
"_enabled": true,
"_layoutSize": {
......@@ -4837,20 +4805,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 91
},
"_children": [
{
"__id__": 112
"__id__": 111
},
{
"__id__": 114
"__id__": 113
}
],
"_active": false,
"_components": [
{
"__id__": 116
"__id__": 115
}
],
"_prefab": null,
......@@ -4906,13 +4874,13 @@
"_name": "stone1",
"_objFlags": 0,
"_parent": {
"__id__": 111
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 113
"__id__": 112
}
],
"_prefab": null,
......@@ -4968,7 +4936,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
"__id__": 111
},
"_enabled": true,
"_materials": [
......@@ -5000,13 +4968,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 111
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 115
"__id__": 114
}
],
"_prefab": null,
......@@ -5062,7 +5030,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 113
},
"_enabled": true,
"_materials": [
......@@ -5097,7 +5065,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 110
},
"_enabled": true,
"_layoutSize": {
......@@ -5129,20 +5097,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 91
},
"_children": [
{
"__id__": 118
"__id__": 117
},
{
"__id__": 120
"__id__": 119
}
],
"_active": false,
"_components": [
{
"__id__": 122
"__id__": 121
}
],
"_prefab": null,
......@@ -5198,13 +5166,13 @@
"_name": "stone1",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 116
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 119
"__id__": 118
}
],
"_prefab": null,
......@@ -5260,7 +5228,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
"__id__": 117
},
"_enabled": true,
"_materials": [
......@@ -5292,13 +5260,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 116
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 121
"__id__": 120
}
],
"_prefab": null,
......@@ -5354,7 +5322,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 119
},
"_enabled": true,
"_materials": [
......@@ -5389,7 +5357,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 117
"__id__": 116
},
"_enabled": true,
"_layoutSize": {
......@@ -5421,20 +5389,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 91
},
"_children": [
{
"__id__": 124
"__id__": 123
},
{
"__id__": 126
"__id__": 125
}
],
"_active": false,
"_components": [
{
"__id__": 128
"__id__": 127
}
],
"_prefab": null,
......@@ -5490,13 +5458,13 @@
"_name": "stone1",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 125
"__id__": 124
}
],
"_prefab": null,
......@@ -5552,7 +5520,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
"__id__": 123
},
"_enabled": true,
"_materials": [
......@@ -5584,13 +5552,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 127
"__id__": 126
}
],
"_prefab": null,
......@@ -5646,7 +5614,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 126
"__id__": 125
},
"_enabled": true,
"_materials": [
......@@ -5681,7 +5649,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 122
},
"_enabled": true,
"_layoutSize": {
......@@ -5713,20 +5681,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 91
},
"_children": [
{
"__id__": 130
"__id__": 129
},
{
"__id__": 132
"__id__": 131
}
],
"_active": false,
"_components": [
{
"__id__": 134
"__id__": 133
}
],
"_prefab": null,
......@@ -5782,13 +5750,13 @@
"_name": "stone1",
"_objFlags": 0,
"_parent": {
"__id__": 129
"__id__": 128
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 130
}
],
"_prefab": null,
......@@ -5844,7 +5812,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
"__id__": 129
},
"_enabled": true,
"_materials": [
......@@ -5876,13 +5844,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 129
"__id__": 128
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 133
"__id__": 132
}
],
"_prefab": null,
......@@ -5938,7 +5906,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
"__id__": 131
},
"_enabled": true,
"_materials": [
......@@ -5973,7 +5941,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 129
"__id__": 128
},
"_enabled": true,
"_layoutSize": {
......@@ -6005,20 +5973,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 91
},
"_children": [
{
"__id__": 136
"__id__": 135
},
{
"__id__": 138
"__id__": 137
}
],
"_active": false,
"_components": [
{
"__id__": 140
"__id__": 139
}
],
"_prefab": null,
......@@ -6074,13 +6042,13 @@
"_name": "stone1",
"_objFlags": 0,
"_parent": {
"__id__": 135
"__id__": 134
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 137
"__id__": 136
}
],
"_prefab": null,
......@@ -6136,7 +6104,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
"__id__": 135
},
"_enabled": true,
"_materials": [
......@@ -6168,13 +6136,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 135
"__id__": 134
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 139
"__id__": 138
}
],
"_prefab": null,
......@@ -6230,7 +6198,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 138
"__id__": 137
},
"_enabled": true,
"_materials": [
......@@ -6265,7 +6233,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 135
"__id__": 134
},
"_enabled": true,
"_layoutSize": {
......@@ -6297,7 +6265,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 91
},
"_enabled": true,
"alignMode": 1,
......@@ -6324,7 +6292,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 91
},
"_enabled": true,
"_materials": [
......@@ -6356,7 +6324,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 90
},
"_enabled": true,
"_materials": [
......@@ -6376,7 +6344,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 90
},
"_enabled": true,
"alignMode": 1,
......@@ -6403,7 +6371,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
"__id__": 89
},
"_enabled": true,
"horizontal": true,
......@@ -6415,10 +6383,10 @@
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 92
"__id__": 91
},
"content": {
"__id__": 92
"__id__": 91
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null,
......@@ -6429,7 +6397,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
"__id__": 89
},
"_enabled": true,
"alignMode": 1,
......@@ -6460,26 +6428,26 @@
},
"_children": [
{
"__id__": 148
"__id__": 147
},
{
"__id__": 153
"__id__": 152
},
{
"__id__": 169
"__id__": 168
}
],
"_active": true,
"_components": [
{
"__id__": 173
"__id__": 172
},
{
"__id__": 174
"__id__": 173
}
],
"_prefab": {
"__id__": 175
"__id__": 174
},
"_opacity": 255,
"_color": {
......@@ -6533,23 +6501,23 @@
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 147
"__id__": 146
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 149
"__id__": 148
},
{
"__id__": 150
"__id__": 149
},
{
"__id__": 151
"__id__": 150
}
],
"_prefab": {
"__id__": 152
"__id__": 151
},
"_opacity": 255,
"_color": {
......@@ -6603,7 +6571,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
"__id__": 147
},
"_enabled": true,
"_materials": [
......@@ -6635,7 +6603,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
"__id__": 147
},
"_enabled": true,
"_normalMaterial": null,
......@@ -6703,7 +6671,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
"__id__": 147
},
"_enabled": true,
"alignMode": 1,
......@@ -6728,7 +6696,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 147
"__id__": 146
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
......@@ -6741,24 +6709,24 @@
"_name": "label_title",
"_objFlags": 0,
"_parent": {
"__id__": 147
"__id__": 146
},
"_children": [
{
"__id__": 154
"__id__": 153
}
],
"_active": true,
"_components": [
{
"__id__": 166
"__id__": 165
},
{
"__id__": 167
"__id__": 166
}
],
"_prefab": {
"__id__": 168
"__id__": 167
},
"_opacity": 255,
"_color": {
......@@ -6812,27 +6780,27 @@
"_name": "img_npc_voice",
"_objFlags": 0,
"_parent": {
"__id__": 153
"__id__": 152
},
"_children": [
{
"__id__": 155
"__id__": 154
},
{
"__id__": 158
"__id__": 157
},
{
"__id__": 161
"__id__": 160
}
],
"_active": true,
"_components": [
{
"__id__": 164
"__id__": 163
}
],
"_prefab": {
"__id__": 165
"__id__": 164
},
"_opacity": 255,
"_color": {
......@@ -6886,17 +6854,17 @@
"_name": "p1",
"_objFlags": 0,
"_parent": {
"__id__": 154
"__id__": 153
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 156
"__id__": 155
}
],
"_prefab": {
"__id__": 157
"__id__": 156
},
"_opacity": 255,
"_color": {
......@@ -6950,7 +6918,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 155
"__id__": 154
},
"_enabled": true,
"_materials": [
......@@ -6980,7 +6948,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 147
"__id__": 146
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
......@@ -6993,17 +6961,17 @@
"_name": "p2",
"_objFlags": 0,
"_parent": {
"__id__": 154
"__id__": 153
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 159
"__id__": 158
}
],
"_prefab": {
"__id__": 160
"__id__": 159
},
"_opacity": 255,
"_color": {
......@@ -7057,7 +7025,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 157
},
"_enabled": true,
"_materials": [
......@@ -7087,7 +7055,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 147
"__id__": 146
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
......@@ -7100,17 +7068,17 @@
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 154
"__id__": 153
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 162
"__id__": 161
}
],
"_prefab": {
"__id__": 163
"__id__": 162
},
"_opacity": 255,
"_color": {
......@@ -7164,7 +7132,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
"__id__": 160
},
"_enabled": true,
"_materials": [
......@@ -7194,7 +7162,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 147
"__id__": 146
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
......@@ -7207,7 +7175,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 153
},
"_enabled": true,
"alignMode": 2,
......@@ -7232,7 +7200,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 147
"__id__": 146
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
......@@ -7245,7 +7213,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 153
"__id__": 152
},
"_enabled": true,
"_materials": [
......@@ -7280,7 +7248,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 153
"__id__": 152
},
"_enabled": true,
"alignMode": 1,
......@@ -7305,7 +7273,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 147
"__id__": 146
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
......@@ -7318,20 +7286,20 @@
"_name": "bg_forbid",
"_objFlags": 0,
"_parent": {
"__id__": 147
"__id__": 146
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 170
"__id__": 169
},
{
"__id__": 171
"__id__": 170
}
],
"_prefab": {
"__id__": 172
"__id__": 171
},
"_opacity": 255,
"_color": {
......@@ -7385,7 +7353,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 169
"__id__": 168
},
"_enabled": true,
"alignMode": 1,
......@@ -7412,7 +7380,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 169
"__id__": 168
},
"_enabled": true,
"_id": "73bNc89zRA07fam6Bk0WDU"
......@@ -7420,7 +7388,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 147
"__id__": 146
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
......@@ -7433,7 +7401,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
"__id__": 146
},
"_enabled": true,
"alignMode": 1,
......@@ -7460,7 +7428,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
"__id__": 146
},
"_enabled": true,
"_id": "e3Muq0igVDXbAN2/kZXKC9"
......@@ -7468,7 +7436,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 147
"__id__": 146
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
......@@ -7485,29 +7453,29 @@
},
"_children": [
{
"__id__": 177
"__id__": 176
},
{
"__id__": 191
"__id__": 190
},
{
"__id__": 200
"__id__": 199
},
{
"__id__": 209
"__id__": 208
}
],
"_active": true,
"_components": [
{
"__id__": 218
"__id__": 217
},
{
"__id__": 219
"__id__": 218
}
],
"_prefab": {
"__id__": 220
"__id__": 219
},
"_opacity": 255,
"_color": {
......@@ -7561,26 +7529,26 @@
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 176
"__id__": 175
},
"_children": [
{
"__id__": 178
"__id__": 177
},
{
"__id__": 181
"__id__": 180
},
{
"__id__": 184
"__id__": 183
},
{
"__id__": 187
"__id__": 186
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 190
"__id__": 189
},
"_opacity": 255,
"_color": {
......@@ -7634,17 +7602,17 @@
"_name": "excellent",
"_objFlags": 0,
"_parent": {
"__id__": 177
"__id__": 176
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 179
"__id__": 178
}
],
"_prefab": {
"__id__": 180
"__id__": 179
},
"_opacity": 255,
"_color": {
......@@ -7698,7 +7666,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 178
"__id__": 177
},
"_enabled": true,
"_clip": {
......@@ -7715,7 +7683,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -7728,17 +7696,17 @@
"_name": "good",
"_objFlags": 0,
"_parent": {
"__id__": 177
"__id__": 176
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 182
"__id__": 181
}
],
"_prefab": {
"__id__": 183
"__id__": 182
},
"_opacity": 255,
"_color": {
......@@ -7792,7 +7760,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 181
"__id__": 180
},
"_enabled": true,
"_clip": {
......@@ -7809,7 +7777,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -7822,17 +7790,17 @@
"_name": "tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 177
"__id__": 176
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 185
"__id__": 184
}
],
"_prefab": {
"__id__": 186
"__id__": 185
},
"_opacity": 255,
"_color": {
......@@ -7886,7 +7854,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 184
"__id__": 183
},
"_enabled": true,
"_clip": {
......@@ -7903,7 +7871,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -7916,17 +7884,17 @@
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 177
"__id__": 176
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 188
"__id__": 187
}
],
"_prefab": {
"__id__": 189
"__id__": 188
},
"_opacity": 255,
"_color": {
......@@ -7980,7 +7948,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 187
"__id__": 186
},
"_enabled": true,
"_clip": {
......@@ -7997,7 +7965,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8008,7 +7976,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8021,24 +7989,24 @@
"_name": "layout_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 176
"__id__": 175
},
"_children": [
{
"__id__": 192
"__id__": 191
},
{
"__id__": 195
"__id__": 194
}
],
"_active": false,
"_components": [
{
"__id__": 198
"__id__": 197
}
],
"_prefab": {
"__id__": 199
"__id__": 198
},
"_opacity": 255,
"_color": {
......@@ -8092,17 +8060,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 191
"__id__": 190
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 193
"__id__": 192
}
],
"_prefab": {
"__id__": 194
"__id__": 193
},
"_opacity": 150,
"_color": {
......@@ -8156,7 +8124,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 192
"__id__": 191
},
"_enabled": true,
"_materials": [
......@@ -8186,7 +8154,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8199,17 +8167,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 191
"__id__": 190
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 196
"__id__": 195
}
],
"_prefab": {
"__id__": 197
"__id__": 196
},
"_opacity": 255,
"_color": {
......@@ -8263,7 +8231,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 195
"__id__": 194
},
"_enabled": true,
"_materials": [
......@@ -8301,7 +8269,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8314,7 +8282,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 191
"__id__": 190
},
"_enabled": true,
"alignMode": 1,
......@@ -8339,7 +8307,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8352,24 +8320,24 @@
"_name": "layout_good",
"_objFlags": 0,
"_parent": {
"__id__": 176
"__id__": 175
},
"_children": [
{
"__id__": 201
"__id__": 200
},
{
"__id__": 204
"__id__": 203
}
],
"_active": false,
"_components": [
{
"__id__": 207
"__id__": 206
}
],
"_prefab": {
"__id__": 208
"__id__": 207
},
"_opacity": 255,
"_color": {
......@@ -8423,17 +8391,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 200
"__id__": 199
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 202
"__id__": 201
}
],
"_prefab": {
"__id__": 203
"__id__": 202
},
"_opacity": 150,
"_color": {
......@@ -8487,7 +8455,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 201
"__id__": 200
},
"_enabled": true,
"_materials": [
......@@ -8517,7 +8485,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8530,17 +8498,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 200
"__id__": 199
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 205
"__id__": 204
}
],
"_prefab": {
"__id__": 206
"__id__": 205
},
"_opacity": 255,
"_color": {
......@@ -8594,7 +8562,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 204
"__id__": 203
},
"_enabled": true,
"_materials": [
......@@ -8632,7 +8600,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8645,7 +8613,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 200
"__id__": 199
},
"_enabled": true,
"alignMode": 1,
......@@ -8670,7 +8638,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8683,24 +8651,24 @@
"_name": "layout_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 176
"__id__": 175
},
"_children": [
{
"__id__": 210
"__id__": 209
},
{
"__id__": 213
"__id__": 212
}
],
"_active": false,
"_components": [
{
"__id__": 216
"__id__": 215
}
],
"_prefab": {
"__id__": 217
"__id__": 216
},
"_opacity": 255,
"_color": {
......@@ -8754,17 +8722,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 209
"__id__": 208
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 211
"__id__": 210
}
],
"_prefab": {
"__id__": 212
"__id__": 211
},
"_opacity": 150,
"_color": {
......@@ -8818,7 +8786,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 210
"__id__": 209
},
"_enabled": true,
"_materials": [
......@@ -8848,7 +8816,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8861,17 +8829,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 209
"__id__": 208
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 214
"__id__": 213
}
],
"_prefab": {
"__id__": 215
"__id__": 214
},
"_opacity": 255,
"_color": {
......@@ -8925,7 +8893,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 213
"__id__": 212
},
"_enabled": true,
"_materials": [
......@@ -8963,7 +8931,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -8976,7 +8944,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 209
"__id__": 208
},
"_enabled": true,
"alignMode": 1,
......@@ -9001,7 +8969,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -9014,7 +8982,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 176
"__id__": 175
},
"_enabled": true,
"alignMode": 1,
......@@ -9041,7 +9009,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 176
"__id__": 175
},
"_enabled": true,
"_id": "9c/TTsfO5OWJWcAXuG5JNw"
......@@ -9049,7 +9017,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 176
"__id__": 175
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -9066,20 +9034,20 @@
},
"_children": [
{
"__id__": 222
"__id__": 221
},
{
"__id__": 236
"__id__": 235
}
],
"_active": true,
"_components": [
{
"__id__": 241
"__id__": 240
}
],
"_prefab": {
"__id__": 242
"__id__": 241
},
"_opacity": 255,
"_color": {
......@@ -9133,26 +9101,26 @@
"_name": "layout_center",
"_objFlags": 0,
"_parent": {
"__id__": 221
"__id__": 220
},
"_children": [
{
"__id__": 223
"__id__": 222
},
{
"__id__": 226
"__id__": 225
},
{
"__id__": 229
"__id__": 228
},
{
"__id__": 232
"__id__": 231
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 235
"__id__": 234
},
"_opacity": 255,
"_color": {
......@@ -9206,17 +9174,17 @@
"_name": "bg_gray",
"_objFlags": 0,
"_parent": {
"__id__": 222
"__id__": 221
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 224
"__id__": 223
}
],
"_prefab": {
"__id__": 225
"__id__": 224
},
"_opacity": 102,
"_color": {
......@@ -9270,7 +9238,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 223
"__id__": 222
},
"_enabled": true,
"_materials": [
......@@ -9300,7 +9268,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 221
"__id__": 220
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -9313,17 +9281,17 @@
"_name": "aniNode1",
"_objFlags": 0,
"_parent": {
"__id__": 222
"__id__": 221
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 227
"__id__": 226
}
],
"_prefab": {
"__id__": 228
"__id__": 227
},
"_opacity": 255,
"_color": {
......@@ -9377,7 +9345,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 226
"__id__": 225
},
"_enabled": true,
"_materials": [
......@@ -9415,7 +9383,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 221
"__id__": 220
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -9428,17 +9396,17 @@
"_name": "aniNode2",
"_objFlags": 0,
"_parent": {
"__id__": 222
"__id__": 221
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 230
"__id__": 229
}
],
"_prefab": {
"__id__": 231
"__id__": 230
},
"_opacity": 255,
"_color": {
......@@ -9492,7 +9460,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 229
"__id__": 228
},
"_enabled": true,
"_materials": [
......@@ -9530,7 +9498,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 221
"__id__": 220
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -9543,17 +9511,17 @@
"_name": "aniNode3",
"_objFlags": 0,
"_parent": {
"__id__": 222
"__id__": 221
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 233
"__id__": 232
}
],
"_prefab": {
"__id__": 234
"__id__": 233
},
"_opacity": 255,
"_color": {
......@@ -9607,7 +9575,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 232
"__id__": 231
},
"_enabled": true,
"_materials": [
......@@ -9645,7 +9613,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 221
"__id__": 220
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -9656,7 +9624,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 221
"__id__": 220
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -9669,17 +9637,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 221
"__id__": 220
},
"_children": [
{
"__id__": 237
"__id__": 236
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 240
"__id__": 239
},
"_opacity": 255,
"_color": {
......@@ -9733,17 +9701,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 236
"__id__": 235
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 238
"__id__": 237
}
],
"_prefab": {
"__id__": 239
"__id__": 238
},
"_opacity": 255,
"_color": {
......@@ -9797,7 +9765,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 237
"__id__": 236
},
"_enabled": true,
"_clip": {
......@@ -9814,7 +9782,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 221
"__id__": 220
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -9825,7 +9793,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 221
"__id__": 220
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -9838,7 +9806,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 221
"__id__": 220
},
"_enabled": true,
"_id": "8eV1QXijRFRIKyIa4yP1P9"
......@@ -9846,7 +9814,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 221
"__id__": 220
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -9863,20 +9831,20 @@
},
"_children": [
{
"__id__": 244
"__id__": 243
},
{
"__id__": 275
"__id__": 274
}
],
"_active": true,
"_components": [
{
"__id__": 280
"__id__": 279
}
],
"_prefab": {
"__id__": 281
"__id__": 280
},
"_opacity": 255,
"_color": {
......@@ -9930,35 +9898,35 @@
"_name": "layer_center",
"_objFlags": 0,
"_parent": {
"__id__": 243
"__id__": 242
},
"_children": [
{
"__id__": 245
"__id__": 244
},
{
"__id__": 248
"__id__": 247
},
{
"__id__": 250
"__id__": 249
},
{
"__id__": 253
"__id__": 252
},
{
"__id__": 256
"__id__": 255
},
{
"__id__": 259
"__id__": 258
},
{
"__id__": 262
"__id__": 261
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 274
"__id__": 273
},
"_opacity": 255,
"_color": {
......@@ -10012,17 +9980,17 @@
"_name": "gray_cover",
"_objFlags": 0,
"_parent": {
"__id__": 244
"__id__": 243
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 246
"__id__": 245
}
],
"_prefab": {
"__id__": 247
"__id__": 246
},
"_opacity": 102,
"_color": {
......@@ -10076,7 +10044,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 245
"__id__": 244
},
"_enabled": true,
"_materials": [
......@@ -10106,7 +10074,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -10119,13 +10087,13 @@
"_name": "layer_middle",
"_objFlags": 0,
"_parent": {
"__id__": 244
"__id__": 243
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 249
"__id__": 248
},
"_opacity": 255,
"_color": {
......@@ -10177,7 +10145,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -10190,17 +10158,17 @@
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 244
"__id__": 243
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 251
"__id__": 250
}
],
"_prefab": {
"__id__": 252
"__id__": 251
},
"_opacity": 255,
"_color": {
......@@ -10254,7 +10222,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 250
"__id__": 249
},
"_enabled": true,
"_materials": [
......@@ -10284,7 +10252,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -10297,17 +10265,17 @@
"_name": "bg_light",
"_objFlags": 0,
"_parent": {
"__id__": 244
"__id__": 243
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 254
"__id__": 253
}
],
"_prefab": {
"__id__": 255
"__id__": 254
},
"_opacity": 255,
"_color": {
......@@ -10361,7 +10329,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 253
"__id__": 252
},
"_enabled": true,
"_materials": [
......@@ -10391,7 +10359,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -10404,17 +10372,17 @@
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 244
"__id__": 243
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 257
"__id__": 256
}
],
"_prefab": {
"__id__": 258
"__id__": 257
},
"_opacity": 255,
"_color": {
......@@ -10468,7 +10436,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 256
"__id__": 255
},
"_enabled": true,
"_materials": [
......@@ -10506,7 +10474,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -10519,17 +10487,17 @@
"_name": "next_btn",
"_objFlags": 0,
"_parent": {
"__id__": 244
"__id__": 243
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 260
"__id__": 259
}
],
"_prefab": {
"__id__": 261
"__id__": 260
},
"_opacity": 255,
"_color": {
......@@ -10583,7 +10551,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 259
"__id__": 258
},
"_enabled": true,
"_materials": [
......@@ -10613,7 +10581,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -10626,27 +10594,27 @@
"_name": "finish_box",
"_objFlags": 0,
"_parent": {
"__id__": 244
"__id__": 243
},
"_children": [
{
"__id__": 263
"__id__": 262
},
{
"__id__": 266
"__id__": 265
},
{
"__id__": 269
"__id__": 268
}
],
"_active": true,
"_components": [
{
"__id__": 272
"__id__": 271
}
],
"_prefab": {
"__id__": 273
"__id__": 272
},
"_opacity": 255,
"_color": {
......@@ -10700,17 +10668,17 @@
"_name": "result_text",
"_objFlags": 0,
"_parent": {
"__id__": 262
"__id__": 261
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 264
"__id__": 263
}
],
"_prefab": {
"__id__": 265
"__id__": 264
},
"_opacity": 255,
"_color": {
......@@ -10764,7 +10732,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 263
"__id__": 262
},
"_enabled": true,
"_materials": [
......@@ -10795,7 +10763,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -10808,17 +10776,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 262
"__id__": 261
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 267
"__id__": 266
}
],
"_prefab": {
"__id__": 268
"__id__": 267
},
"_opacity": 255,
"_color": {
......@@ -10872,7 +10840,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 266
"__id__": 265
},
"_enabled": true,
"_materials": [
......@@ -10902,7 +10870,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -10915,17 +10883,17 @@
"_name": "coin_num",
"_objFlags": 0,
"_parent": {
"__id__": 262
"__id__": 261
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 270
"__id__": 269
}
],
"_prefab": {
"__id__": 271
"__id__": 270
},
"_opacity": 255,
"_color": {
......@@ -10979,7 +10947,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 269
"__id__": 268
},
"_enabled": true,
"_materials": [
......@@ -11010,7 +10978,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -11023,7 +10991,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 262
"__id__": 261
},
"_enabled": true,
"_materials": [
......@@ -11053,7 +11021,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -11064,7 +11032,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -11077,17 +11045,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 243
"__id__": 242
},
"_children": [
{
"__id__": 276
"__id__": 275
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 279
"__id__": 278
},
"_opacity": 255,
"_color": {
......@@ -11141,17 +11109,17 @@
"_name": "ending",
"_objFlags": 0,
"_parent": {
"__id__": 275
"__id__": 274
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 277
"__id__": 276
}
],
"_prefab": {
"__id__": 278
"__id__": 277
},
"_opacity": 255,
"_color": {
......@@ -11205,7 +11173,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 276
"__id__": 275
},
"_enabled": true,
"_clip": {
......@@ -11222,7 +11190,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -11233,7 +11201,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -11246,7 +11214,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 243
"__id__": 242
},
"_enabled": true,
"_id": "d7wN6OoxNMurVw8/98828K"
......@@ -11254,7 +11222,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 243
"__id__": 242
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -11318,7 +11286,7 @@
"__id__": 84
},
"layout_op": {
"__id__": 92
"__id__": 91
},
"item": {
"__id__": 31
......
......@@ -86,8 +86,14 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
this.cardBgs = [];
//自动创建卡片
let itembg = cc.find("itembg", this.node);
pg.view.setNetImg(itembg, Game.getIns().image, { w: imageZize.width, h: imageZize.height });
let itembg = this.layout_sort;
// let itembg = cc.find("itembg", this.node);
pg.view.setNetImg(itembg, Game.getIns().image, { w: imageZize.width, h: imageZize.height }, false).then((data: any) => {
Game.getIns().changepoints(data);
itembg.width = imageZize.width;
itembg.height = imageZize.height;
this.creaetPosPic();
});
this.createCrads();
}
......@@ -135,21 +141,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
createCrads() {
this.layout_sort.removeAllChildren();
let pos = Game.getIns().pointsArr;
pos.forEach((li, idx) => {
let item = cc.instantiate(this.item);
this.layout_sort.addChild(item);
item.x = li.x;
item.y = li.y;
item.active = true;
// let desc = cc.find("desc", item);
// desc.getComponent(cc.Label).string = li.text;
this.cardBgs.push(item);
let data = { text: li.text };
item.data = data;
item.width = li.width;
item.height = li.height;
})
let op = Game.getIns().opdata;
op.forEach((dt, idx) => {
......@@ -177,6 +169,23 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
})
cc.find("ScrollView", this.node).getComponent(cc.ScrollView).enabled = op.length > 4;
}
private creaetPosPic() {
let pos = Game.getIns().pointsArr;
pos.forEach((li, idx) => {
let item = cc.instantiate(this.item);
this.layout_sort.addChild(item);
item.x = li.x;
item.y = li.y;
item.active = true;
// let desc = cc.find("desc", item);
// desc.getComponent(cc.Label).string = li.text;
this.cardBgs.push(item);
let data = { text: li.text };
item.data = data;
item.width = li.width;
item.height = li.height;
})
}
private stSction(node) {
cc.tween(node).repeatForever(cc.tween().by(1, { y: 10 }).by(1, { y: -10 })).start();
......
......@@ -262,8 +262,8 @@ let pg = {
let scaleX = w / nw;
let scaleY = h / nh;
let scale = scaleX <= scaleY ? scaleX : scaleY;
node.width = nw * scale;
node.height = nh * scale;
node.width = nw * scaleX;
node.height = nh * scaleY;
}
node.active = true;
resolve({ w: nw, h: nh });
......
......@@ -3,20 +3,19 @@ export const defaultData = {
"questionScore": 0,
"questions": [],
"bgItem": {
"url": "http://staging-teach.cdn.ireadabc.com/933163fae966edff0633a0bb97e5c5bc.jpg",
"url": "http://staging-teach.cdn.ireadabc.com/bf9f3958a388f3e10e79f50ab786f5ef.png",
"rect": {
"x": 0,
"y": 85.66,
"y": 42.52,
"width": 902,
"height": 469.69
"height": 424.95
}
},
"hotZoneItemArr": [
{
"id": "1687750651003",
"id": "1689504307224",
"index": 0,
"text": "high collar",
"audio_url": "http://staging-teach.cdn.ireadabc.com/81c8ea51c42136db0fd61e78c38de7c9_l.mp3",
"text": "the blue and green face",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
......@@ -25,24 +24,23 @@ export const defaultData = {
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 297
"y": 255.00000000000003
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 169.77,
"width": 390.95,
"height": 35.23,
"x": 36.11,
"y": 65.19
"x": 56.53,
"y": 44.86
}
},
{
"id": "1687750664688",
"id": "1689504345672",
"index": 1,
"text": "low collar",
"audio_url": "http://staging-teach.cdn.ireadabc.com/9de7c90341afc24bcd2a311f4d554bdc_l.mp3",
"text": "the gold face",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
......@@ -51,24 +49,23 @@ export const defaultData = {
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 297
"y": 255.00000000000003
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 156.28,
"width": 217.16,
"height": 35.23,
"x": 467.86,
"y": 100.19
"x": 118.42,
"y": 193.86
}
},
{
"id": "1687750699335",
"id": "1689504365755",
"index": 2,
"text": "long sleeve",
"audio_url": "http://staging-teach.cdn.ireadabc.com/7474d2ea3660833373b9d3dfb2ad9d07_l.mp3",
"text": "the black face",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
......@@ -77,24 +74,23 @@ export const defaultData = {
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 297
"y": 255.00000000000003
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 182.88,
"width": 233.29,
"height": 35.23,
"x": 13.56,
"y": 193.19
"x": 116.35,
"y": 341.86
}
},
{
"id": "1687750716437",
"id": "1689504375545",
"index": 3,
"text": "short sleeve",
"audio_url": "http://staging-teach.cdn.ireadabc.com/172fad3743476ac9c668eb8a82d5eca1_l.mp3",
"text": "the red face",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
......@@ -103,26 +99,48 @@ export const defaultData = {
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 297
"y": 255.00000000000003
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 196.83,
"width": 199.82,
"height": 35.23,
"x": 462.59,
"y": 186.19
"x": 569.09,
"y": 81.86
}
},
{
"id": "1689504389861",
"index": 4,
"text": "the white face",
"itemType": "text",
"fontScale": 0.7046875,
"imgScale": 1,
"imgSizeW": 0,
"imgSizeH": 0,
"mapScale": 0.7046875,
"dragDot": {
"x": 451,
"y": 255.00000000000003
},
"gIdx": "0",
"fontSize": 50,
"fontName": "ahronbd-1",
"ontColor": "#8f3758",
"rect": {
"width": 234.03,
"height": 35.23,
"x": 549.98,
"y": 301.86
}
],
"questionText": "",
"npcTitle": "Mind Map",
"npcAudio": "http://staging-teach.cdn.ireadabc.com/840c5d814e82b8dbc869d7523d592869_l.mp3",
"npcAudioName": "HY14位置匹配-将单词拖动到正确的位置.mp3"
}
],
"npcTitle": "HY14",
"npcAudio": "",
// "npcAudio": "http://staging-teach.cdn.ireadabc.com/840c5d814e82b8dbc869d7523d592869_l.mp3",
"npcAudioName": "HY14位置匹配-将单词拖动到正确的位置.mp3",
"questionText": ""
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment