Commit f4053fd2 authored by liujiaxin's avatar liujiaxin

11

parent 9e4a5e40
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1334, "width": 1200,
"height": 750 "height": 750
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
667, 600,
375, 375,
0, 0,
0, 0,
...@@ -1472,7 +1472,7 @@ ...@@ -1472,7 +1472,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1334, "width": 1200,
"height": 750 "height": 750
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -1556,7 +1556,7 @@ ...@@ -1556,7 +1556,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1334, "width": 1200,
"height": 750 "height": 750
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -1605,7 +1605,7 @@ ...@@ -1605,7 +1605,7 @@
"__id__": 30 "__id__": 30
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 33
...@@ -1634,7 +1634,7 @@ ...@@ -1634,7 +1634,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1334, "width": 1200,
"height": 276 "height": 276
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -1805,7 +1805,7 @@ ...@@ -1805,7 +1805,7 @@
"__uuid__": "34f1856c-0903-4c68-b8b3-6f318251f80b" "__uuid__": "34f1856c-0903-4c68-b8b3-6f318251f80b"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1890,7 +1890,7 @@ ...@@ -1890,7 +1890,7 @@
"__id__": 39 "__id__": 39
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 42 "__id__": 42
...@@ -1919,7 +1919,7 @@ ...@@ -1919,7 +1919,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1334, "width": 1200,
"height": 152 "height": 152
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -2090,7 +2090,7 @@ ...@@ -2090,7 +2090,7 @@
"__uuid__": "429430f7-a25c-4f31-9eec-6e5bddf103e9" "__uuid__": "429430f7-a25c-4f31-9eec-6e5bddf103e9"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2297,7 +2297,7 @@ ...@@ -2297,7 +2297,7 @@
"__uuid__": "c37d1a01-6305-4967-a5c5-791ea2747281" "__uuid__": "c37d1a01-6305-4967-a5c5-791ea2747281"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2382,7 +2382,7 @@ ...@@ -2382,7 +2382,7 @@
"__id__": 56 "__id__": 56
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 59 "__id__": 59
...@@ -2426,7 +2426,7 @@ ...@@ -2426,7 +2426,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-586.51, -519.51,
30, 30,
0, 0,
0, 0,
...@@ -2869,7 +2869,7 @@ ...@@ -2869,7 +2869,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1334, "width": 1200,
"height": 750 "height": 750
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -3973,7 +3973,7 @@ ...@@ -3973,7 +3973,7 @@
"__uuid__": "540cc7d2-c0ac-4fca-94d9-ee129eb4870e" "__uuid__": "540cc7d2-c0ac-4fca-94d9-ee129eb4870e"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 0, "_sizeMode": 1,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4828,7 +4828,7 @@ ...@@ -4828,7 +4828,7 @@
"__uuid__": "1b376b4d-fce0-416d-981b-85726dc8d4b2" "__uuid__": "1b376b4d-fce0-416d-981b-85726dc8d4b2"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 0, "_sizeMode": 1,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4837,7 +4837,7 @@ ...@@ -4837,7 +4837,7 @@
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": false,
"_atlas": null, "_atlas": null,
"_id": "2eYkmIROpHDqdcHikIy4Mo" "_id": "2eYkmIROpHDqdcHikIy4Mo"
}, },
...@@ -4971,7 +4971,7 @@ ...@@ -4971,7 +4971,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
516.567, 456.567,
-310.76, -310.76,
0, 0,
0, 0,
...@@ -6522,7 +6522,7 @@ ...@@ -6522,7 +6522,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-606.402, -520,
319.081, 319.081,
0, 0,
0, 0,
...@@ -26829,7 +26829,7 @@ ...@@ -26829,7 +26829,7 @@
"_enabled": true, "_enabled": true,
"_designResolution": { "_designResolution": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1334, "width": 1200,
"height": 750 "height": 750
}, },
"_fitWidth": true, "_fitWidth": true,
......
...@@ -234,6 +234,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -234,6 +234,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const self = this; const self = this;
fur_kinds.forEach(kind => { fur_kinds.forEach(kind => {
const fur = user.myFurniture.furniture[kind]; const fur = user.myFurniture.furniture[kind];
console.log(kind, fur.rect)
house.setFurnitureItem(self[kind], fur.id, fur.rect); house.setFurnitureItem(self[kind], fur.id, fur.rect);
}); });
} }
......
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