Commit c07d7564 authored by liujiaxin's avatar liujiaxin

123

parent 92719a2e
...@@ -2918,7 +2918,7 @@ ...@@ -2918,7 +2918,7 @@
"__id__": 69 "__id__": 69
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 72 "__id__": 72
...@@ -3203,7 +3203,7 @@ ...@@ -3203,7 +3203,7 @@
"__id__": 78 "__id__": 78
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 81
...@@ -3488,7 +3488,7 @@ ...@@ -3488,7 +3488,7 @@
"__id__": 87 "__id__": 87
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 90 "__id__": 90
...@@ -3773,7 +3773,7 @@ ...@@ -3773,7 +3773,7 @@
"__id__": 96 "__id__": 96
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 99 "__id__": 99
...@@ -4058,7 +4058,7 @@ ...@@ -4058,7 +4058,7 @@
"__id__": 105 "__id__": 105
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 108 "__id__": 108
...@@ -4099,7 +4099,7 @@ ...@@ -4099,7 +4099,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
609.5, 550,
42.971000000000004, 42.971000000000004,
0, 0,
0, 0,
...@@ -4283,7 +4283,7 @@ ...@@ -4283,7 +4283,7 @@
"_target": null, "_target": null,
"_alignFlags": 36, "_alignFlags": 36,
"_left": 0.1, "_left": 0.1,
"_right": 0, "_right": -7.5,
"_top": 0, "_top": 0,
"_bottom": 166.471, "_bottom": 166.471,
"_verticalCenter": 0, "_verticalCenter": 0,
...@@ -4343,7 +4343,7 @@ ...@@ -4343,7 +4343,7 @@
"__id__": 114 "__id__": 114
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 117 "__id__": 117
...@@ -4628,7 +4628,7 @@ ...@@ -4628,7 +4628,7 @@
"__id__": 123 "__id__": 123
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 126 "__id__": 126
...@@ -4825,7 +4825,7 @@ ...@@ -4825,7 +4825,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "1b376b4d-fce0-416d-981b-85726dc8d4b2" "__uuid__": "3dd78d6b-3c37-453b-8c9b-085fa260fc26"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -24712,8 +24712,8 @@ ...@@ -24712,8 +24712,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-28.549, 0,
-21.199, 0,
0, 0,
0, 0,
0, 0,
......
...@@ -37,13 +37,14 @@ class House { ...@@ -37,13 +37,14 @@ class House {
} }
pg.view.setNetImg(node, item.itemImage, true).then(() => { pg.view.setNetImg(node, item.itemImage, true).then(() => {
node.active = true; node.active = true;
if (rect) {
node.x = rect.x;
node.y = rect.y;
node.width = rect.width;
node.height = rect.height;
}
}); });
if (rect) {
node.x = rect.x;
node.y = rect.y;
node.width = rect.width;
node.height = rect.height;
}
} }
} }
const house = new House(); const house = new House();
......
{
"ver": "2.3.5",
"uuid": "25c0531e-ce0e-4e93-9123-a7a5ce287362",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 173,
"height": 258,
"platformSettings": {},
"subMetas": {
"lamp": {
"ver": "1.0.4",
"uuid": "3dd78d6b-3c37-453b-8c9b-085fa260fc26",
"rawTextureUuid": "25c0531e-ce0e-4e93-9123-a7a5ce287362",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 173,
"height": 258,
"rawWidth": 173,
"rawHeight": 258,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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