Commit 4f4d5ad9 authored by 李维's avatar 李维

fix: 基本布局完成

parent 238bebea
......@@ -86,14 +86,14 @@
],
"_active": true,
"_components": [
{
"__id__": 25
},
{
"__id__": 26
},
{
"__id__": 27
},
{
"__id__": 28
}
],
"_prefab": null,
......@@ -715,7 +715,11 @@
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 25
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -727,7 +731,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1800,
"width": 1280,
"height": 600
},
"_anchorPoint": {
......@@ -739,8 +743,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
50,
-49.176,
0,
0,
0,
......@@ -805,8 +809,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-618.2,
-46.715,
-640,
0,
0,
0,
0,
......@@ -1143,6 +1147,33 @@
},
"_id": "30yHDRW1FLSaYTIlriOrwH"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 50,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "206/llzq5AuIAFBUoktUtK"
},
{
"__type__": "cc.Canvas",
"_name": "",
......
......@@ -55,7 +55,7 @@ export default class GameCenter extends cc.Component {
let sx = cc.winSize.width / frameSize.width;
let sy = cc.winSize.height / frameSize.height;
const cocosScale = Math.min(sx, sy);
// const cocosScale = Math.min(sx, sy);
sx = frameSize.width / designSize.width;
sy = frameSize.height / designSize.height;
......
......@@ -325,7 +325,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"width": 325,
"height": 40.32
},
"_anchorPoint": {
......@@ -338,7 +338,7 @@
"ctor": "Float64Array",
"array": [
-1.089,
-99.039,
-106.039,
0,
0,
0,
......@@ -377,8 +377,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_string": "呃呃恶臭",
"_N$string": "呃呃恶臭",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
......@@ -391,7 +391,7 @@
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 1,
"_N$cacheMode": 0,
"_id": ""
},
......
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