ui修复
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "29cc77ed-22e0-48a8-98cf-83162f08b619",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "6b6843d0-8531-40cd-a186-88a5d88b3c57",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"__type__": "cc.SpriteAtlas"
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.8",
|
||||
"importer": "auto-atlas",
|
||||
"imported": true,
|
||||
"uuid": "f0251d8c-ee17-4a9b-a4fb-032723b62ee6",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"maxWidth": 1024,
|
||||
"maxHeight": 1024,
|
||||
"padding": 2,
|
||||
"allowRotation": true,
|
||||
"forceSquared": false,
|
||||
"powerOfTwo": false,
|
||||
"algorithm": "MaxRects",
|
||||
"format": "png",
|
||||
"quality": 80,
|
||||
"contourBleed": true,
|
||||
"paddingBleed": true,
|
||||
"filterUnused": false,
|
||||
"compressSettings": {},
|
||||
"textureSetting": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"anisotropy": 1
|
||||
},
|
||||
"removeTextureInBundle": false,
|
||||
"removeImageInBundle": false,
|
||||
"removeSpriteAtlasInBundle": false
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 KiB |
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "16d030ec-0f1c-4eca-9252-06cb8af7a7ba",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "16d030ec-0f1c-4eca-9252-06cb8af7a7ba@6c48a",
|
||||
"displayName": "btn_ok",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"premultiplyAlpha": false,
|
||||
"anisotropy": 1,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "16d030ec-0f1c-4eca-9252-06cb8af7a7ba",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "16d030ec-0f1c-4eca-9252-06cb8af7a7ba@f9941",
|
||||
"displayName": "btn_ok",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 117,
|
||||
"height": 53,
|
||||
"rawWidth": 117,
|
||||
"rawHeight": 53,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "16d030ec-0f1c-4eca-9252-06cb8af7a7ba@6c48a",
|
||||
"atlasUuid": "",
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-58.5,
|
||||
-26.5,
|
||||
0,
|
||||
58.5,
|
||||
-26.5,
|
||||
0,
|
||||
-58.5,
|
||||
26.5,
|
||||
0,
|
||||
58.5,
|
||||
26.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
53,
|
||||
117,
|
||||
53,
|
||||
0,
|
||||
0,
|
||||
117,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-58.5,
|
||||
-26.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
58.5,
|
||||
26.5,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"redirect": "16d030ec-0f1c-4eca-9252-06cb8af7a7ba@f9941",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB |
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "274b7ff9-5a0d-4c4b-8fd2-96d6782ae51e",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "274b7ff9-5a0d-4c4b-8fd2-96d6782ae51e@6c48a",
|
||||
"displayName": "loading",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"premultiplyAlpha": false,
|
||||
"anisotropy": 1,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "274b7ff9-5a0d-4c4b-8fd2-96d6782ae51e",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "274b7ff9-5a0d-4c4b-8fd2-96d6782ae51e@f9941",
|
||||
"displayName": "loading",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 138,
|
||||
"height": 138,
|
||||
"rawWidth": 138,
|
||||
"rawHeight": 138,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "274b7ff9-5a0d-4c4b-8fd2-96d6782ae51e@6c48a",
|
||||
"atlasUuid": "",
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-69,
|
||||
-69,
|
||||
0,
|
||||
69,
|
||||
-69,
|
||||
0,
|
||||
-69,
|
||||
69,
|
||||
0,
|
||||
69,
|
||||
69,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
138,
|
||||
138,
|
||||
138,
|
||||
0,
|
||||
0,
|
||||
138,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-69,
|
||||
-69,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
69,
|
||||
69,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"redirect": "274b7ff9-5a0d-4c4b-8fd2-96d6782ae51e@f9941",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "d7a109d3-8659-4487-a915-2c38b3d88f58",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "b1d5a976-33cc-4622-a9da-a2385bee6cc4",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "b1d5a976-33cc-4622-a9da-a2385bee6cc4@6c48a",
|
||||
"displayName": "toast",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"premultiplyAlpha": false,
|
||||
"anisotropy": 1,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "b1d5a976-33cc-4622-a9da-a2385bee6cc4",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "b1d5a976-33cc-4622-a9da-a2385bee6cc4@f9941",
|
||||
"displayName": "toast",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 539,
|
||||
"height": 90,
|
||||
"rawWidth": 539,
|
||||
"rawHeight": 90,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "b1d5a976-33cc-4622-a9da-a2385bee6cc4@6c48a",
|
||||
"atlasUuid": "",
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-269.5,
|
||||
-45,
|
||||
0,
|
||||
269.5,
|
||||
-45,
|
||||
0,
|
||||
-269.5,
|
||||
45,
|
||||
0,
|
||||
269.5,
|
||||
45,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
90,
|
||||
539,
|
||||
90,
|
||||
0,
|
||||
0,
|
||||
539,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-269.5,
|
||||
-45,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
269.5,
|
||||
45,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"redirect": "b1d5a976-33cc-4622-a9da-a2385bee6cc4@f9941",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "989ba6a5-5936-4360-802e-82a5a22158da",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "368cc198-75d7-4d6f-a3bc-69bd130e1cb1",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB |
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "eb70eaa0-d0be-444d-a4fb-c5fd8aa403a1",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "eb70eaa0-d0be-444d-a4fb-c5fd8aa403a1@6c48a",
|
||||
"displayName": "icon_loading_bar",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"premultiplyAlpha": false,
|
||||
"anisotropy": 1,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "eb70eaa0-d0be-444d-a4fb-c5fd8aa403a1",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "eb70eaa0-d0be-444d-a4fb-c5fd8aa403a1@f9941",
|
||||
"displayName": "icon_loading_bar",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 549,
|
||||
"height": 47,
|
||||
"rawWidth": 549,
|
||||
"rawHeight": 47,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "eb70eaa0-d0be-444d-a4fb-c5fd8aa403a1@6c48a",
|
||||
"atlasUuid": "",
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-274.5,
|
||||
-23.5,
|
||||
0,
|
||||
274.5,
|
||||
-23.5,
|
||||
0,
|
||||
-274.5,
|
||||
23.5,
|
||||
0,
|
||||
274.5,
|
||||
23.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
47,
|
||||
549,
|
||||
47,
|
||||
0,
|
||||
0,
|
||||
549,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-274.5,
|
||||
-23.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
274.5,
|
||||
23.5,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"redirect": "eb70eaa0-d0be-444d-a4fb-c5fd8aa403a1@f9941",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.0 KiB |
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "20d4c88f-d859-4182-86ae-97911159d643",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "20d4c88f-d859-4182-86ae-97911159d643@6c48a",
|
||||
"displayName": "panel_loading_bottom_frame",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"premultiplyAlpha": false,
|
||||
"anisotropy": 1,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "20d4c88f-d859-4182-86ae-97911159d643",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "20d4c88f-d859-4182-86ae-97911159d643@f9941",
|
||||
"displayName": "panel_loading_bottom_frame",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 567,
|
||||
"height": 65,
|
||||
"rawWidth": 567,
|
||||
"rawHeight": 65,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "20d4c88f-d859-4182-86ae-97911159d643@6c48a",
|
||||
"atlasUuid": "",
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-283.5,
|
||||
-32.5,
|
||||
0,
|
||||
283.5,
|
||||
-32.5,
|
||||
0,
|
||||
-283.5,
|
||||
32.5,
|
||||
0,
|
||||
283.5,
|
||||
32.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
65,
|
||||
567,
|
||||
65,
|
||||
0,
|
||||
0,
|
||||
567,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-283.5,
|
||||
-32.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
283.5,
|
||||
32.5,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"redirect": "20d4c88f-d859-4182-86ae-97911159d643@f9941",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false
|
||||
}
|
||||
}
|
||||
@@ -3,13 +3,13 @@
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "netinstable",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"persistent": false,
|
||||
"asyncLoadAssets": false
|
||||
"persistent": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
@@ -59,6 +59,7 @@
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -72,6 +73,7 @@
|
||||
"__type__": "cc.Node",
|
||||
"_name": "bg",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
@@ -110,6 +112,7 @@
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 33554432,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -123,6 +126,7 @@
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
@@ -132,8 +136,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1280,
|
||||
"height": 720
|
||||
"width": 720,
|
||||
"height": 1280
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -150,6 +154,7 @@
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
@@ -194,6 +199,7 @@
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "loading<Widget>",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
@@ -233,12 +239,16 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "c5KGHiK9REY4bg8g3FbCdj"
|
||||
"fileId": "c5KGHiK9REY4bg8g3FbCdj",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "loading",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
@@ -274,6 +284,7 @@
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 33554432,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -287,6 +298,7 @@
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 10
|
||||
},
|
||||
@@ -314,6 +326,7 @@
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "loading<Sprite>",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 10
|
||||
},
|
||||
@@ -332,7 +345,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "274b7ff9-5a0d-4c4b-8fd2-96d6782ae51e@f9941",
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@49762",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@@ -362,12 +375,16 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "b4DOS8ivZJwbuvCM8qdysu"
|
||||
"fileId": "b4DOS8ivZJwbuvCM8qdysu",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
@@ -377,8 +394,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1280,
|
||||
"height": 720
|
||||
"width": 720,
|
||||
"height": 1280
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -395,6 +412,7 @@
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
@@ -430,6 +448,7 @@
|
||||
"__type__": "95143M/82NCOLKGzw14JlmS",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
@@ -454,6 +473,8 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "a0daVw8DRLi6ToMaTA0VS2"
|
||||
"fileId": "a0daVw8DRLi6ToMaTA0VS2",
|
||||
"instance": null,
|
||||
"targetOverrides": null
|
||||
}
|
||||
]
|
||||
@@ -9227,8 +9227,8 @@
|
||||
"rawHeight": 20,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 5,
|
||||
"borderRight": 5,
|
||||
"borderLeft": 6,
|
||||
"borderRight": 6,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -441,7 +441,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "eb70eaa0-d0be-444d-a4fb-c5fd8aa403a1@f9941",
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@39df8",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 3,
|
||||
@@ -453,7 +453,7 @@
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_fillRange": 1,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": null,
|
||||
@@ -734,7 +734,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "20d4c88f-d859-4182-86ae-97911159d643@f9941",
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@75769",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@@ -773,7 +773,7 @@
|
||||
},
|
||||
"_mode": 2,
|
||||
"_totalLength": 1,
|
||||
"_progress": 0,
|
||||
"_progress": 1,
|
||||
"_reverse": false,
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
@@ -50,10 +50,13 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
9001:{uuid:9001,lv:1,exp:0,slv:0,stone:0,num:100,x1:1,x10:0},
|
||||
9002:{uuid:9002,lv:2,exp:0,slv:1,stone:0,num:80,x1:2,x10:0},
|
||||
9003:{uuid:9003,lv:3,exp:0,slv:2,stone:0,num:90,x1:3,x10:0},
|
||||
9004:{uuid:9004,lv:1,exp:0,slv:0,stone:0,num:100,x1:1,x10:0},
|
||||
9005:{uuid:9005,lv:2,exp:0,slv:1,stone:0,num:80,x1:2,x10:0},
|
||||
9006:{uuid:9006,lv:3,exp:0,slv:2,stone:0,num:90,x1:3,x10:0},
|
||||
};
|
||||
goods:any={
|
||||
free: [ {uuid:9001,num:100000}, {uuid:9002,num:10}, {uuid:9003,num:10}],
|
||||
goods1:[ {uuid:1001,num:100}, {uuid:9002,num:1} ],
|
||||
free: [ {uuid:9001,num:100000}, {uuid:9003,num:500}],
|
||||
goods1:[ {uuid:9003,num:1} ],
|
||||
herochips:[ {uuid:9001,num:2}, {uuid:9002,num:1} ],
|
||||
skillchips:[ {uuid:1001,num:100}, {uuid:1002,num:1} ],
|
||||
goods4:[ {uuid:9001,num:100}, {uuid:9002,num:1} ],
|
||||
@@ -76,7 +79,7 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
1015:{uuid:1015,num:1000,x1:0,x10:0},
|
||||
1016:{uuid:1016,num:1000,x1:0,x10:0},
|
||||
};
|
||||
fight_heros=[9001,9002]
|
||||
fight_heros=[9003,9002]
|
||||
mheros:any = [];
|
||||
monsters:any = [];
|
||||
sk_info:any = []
|
||||
@@ -112,15 +115,15 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
reward_gold:0,
|
||||
reward_exp:0,
|
||||
},
|
||||
gold:{num:9999999,x1:1,x10:0},
|
||||
gold:{num:999999,x1:1,x10:0},
|
||||
exp:{num:1000,x1:1,x10:0},
|
||||
skp:{num:2000,x1:1,x10:0}, //技能升级点数
|
||||
energy:{num:10,x1:1,x10:0},
|
||||
|
||||
free:{ cost:0,num:3,buy:3,},
|
||||
goods1:{ cost:2000,num:3,buy:3,},
|
||||
herochips:{ cost:3000,num:4,buy:3,},
|
||||
skillchips:{ cost:4000,num:5,buy:3,},
|
||||
goods1:{ cost:20000,num:3,buy:3,},
|
||||
herochips:{ cost:30000,num:4,buy:3,},
|
||||
skillchips:{ cost:500000,num:5,buy:3,},
|
||||
|
||||
};
|
||||
vmAdd() {
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
|
||||
export const BoxDrop={
|
||||
1:[
|
||||
{uuid: 1001,dropRate: 10,num_max: 10,type:0},
|
||||
{uuid: 1002,dropRate: 10,num_max: 10,type:0},
|
||||
{uuid: 1003,dropRate: 10,num_max: 10,type:0},
|
||||
{uuid: 9001,dropRate: 10,num_max: 100000,type:0},
|
||||
{uuid: 9003,dropRate: 10,num_max: 500,type:0},
|
||||
],
|
||||
2:[
|
||||
{uuid: 1001,dropRate: 10,num_max: 10,type:0},
|
||||
|
||||
@@ -65,9 +65,30 @@ export const HeroInfo = {
|
||||
abh:0,abc:0,uabh:0,uabc:0,cbh:0,cbc:0,aua:0,auc:0,uaua:0,uauc:0,cua:0,cuc:0,wp:1001,arm:2001,ring:3001,shoes:4001,
|
||||
tals:["这是一级说明","这是二级说明","这是三级说明","这是四级说明","这是五级说明"]
|
||||
},
|
||||
9004: {
|
||||
uuid:9003,name: "111",path:"a1",type:1,hp: 200, hp_up:10, shp_up:20,def:10,def_up:1,sdef_up:20,ap:20,ap_up:2,sap_up:20,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:100,a_cd:1.5,
|
||||
lvexp:0,slvexp:0, speed: 100,aexp:5,uaexp:1,cexp:10,doexp:10,dexp:20,sk1:[9001,9001,9001,9001,9001,9001],sk2:[2002,2002,2002,2002,2002,2002],sk3:[2002,2002,2002,2002,2002,2002],pw:0,pwm:150,pws:10,apw:0,uapw:0,cpw:0,dpw:0,dopw:0,
|
||||
akr:[10,20,30,40,50,60],akc:[1,1,1,1,1,1],uar:[10,20,30,40,50,60],uac:[1,1,1,1,1,1],dgr:[10,20,30,40,50,60],dgc:[1,1,1,1,1,1],crr:[10,20,30,40,50,60],crc:[1,1,1,1,1,1],
|
||||
abh:0,abc:0,uabh:0,uabc:0,cbh:0,cbc:0,aua:0,auc:0,uaua:0,uauc:0,cua:0,cuc:0,wp:1001,arm:2001,ring:3001,shoes:4001,
|
||||
tals:["这是一级说明","这是二级说明","这是三级说明","这是四级说明","这是五级说明"]
|
||||
},
|
||||
9005: {
|
||||
uuid:9003,name: "222",path:"a2",type:1,hp: 200, hp_up:10, shp_up:20,def:10,def_up:1,sdef_up:20,ap:20,ap_up:2,sap_up:20,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:100,a_cd:1.5,
|
||||
lvexp:0,slvexp:0, speed: 100,aexp:5,uaexp:1,cexp:10,doexp:10,dexp:20,sk1:[9001,9001,9001,9001,9001,9001],sk2:[2002,2002,2002,2002,2002,2002],sk3:[2002,2002,2002,2002,2002,2002],pw:0,pwm:150,pws:10,apw:0,uapw:0,cpw:0,dpw:0,dopw:0,
|
||||
akr:[10,20,30,40,50,60],akc:[1,1,1,1,1,1],uar:[10,20,30,40,50,60],uac:[1,1,1,1,1,1],dgr:[10,20,30,40,50,60],dgc:[1,1,1,1,1,1],crr:[10,20,30,40,50,60],crc:[1,1,1,1,1,1],
|
||||
abh:0,abc:0,uabh:0,uabc:0,cbh:0,cbc:0,aua:0,auc:0,uaua:0,uauc:0,cua:0,cuc:0,wp:1001,arm:2001,ring:3001,shoes:4001,
|
||||
tals:["这是一级说明","这是二级说明","这是三级说明","这是四级说明","这是五级说明"]
|
||||
},
|
||||
9006: {
|
||||
uuid:9003,name: "333",path:"a3",type:1,hp: 200, hp_up:10, shp_up:20,def:10,def_up:1,sdef_up:20,ap:20,ap_up:2,sap_up:20,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:100,a_cd:1.5,
|
||||
lvexp:0,slvexp:0, speed: 100,aexp:5,uaexp:1,cexp:10,doexp:10,dexp:20,sk1:[9001,9001,9001,9001,9001,9001],sk2:[2002,2002,2002,2002,2002,2002],sk3:[2002,2002,2002,2002,2002,2002],pw:0,pwm:150,pws:10,apw:0,uapw:0,cpw:0,dpw:0,dopw:0,
|
||||
akr:[10,20,30,40,50,60],akc:[1,1,1,1,1,1],uar:[10,20,30,40,50,60],uac:[1,1,1,1,1,1],dgr:[10,20,30,40,50,60],dgc:[1,1,1,1,1,1],crr:[10,20,30,40,50,60],crc:[1,1,1,1,1,1],
|
||||
abh:0,abc:0,uabh:0,uabc:0,cbh:0,cbc:0,aua:0,auc:0,uaua:0,uauc:0,cua:0,cuc:0,wp:1001,arm:2001,ring:3001,shoes:4001,
|
||||
tals:["这是一级说明","这是二级说明","这是三级说明","这是四级说明","这是五级说明"]
|
||||
},
|
||||
|
||||
}
|
||||
export const HeroList = [9001,9002,9003]
|
||||
export const HeroList = [9001,9002,9003,9004,9005,9006]
|
||||
export const MonSet = {
|
||||
5001: {
|
||||
uuid: 5001, path: "boss1", type: 1, level: 1,cost:2, name: "骷髅王", atk: 30, hp: 150, atk_dis: 200, a_cd: 2, power: 0, power_max: 10, speed: 7,
|
||||
|
||||
@@ -13,6 +13,7 @@ import { Talent } from "../Role/Talent";
|
||||
import { Talents } from "../common/config/TalentSet";
|
||||
import { HeroViewComp } from "../hero/HeroViewComp";
|
||||
import { Position } from "../../../../extensions/oops-plugin-framework/assets/libs/gui/badge/Badge";
|
||||
import { MissionHomeComp } from "./MissionHomeComp";
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
/** 视图层对象 */
|
||||
@@ -81,6 +82,7 @@ export class CardControllerComp extends CCComp {
|
||||
case "home":
|
||||
this.node.getChildByName("mission_home").active = true
|
||||
this.bbg.setPosition(v3(this.bbg_x[2],this.bbg_y))
|
||||
this.node.getChildByName("mission_home").getComponent(MissionHomeComp).load_hero_card()
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,8 @@ export class HeroHomeComp extends CCComp {
|
||||
let heros:any=HeroList
|
||||
let hc:number =HeroList.length
|
||||
let parent= this.node.getChildByName("heros").getChildByName("view").getChildByName("content")
|
||||
parent.getComponent(UITransform).width=hc*150
|
||||
parent.getComponent(UITransform).setContentSize(hc*150,200)
|
||||
console.log("parent",parent)
|
||||
for (let i = 0; i < hc; i++) {
|
||||
let hcc =ecs.getEntity<HeroCard>(HeroCard)
|
||||
hcc.load(HeroList[i],parent)
|
||||
@@ -104,7 +105,16 @@ export class HeroHomeComp extends CCComp {
|
||||
}else{
|
||||
slvup.getChildByName("btned").active=false
|
||||
};
|
||||
|
||||
if( this.role.slv==0) {
|
||||
this.node.getChildByName("call").getChildByName("cost").getChildByName("need").getComponent(Label).string = ((SlvUp[this.role.slv]-HeroInfo[this.h_uuid].slvexp)*(1+this.role.slv)).toString()
|
||||
this.node.getChildByName("call").getChildByName("cost").getChildByName("num").getComponent(Label).string = smc.heros[this.h_uuid].num.toString()
|
||||
this.node.getChildByName("call").getChildByName("cost").getChildByName("bar").getComponent(ProgressBar).progress = smc.heros[this.h_uuid].num/((SlvUp[this.role.slv]-HeroInfo[this.h_uuid].slvexp)*(1+this.role.slv))
|
||||
let hchipcomp= this.node.getChildByName("call").getChildByName("cost").getChildByName("hchip").getComponent(HChipComp)
|
||||
hchipcomp.update_data(this.h_uuid,0)
|
||||
this.node.getChildByName("call").active=true
|
||||
}else{
|
||||
this.node.getChildByName("call").active=false
|
||||
};
|
||||
attr.getChildByName("ap").getChildByName("val").getComponent(Label).string = ((this.hero.ap+this.hero.ap_up* this.role.lv)*(1+this.hero.sap_up/100*this.role.slv)).toFixed(0).toString()
|
||||
attr.getChildByName("hp").getChildByName("val").getComponent(Label).string = ((this.hero.hp+this.hero.hp_up* this.role.lv)*(1+this.hero.shp_up/100*this.role.slv)).toFixed(0).toString()
|
||||
attr.getChildByName("def").getChildByName("val").getComponent(Label).string = ((this.hero.ap+this.hero.ap_up* this.role.lv)*(1+this.hero.sdef_up/100*this.role.slv)).toFixed(0).toString()
|
||||
|
||||
@@ -138,7 +138,16 @@ export class LuckHomeCompComp extends CCComp {
|
||||
break;
|
||||
case 1:
|
||||
this.show_item(uuid,num)
|
||||
smc.items[uuid].num += num
|
||||
if(uuid ==9001){
|
||||
smc.vmdata.gold.num+=num
|
||||
}
|
||||
if(uuid ==9003){
|
||||
smc.vmdata.exp.num+=num
|
||||
}
|
||||
if(uuid < 9000){
|
||||
smc.items[uuid].num+=num
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ import { MSCard } from "./MSCard";
|
||||
import { CardControllerComp } from "./CardController";
|
||||
import { MissionComp } from "./MissionComp";
|
||||
import { MSCardComp } from "./MSCardComp";
|
||||
import { HeroSelectComp } from "../hero/HeroSelectComp";
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -63,20 +64,29 @@ export class MissionHomeComp extends CCComp {
|
||||
this.node.active=false;
|
||||
}
|
||||
load_hero_card(){
|
||||
let loaded:any = ecs.query(ecs.allOf(HeroSelectComp));
|
||||
if(loaded.length>0){
|
||||
for(let i=0;i<loaded.length;i++){
|
||||
loaded[i].HeroSelectComp.reset()
|
||||
loaded[i].HeroSelectComp.ent.destroy()
|
||||
}
|
||||
}
|
||||
let hc:number =HeroList.length
|
||||
let parent= this.node.getChildByName("heros").getChildByName("view").getChildByName("content")
|
||||
let height=Math.ceil(hc / 4)*135
|
||||
parent.getComponent(UITransform).width=height
|
||||
parent.getComponent(UITransform).height=height
|
||||
for (let i = 0; i < hc; i++) {
|
||||
if(smc.heros[HeroList[i]].slv > 0) {
|
||||
let hcc =ecs.getEntity<HeroSelect>(HeroSelect)
|
||||
hcc.load(HeroList[i],parent)
|
||||
}
|
||||
}
|
||||
}
|
||||
load_skill_card(){
|
||||
let ms_num:number =MSklist.length
|
||||
let parent= this.node.getChildByName("skills").getChildByName("view").getChildByName("content")
|
||||
let height=ms_num*135
|
||||
parent.getComponent(UITransform).width=height
|
||||
parent.getComponent(UITransform).height=height
|
||||
for (let i = 0; i < ms_num; i++) {
|
||||
let msc =ecs.getEntity<MSCard>(MSCard)
|
||||
msc.load(MSklist[i],parent,2)
|
||||
|
||||
@@ -70,6 +70,17 @@ export class ShopHomeComp extends CCComp {
|
||||
oops.gui.toast("今日领取次数已用完");
|
||||
return
|
||||
}
|
||||
for (let x = 0; x < smc.goods.free.length; x++) {
|
||||
if(smc.goods.free[x].uuid ==9001){
|
||||
smc.vmdata.gold.num+=smc.goods.free[x].num
|
||||
}
|
||||
if(smc.goods.free[x].uuid ==9003){
|
||||
smc.vmdata.exp.num+=smc.goods.free[x].num
|
||||
}
|
||||
if(smc.goods.free[x].uuid < 9000){
|
||||
smc.items[smc.goods.free[x].uuid].num+=smc.goods.free[x].num
|
||||
}
|
||||
}
|
||||
smc.vmdata.free.buy--
|
||||
}
|
||||
get_goods1(){
|
||||
@@ -78,23 +89,57 @@ export class ShopHomeComp extends CCComp {
|
||||
oops.gui.toast("今日购买次数已用完");
|
||||
return
|
||||
}
|
||||
if(smc.vmdata.gold.num < smc.vmdata.goods1.cost){
|
||||
oops.gui.toast("金币不足");
|
||||
return
|
||||
}
|
||||
for (let x = 0; x < smc.goods.goods1.length; x++) {
|
||||
if(smc.goods.goods1[x].uuid ==9001){
|
||||
smc.vmdata.gold.num+=smc.goods.goods1[x].num
|
||||
}
|
||||
if(smc.goods.goods1[x].uuid ==9003){
|
||||
smc.vmdata.exp.num+=smc.goods.goods1[x].num
|
||||
}
|
||||
if(smc.goods.goods1[x].uuid < 9000){
|
||||
smc.items[smc.goods.goods1[x].uuid].num+=smc.goods.goods1[x].num
|
||||
}
|
||||
}
|
||||
smc.vmdata.goods1.buy--
|
||||
smc.vmdata.gold.num-=smc.vmdata.goods1.cost
|
||||
}
|
||||
get_goods2(){
|
||||
console.log("购买商品2")
|
||||
if(smc.vmdata.goods2.buy <= 0){
|
||||
if(smc.vmdata.herochips.buy <= 0){
|
||||
oops.gui.toast("今日购买次数已用完");
|
||||
return
|
||||
}
|
||||
smc.vmdata.goods2.buy--
|
||||
if(smc.vmdata.gold.num < smc.vmdata.herochips.cost){
|
||||
oops.gui.toast("金币不足");
|
||||
return
|
||||
}
|
||||
for (let x = 0; x < smc.goods.herochips.length; x++) {
|
||||
smc.heros[smc.goods.herochips[x].uuid].num += smc.goods.herochips[x].num
|
||||
}
|
||||
smc.vmdata.herochips.buy--
|
||||
smc.vmdata.gold.num-=smc.vmdata.herochips.cost
|
||||
}
|
||||
|
||||
get_goods3(){
|
||||
console.log("购买商品3")
|
||||
if(smc.vmdata.goods3.buy <= 0){
|
||||
if(smc.vmdata.skillchips.buy <= 0){
|
||||
oops.gui.toast("今日购买次数已用完");
|
||||
return
|
||||
}
|
||||
smc.vmdata.goods3.buy--
|
||||
if(smc.vmdata.gold.num < smc.vmdata.skillchips.cost){
|
||||
oops.gui.toast("金币不足");
|
||||
return
|
||||
}
|
||||
for (let x = 0; x < smc.goods.skillchips.length; x++) {
|
||||
smc.skills[smc.goods.skillchips[x].uuid].num += smc.goods.skillchips[x].num
|
||||
}
|
||||
smc.vmdata.skillchips.buy--
|
||||
smc.vmdata.gold.num-=smc.vmdata.skillchips.cost
|
||||
|
||||
}
|
||||
get_goods4(){
|
||||
console.log("购买商品4")
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
"_value": true
|
||||
},
|
||||
"video": {
|
||||
"_value": true
|
||||
"_value": false
|
||||
},
|
||||
"webview": {
|
||||
"_value": false
|
||||
@@ -139,8 +139,7 @@
|
||||
"skeletal-animation",
|
||||
"spine",
|
||||
"tween",
|
||||
"ui",
|
||||
"video"
|
||||
"ui"
|
||||
],
|
||||
"flags": {},
|
||||
"noDeprecatedFeatures": {
|
||||
|
||||
Reference in New Issue
Block a user