Commit 1908d8af authored by limingzhe's avatar limingzhe

fix: debug

parent f721a449
...@@ -1746,7 +1746,7 @@ ...@@ -1746,7 +1746,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "item_bg", "_name": "sky",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 10 "__id__": 10
...@@ -1769,8 +1769,8 @@ ...@@ -1769,8 +1769,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1066, "width": 3840,
"height": 683 "height": 684
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1804,7 +1804,7 @@ ...@@ -1804,7 +1804,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "8eQhvJWzlCtYneR1K5qaTt" "_id": "c3uhjPm0pGj6mH+iLBIVvR"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -1818,7 +1818,7 @@ ...@@ -1818,7 +1818,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "c8878299-59a2-4aa7-9ef7-ee194da64e55" "__uuid__": "f067d768-917f-4aaf-9b37-da4793c9efcb"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -1832,11 +1832,11 @@ ...@@ -1832,11 +1832,11 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "aaynFNzllIbIz99XsPDmTc" "_id": "dcmibZnnlCSZlkCs1MC3bT"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "sky", "_name": "bg",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 10 "__id__": 10
...@@ -1859,8 +1859,8 @@ ...@@ -1859,8 +1859,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 3840, "width": 1920,
"height": 684 "height": 865
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1894,7 +1894,7 @@ ...@@ -1894,7 +1894,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "c3uhjPm0pGj6mH+iLBIVvR" "_id": "60x4fzW61Gl7en92Sr8e1c"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -1908,7 +1908,7 @@ ...@@ -1908,7 +1908,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f067d768-917f-4aaf-9b37-da4793c9efcb" "__uuid__": "b31a0e16-5ead-4f0f-b01c-d4c304a54387"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -1922,11 +1922,11 @@ ...@@ -1922,11 +1922,11 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "dcmibZnnlCSZlkCs1MC3bT" "_id": "e7PP1MS+5JyJnpd9dOlXxO"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg", "_name": "item_bg",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 10 "__id__": 10
...@@ -1949,8 +1949,8 @@ ...@@ -1949,8 +1949,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1920, "width": 1780,
"height": 865 "height": 687
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1984,7 +1984,7 @@ ...@@ -1984,7 +1984,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "60x4fzW61Gl7en92Sr8e1c" "_id": "c8M6qnO9NICapgDk2mm8ag"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -1998,7 +1998,7 @@ ...@@ -1998,7 +1998,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "b31a0e16-5ead-4f0f-b01c-d4c304a54387" "__uuid__": "c22014ab-a6dd-473c-b51c-87a413926972"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -2012,7 +2012,7 @@ ...@@ -2012,7 +2012,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "e7PP1MS+5JyJnpd9dOlXxO" "_id": "694FRknGtOf6hzzIvW7yV4"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
......
...@@ -1299,6 +1299,9 @@ cc.Class({ ...@@ -1299,6 +1299,9 @@ cc.Class({
this.initTitle(); this.initTitle();
this.startTiming();
// this.generateCrossword(); // this.generateCrossword();
// this.createGrid(); // this.createGrid();
...@@ -1307,7 +1310,6 @@ cc.Class({ ...@@ -1307,7 +1310,6 @@ cc.Class({
// this.initTitle(); // this.initTitle();
// this.startTiming();
// this.startTesting(); // this.startTesting();
...@@ -1634,7 +1636,7 @@ cc.Class({ ...@@ -1634,7 +1636,7 @@ cc.Class({
// const item = getSprNode(resName); // const item = getSprNode(resName);
// this.itemBg.addChild(item); // this.itemBg.addChild(item);
this.delayCall(Math.random() * 0.5, () => { this.delayCall(1 + Math.random() * 0.5, () => {
const {rtNode, rtNodeShadow} = item; const {rtNode, rtNodeShadow} = item;
cc.tween(rtNode) cc.tween(rtNode)
...@@ -10282,11 +10284,11 @@ cc.Class({ ...@@ -10282,11 +10284,11 @@ cc.Class({
const itemBg = getSprNode("item_bg"); const itemBg = getSprNode("item_bg");
this.bgLayer.addChild(itemBg); this.bgLayer.addChild(itemBg);
const spr = itemBg.getComponent(cc.Sprite); const spr = itemBg.getComponent(cc.Sprite);
spr.type = cc.Sprite.Type.SLICED; // spr.type = cc.Sprite.Type.SLICED;
itemBg.baseW = itemBg.width; itemBg.baseW = itemBg.width;
itemBg.baseH = itemBg.height; itemBg.baseH = itemBg.height;
itemBg.scale = this._mapScaleMin; itemBg.scale = this._mapScaleMin;
itemBg.width = 1750; // itemBg.width = 1750;
itemBg.y = (panel.y - this.canvas.height / 2) / 2 itemBg.y = (panel.y - this.canvas.height / 2) / 2
this.itemBg = itemBg; this.itemBg = itemBg;
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "50ace8e0-a8fc-47aa-a3b0-8e509c9f5b75", "uuid": "9012c2e9-11d6-422e-b7ed-2d0be1e2ecb1",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 1070, "width": 1780,
"height": 687, "height": 687,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"item_bg": { "item_bg": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "c8878299-59a2-4aa7-9ef7-ee194da64e55", "uuid": "c22014ab-a6dd-473c-b51c-87a413926972",
"rawTextureUuid": "50ace8e0-a8fc-47aa-a3b0-8e509c9f5b75", "rawTextureUuid": "9012c2e9-11d6-422e-b7ed-2d0be1e2ecb1",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 2, "trimX": 0,
"trimY": 2, "trimY": 0,
"width": 1066, "width": 1780,
"height": 683, "height": 687,
"rawWidth": 1070, "rawWidth": 1780,
"rawHeight": 687, "rawHeight": 687,
"borderTop": 320, "borderTop": 0,
"borderBottom": 320, "borderBottom": 0,
"borderLeft": 512, "borderLeft": 0,
"borderRight": 511, "borderRight": 0,
"subMetas": {} "subMetas": {}
} }
} }
......
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