update checkpoint 6

main
cuongnm2 2024-04-24 09:17:24 +07:00
parent afe83085da
commit 7e9685f4b6
75 changed files with 9839 additions and 2090 deletions

View File

@ -70,7 +70,6 @@ export class UmStorageManager extends Component {
}
private _convertKey(key: string, isUser: boolean): string {
key = "pkz" + key;
if (isUser) {
key = this._user_id + key;
}

View File

@ -8,8 +8,8 @@
],
"subMetas": {},
"userData": {
"maxWidth": 1024,
"maxHeight": 1024,
"maxWidth": 2048,
"maxHeight": 2048,
"padding": 2,
"allowRotation": true,
"forceSquared": false,

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "3b4d86ea-7b0b-4312-b7e9-ea15df7ea35c",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "c9276f85-92a7-4654-9fc1-ca2ea0289427",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "dd93db7e-48b8-4f10-8edd-68b3721f2779",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "dd93db7e-48b8-4f10-8edd-68b3721f2779@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "dd93db7e-48b8-4f10-8edd-68b3721f2779",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "dd93db7e-48b8-4f10-8edd-68b3721f2779@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 667,
"height": 375,
"rawWidth": 667,
"rawHeight": 375,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-333.5,
-187.5,
0,
333.5,
-187.5,
0,
-333.5,
187.5,
0,
333.5,
187.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
375,
667,
375,
0,
0,
667,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-333.5,
-187.5,
0
],
"maxPos": [
333.5,
187.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "dd93db7e-48b8-4f10-8edd-68b3721f2779@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "dd93db7e-48b8-4f10-8edd-68b3721f2779@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "8f0398b8-c177-4a16-8fa7-6772f02339f5",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8f0398b8-c177-4a16-8fa7-6772f02339f5@6c48a",
"displayName": "close",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "8f0398b8-c177-4a16-8fa7-6772f02339f5",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8f0398b8-c177-4a16-8fa7-6772f02339f5@f9941",
"displayName": "close",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 74,
"height": 74,
"rawWidth": 74,
"rawHeight": 74,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-37,
-37,
0,
37,
-37,
0,
-37,
37,
0,
37,
37,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
74,
74,
74,
0,
0,
74,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-37,
-37,
0
],
"maxPos": [
37,
37,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "8f0398b8-c177-4a16-8fa7-6772f02339f5@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "8f0398b8-c177-4a16-8fa7-6772f02339f5@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "4b60d452-694d-4434-9358-983485248318",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4b60d452-694d-4434-9358-983485248318@6c48a",
"displayName": "confirm",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "4b60d452-694d-4434-9358-983485248318",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "4b60d452-694d-4434-9358-983485248318@f9941",
"displayName": "confirm",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 274,
"height": 75,
"rawWidth": 274,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-137,
-37.5,
0,
137,
-37.5,
0,
-137,
37.5,
0,
137,
37.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
75,
274,
75,
0,
0,
274,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-137,
-37.5,
0
],
"maxPos": [
137,
37.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4b60d452-694d-4434-9358-983485248318@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "4b60d452-694d-4434-9358-983485248318@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "8abc7965-d8f5-450d-a2e1-991702e7c975",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8abc7965-d8f5-450d-a2e1-991702e7c975@6c48a",
"displayName": "no_btn",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "8abc7965-d8f5-450d-a2e1-991702e7c975",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8abc7965-d8f5-450d-a2e1-991702e7c975@f9941",
"displayName": "no_btn",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 220,
"height": 65,
"rawWidth": 220,
"rawHeight": 65,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-110,
-32.5,
0,
110,
-32.5,
0,
-110,
32.5,
0,
110,
32.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
65,
220,
65,
0,
0,
220,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-110,
-32.5,
0
],
"maxPos": [
110,
32.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "8abc7965-d8f5-450d-a2e1-991702e7c975@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "8abc7965-d8f5-450d-a2e1-991702e7c975@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "1d97824e-9e6b-4474-b7af-5487e01b556e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "1d97824e-9e6b-4474-b7af-5487e01b556e@6c48a",
"displayName": "yes_btn",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "1d97824e-9e6b-4474-b7af-5487e01b556e",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "1d97824e-9e6b-4474-b7af-5487e01b556e@f9941",
"displayName": "yes_btn",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 226,
"height": 67,
"rawWidth": 226,
"rawHeight": 67,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-113,
-33.5,
0,
113,
-33.5,
0,
-113,
33.5,
0,
113,
33.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
67,
226,
67,
0,
0,
226,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-113,
-33.5,
0
],
"maxPos": [
113,
33.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "1d97824e-9e6b-4474-b7af-5487e01b556e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "1d97824e-9e6b-4474-b7af-5487e01b556e@f9941"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "ac4ae3a6-59b4-4711-ac40-3025494562b0",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "1c26c4b7-17a9-4741-b70a-a278e8810e77",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "1c26c4b7-17a9-4741-b70a-a278e8810e77@6c48a",
"displayName": "avatar_frame",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "1c26c4b7-17a9-4741-b70a-a278e8810e77",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "1c26c4b7-17a9-4741-b70a-a278e8810e77@f9941",
"displayName": "avatar_frame",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 97,
"height": 97,
"rawWidth": 97,
"rawHeight": 97,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-48.5,
-48.5,
0,
48.5,
-48.5,
0,
-48.5,
48.5,
0,
48.5,
48.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
97,
97,
97,
0,
0,
97,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-48.5,
-48.5,
0
],
"maxPos": [
48.5,
48.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "1c26c4b7-17a9-4741-b70a-a278e8810e77@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "1c26c4b7-17a9-4741-b70a-a278e8810e77@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "50376ebc-f4d8-44e2-9643-71e831c09cea",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "50376ebc-f4d8-44e2-9643-71e831c09cea@6c48a",
"displayName": "btn_ticket",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "50376ebc-f4d8-44e2-9643-71e831c09cea",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "50376ebc-f4d8-44e2-9643-71e831c09cea@f9941",
"displayName": "btn_ticket",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 125,
"height": 64,
"rawWidth": 125,
"rawHeight": 64,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-62.5,
-32,
0,
62.5,
-32,
0,
-62.5,
32,
0,
62.5,
32,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
64,
125,
64,
0,
0,
125,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-62.5,
-32,
0
],
"maxPos": [
62.5,
32,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "50376ebc-f4d8-44e2-9643-71e831c09cea@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "50376ebc-f4d8-44e2-9643-71e831c09cea@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "f0393260-bd83-4fe0-9ff9-fd8720507887",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f0393260-bd83-4fe0-9ff9-fd8720507887@6c48a",
"displayName": "coin",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "f0393260-bd83-4fe0-9ff9-fd8720507887",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f0393260-bd83-4fe0-9ff9-fd8720507887@f9941",
"displayName": "coin",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 40,
"height": 44,
"rawWidth": 40,
"rawHeight": 44,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-20,
-22,
0,
20,
-22,
0,
-20,
22,
0,
20,
22,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
44,
40,
44,
0,
0,
40,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-20,
-22,
0
],
"maxPos": [
20,
22,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f0393260-bd83-4fe0-9ff9-fd8720507887@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "f0393260-bd83-4fe0-9ff9-fd8720507887@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "91750073-2c2d-467d-a86f-8327809ce4c7",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "91750073-2c2d-467d-a86f-8327809ce4c7@6c48a",
"displayName": "done_btn",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "91750073-2c2d-467d-a86f-8327809ce4c7",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "91750073-2c2d-467d-a86f-8327809ce4c7@f9941",
"displayName": "done_btn",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 226,
"height": 67,
"rawWidth": 226,
"rawHeight": 67,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-113,
-33.5,
0,
113,
-33.5,
0,
-113,
33.5,
0,
113,
33.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
67,
226,
67,
0,
0,
226,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-113,
-33.5,
0
],
"maxPos": [
113,
33.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "91750073-2c2d-467d-a86f-8327809ce4c7@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "91750073-2c2d-467d-a86f-8327809ce4c7@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "7f32154c-c4f7-410d-b61f-d8883dbdbca2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "7f32154c-c4f7-410d-b61f-d8883dbdbca2@6c48a",
"displayName": "editing",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "7f32154c-c4f7-410d-b61f-d8883dbdbca2",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "7f32154c-c4f7-410d-b61f-d8883dbdbca2@f9941",
"displayName": "editing",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 43,
"height": 43,
"rawWidth": 43,
"rawHeight": 43,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-21.5,
-21.5,
0,
21.5,
-21.5,
0,
-21.5,
21.5,
0,
21.5,
21.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
43,
43,
43,
0,
0,
43,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-21.5,
-21.5,
0
],
"maxPos": [
21.5,
21.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "7f32154c-c4f7-410d-b61f-d8883dbdbca2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "7f32154c-c4f7-410d-b61f-d8883dbdbca2@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "7a5717ca-71e7-4c5e-8e72-fcf60548d226",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "7a5717ca-71e7-4c5e-8e72-fcf60548d226@6c48a",
"displayName": "editing1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "7a5717ca-71e7-4c5e-8e72-fcf60548d226",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "7a5717ca-71e7-4c5e-8e72-fcf60548d226@f9941",
"displayName": "editing1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 33,
"height": 34,
"rawWidth": 33,
"rawHeight": 34,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16.5,
-17,
0,
16.5,
-17,
0,
-16.5,
17,
0,
16.5,
17,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
34,
33,
34,
0,
0,
33,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-16.5,
-17,
0
],
"maxPos": [
16.5,
17,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "7a5717ca-71e7-4c5e-8e72-fcf60548d226@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "7a5717ca-71e7-4c5e-8e72-fcf60548d226@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "ff64cc16-de5c-4277-942a-a09013f03d96",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ff64cc16-de5c-4277-942a-a09013f03d96@6c48a",
"displayName": "header",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "ff64cc16-de5c-4277-942a-a09013f03d96",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ff64cc16-de5c-4277-942a-a09013f03d96@f9941",
"displayName": "header",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 557,
"height": 128,
"rawWidth": 557,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 30,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-278.5,
-64,
0,
278.5,
-64,
0,
-278.5,
64,
0,
278.5,
64,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
128,
557,
128,
0,
0,
557,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-278.5,
-64,
0
],
"maxPos": [
278.5,
64,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ff64cc16-de5c-4277-942a-a09013f03d96@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "ff64cc16-de5c-4277-942a-a09013f03d96@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "8e43bb5b-a3a7-4e90-a67b-cf30933f4f2f",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8e43bb5b-a3a7-4e90-a67b-cf30933f4f2f@6c48a",
"displayName": "level_progress",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "8e43bb5b-a3a7-4e90-a67b-cf30933f4f2f",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8e43bb5b-a3a7-4e90-a67b-cf30933f4f2f@f9941",
"displayName": "level_progress",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 283,
"height": 35,
"rawWidth": 284,
"rawHeight": 35,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 12,
"borderRight": 12,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-141.5,
-17.5,
0,
141.5,
-17.5,
0,
-141.5,
17.5,
0,
141.5,
17.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
35,
283,
35,
0,
0,
283,
0
],
"nuv": [
0,
0,
0.9964788732394366,
0,
0,
1,
0.9964788732394366,
1
],
"minPos": [
-141.5,
-17.5,
0
],
"maxPos": [
141.5,
17.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "8e43bb5b-a3a7-4e90-a67b-cf30933f4f2f@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "8e43bb5b-a3a7-4e90-a67b-cf30933f4f2f@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "d53ccce8-a7b1-4c7a-85ee-6c7ef360b9b9",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d53ccce8-a7b1-4c7a-85ee-6c7ef360b9b9@6c48a",
"displayName": "level_progress_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "d53ccce8-a7b1-4c7a-85ee-6c7ef360b9b9",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d53ccce8-a7b1-4c7a-85ee-6c7ef360b9b9@f9941",
"displayName": "level_progress_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 341,
"height": 47,
"rawWidth": 341,
"rawHeight": 47,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 12,
"borderRight": 12,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-170.5,
-23.5,
0,
170.5,
-23.5,
0,
-170.5,
23.5,
0,
170.5,
23.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
47,
341,
47,
0,
0,
341,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-170.5,
-23.5,
0
],
"maxPos": [
170.5,
23.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d53ccce8-a7b1-4c7a-85ee-6c7ef360b9b9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "d53ccce8-a7b1-4c7a-85ee-6c7ef360b9b9@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "f3d50dd4-0a79-4d38-8e11-9c7ce927ebba",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f3d50dd4-0a79-4d38-8e11-9c7ce927ebba@6c48a",
"displayName": "money_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "f3d50dd4-0a79-4d38-8e11-9c7ce927ebba",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f3d50dd4-0a79-4d38-8e11-9c7ce927ebba@f9941",
"displayName": "money_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 199,
"height": 32,
"rawWidth": 199,
"rawHeight": 32,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-99.5,
-16,
0,
99.5,
-16,
0,
-99.5,
16,
0,
99.5,
16,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
32,
199,
32,
0,
0,
199,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-99.5,
-16,
0
],
"maxPos": [
99.5,
16,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f3d50dd4-0a79-4d38-8e11-9c7ce927ebba@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "f3d50dd4-0a79-4d38-8e11-9c7ce927ebba@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "71f27df7-92b4-4431-b4b2-9f502f6d1fc4",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "71f27df7-92b4-4431-b4b2-9f502f6d1fc4@6c48a",
"displayName": "name_text",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "71f27df7-92b4-4431-b4b2-9f502f6d1fc4",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "71f27df7-92b4-4431-b4b2-9f502f6d1fc4@f9941",
"displayName": "name_text",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 475,
"height": 85,
"rawWidth": 475,
"rawHeight": 85,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-237.5,
-42.5,
0,
237.5,
-42.5,
0,
-237.5,
42.5,
0,
237.5,
42.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
85,
475,
85,
0,
0,
475,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-237.5,
-42.5,
0
],
"maxPos": [
237.5,
42.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "71f27df7-92b4-4431-b4b2-9f502f6d1fc4@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "71f27df7-92b4-4431-b4b2-9f502f6d1fc4@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "20f477cf-3b6a-4303-ae00-c7ae49c8eb1e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "20f477cf-3b6a-4303-ae00-c7ae49c8eb1e@6c48a",
"displayName": "plus",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "20f477cf-3b6a-4303-ae00-c7ae49c8eb1e",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "20f477cf-3b6a-4303-ae00-c7ae49c8eb1e@f9941",
"displayName": "plus",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 26,
"height": 26,
"rawWidth": 26,
"rawHeight": 26,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-13,
-13,
0,
13,
-13,
0,
-13,
13,
0,
13,
13,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
26,
26,
26,
0,
0,
26,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-13,
-13,
0
],
"maxPos": [
13,
13,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "20f477cf-3b6a-4303-ae00-c7ae49c8eb1e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "20f477cf-3b6a-4303-ae00-c7ae49c8eb1e@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "943769c7-7fd9-4b1a-96c2-e83db4286463",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "943769c7-7fd9-4b1a-96c2-e83db4286463@6c48a",
"displayName": "reward",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "943769c7-7fd9-4b1a-96c2-e83db4286463",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "943769c7-7fd9-4b1a-96c2-e83db4286463@f9941",
"displayName": "reward",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 159,
"height": 27,
"rawWidth": 159,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-79.5,
-13.5,
0,
79.5,
-13.5,
0,
-79.5,
13.5,
0,
79.5,
13.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
27,
159,
27,
0,
0,
159,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-79.5,
-13.5,
0
],
"maxPos": [
79.5,
13.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "943769c7-7fd9-4b1a-96c2-e83db4286463@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "943769c7-7fd9-4b1a-96c2-e83db4286463@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "29c70e48-410b-47fe-a1d9-7122c8f60db2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "29c70e48-410b-47fe-a1d9-7122c8f60db2@6c48a",
"displayName": "select",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "29c70e48-410b-47fe-a1d9-7122c8f60db2",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "29c70e48-410b-47fe-a1d9-7122c8f60db2@f9941",
"displayName": "select",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 27,
"height": 27,
"rawWidth": 27,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-13.5,
-13.5,
0,
13.5,
-13.5,
0,
-13.5,
13.5,
0,
13.5,
13.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
27,
27,
27,
0,
0,
27,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-13.5,
-13.5,
0
],
"maxPos": [
13.5,
13.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "29c70e48-410b-47fe-a1d9-7122c8f60db2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "29c70e48-410b-47fe-a1d9-7122c8f60db2@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "d21d02f7-24f9-4526-aa6e-4e4784fa6e2c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d21d02f7-24f9-4526-aa6e-4e4784fa6e2c@6c48a",
"displayName": "setting",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "d21d02f7-24f9-4526-aa6e-4e4784fa6e2c",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d21d02f7-24f9-4526-aa6e-4e4784fa6e2c@f9941",
"displayName": "setting",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 96,
"height": 96,
"rawWidth": 96,
"rawHeight": 96,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-48,
-48,
0,
48,
-48,
0,
-48,
48,
0,
48,
48,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
96,
96,
96,
0,
0,
96,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-48,
-48,
0
],
"maxPos": [
48,
48,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d21d02f7-24f9-4526-aa6e-4e4784fa6e2c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "d21d02f7-24f9-4526-aa6e-4e4784fa6e2c@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "62c01a4e-e50d-4e4f-baa3-ee574b0bae8c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "62c01a4e-e50d-4e4f-baa3-ee574b0bae8c@6c48a",
"displayName": "star",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "62c01a4e-e50d-4e4f-baa3-ee574b0bae8c",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "62c01a4e-e50d-4e4f-baa3-ee574b0bae8c@f9941",
"displayName": "star",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 48,
"height": 48,
"rawWidth": 48,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-24,
-24,
0,
24,
-24,
0,
-24,
24,
0,
24,
24,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
48,
48,
48,
0,
0,
48,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-24,
-24,
0
],
"maxPos": [
24,
24,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "62c01a4e-e50d-4e4f-baa3-ee574b0bae8c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "62c01a4e-e50d-4e4f-baa3-ee574b0bae8c@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "ca2da25e-bf94-4cdc-97bf-84a40b400b77",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ca2da25e-bf94-4cdc-97bf-84a40b400b77@6c48a",
"displayName": "text_type",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "ca2da25e-bf94-4cdc-97bf-84a40b400b77",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ca2da25e-bf94-4cdc-97bf-84a40b400b77@f9941",
"displayName": "text_type",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 304,
"height": 63,
"rawWidth": 304,
"rawHeight": 63,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-152,
-31.5,
0,
152,
-31.5,
0,
-152,
31.5,
0,
152,
31.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
63,
304,
63,
0,
0,
304,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-152,
-31.5,
0
],
"maxPos": [
152,
31.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ca2da25e-bf94-4cdc-97bf-84a40b400b77@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "ca2da25e-bf94-4cdc-97bf-84a40b400b77@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "57f21ba5-d1f8-4e71-93c7-d8d8cabd9499",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "57f21ba5-d1f8-4e71-93c7-d8d8cabd9499@6c48a",
"displayName": "unselect",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "57f21ba5-d1f8-4e71-93c7-d8d8cabd9499",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "57f21ba5-d1f8-4e71-93c7-d8d8cabd9499@f9941",
"displayName": "unselect",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 33,
"height": 33,
"rawWidth": 33,
"rawHeight": 33,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16.5,
-16.5,
0,
16.5,
-16.5,
0,
-16.5,
16.5,
0,
16.5,
16.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
33,
33,
33,
0,
0,
33,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-16.5,
-16.5,
0
],
"maxPos": [
16.5,
16.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "57f21ba5-d1f8-4e71-93c7-d8d8cabd9499@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "57f21ba5-d1f8-4e71-93c7-d8d8cabd9499@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "8ff4ecbb-0a8f-46a9-bfb3-0bf07864223c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8ff4ecbb-0a8f-46a9-bfb3-0bf07864223c@6c48a",
"displayName": "white_progress",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "8ff4ecbb-0a8f-46a9-bfb3-0bf07864223c",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8ff4ecbb-0a8f-46a9-bfb3-0bf07864223c@f9941",
"displayName": "white_progress",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 283,
"height": 35,
"rawWidth": 284,
"rawHeight": 35,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 12,
"borderRight": 12,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-141.5,
-17.5,
0,
141.5,
-17.5,
0,
-141.5,
17.5,
0,
141.5,
17.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
35,
283,
35,
0,
0,
283,
0
],
"nuv": [
0,
0,
0.9964788732394366,
0,
0,
1,
0.9964788732394366,
1
],
"minPos": [
-141.5,
-17.5,
0
],
"maxPos": [
141.5,
17.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "8ff4ecbb-0a8f-46a9-bfb3-0bf07864223c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "8ff4ecbb-0a8f-46a9-bfb3-0bf07864223c@f9941"
}
}

View File

@ -6,7 +6,7 @@
"atk": 30,
"hp": 300,
"atkspeed": 60,
"exp": 100,
"exp": 5,
"movespeed": 1,
"atkrange": 1,
"atkcooldown": 1,
@ -20,7 +20,7 @@
"atk": 50,
"hp": 500,
"atkspeed": 50,
"exp": 200,
"exp": 6,
"movespeed": 1,
"atkrange": 6,
"atkcooldown": 1,
@ -34,7 +34,7 @@
"atk": 100,
"hp": 1000,
"atkspeed": 30,
"exp": 300,
"exp": 7,
"movespeed": 1,
"atkrange": 6,
"atkcooldown": 1,
@ -48,7 +48,7 @@
"atk": 10,
"hp": 100,
"atkspeed": 40,
"exp": 400,
"exp": 50,
"movespeed": 1,
"atkrange": 6,
"atkcooldown": 1,
@ -62,7 +62,7 @@
"atk": 30,
"hp": 300,
"atkspeed": 40,
"exp": 500,
"exp": 100,
"movespeed": 1,
"atkrange": 1,
"atkcooldown": 1,
@ -76,7 +76,7 @@
"atk": 80,
"hp": 800,
"atkspeed": 30,
"exp": 600,
"exp": 150,
"movespeed": 1,
"atkrange": 6,
"atkcooldown": 1,
@ -90,7 +90,7 @@
"atk": 20,
"hp": 600,
"atkspeed": 30,
"exp": 700,
"exp": 200,
"movespeed": 1,
"atkrange": 6,
"atkcooldown": 1,

View File

@ -0,0 +1,642 @@
[
{
"level": 1,
"atkratio": 1,
"hpratio": 1,
"expratio": 1,
"goldcollect": 10,
"formations": "F2"
},
{
"level": 2,
"atkratio": 2,
"hpratio": 3,
"expratio": 4,
"goldcollect": 20,
"formations": "F3"
},
{
"level": 3,
"atkratio": 3,
"hpratio": 4,
"expratio": 5,
"goldcollect": 30,
"formations": "F4"
},
{
"level": 4,
"atkratio": 4,
"hpratio": 5,
"expratio": 6,
"goldcollect": 40,
"formations": "F5"
},
{
"level": 5,
"atkratio": 5,
"hpratio": 6,
"expratio": 7,
"goldcollect": 50,
"formations": "F60"
},
{
"level": 6,
"atkratio": 6,
"hpratio": 7,
"expratio": 8,
"goldcollect": 50,
"formations": "F7"
},
{
"level": 7,
"atkratio": 7,
"hpratio": 8,
"expratio": 9,
"goldcollect": 50,
"formations": "F8"
},
{
"level": 8,
"atkratio": 8,
"hpratio": 9,
"expratio": 10,
"goldcollect": 50,
"formations": "F9"
},
{
"level": 9,
"atkratio": 9,
"hpratio": 10,
"expratio": 11,
"goldcollect": 50,
"formations": "F10"
},
{
"level": 10,
"atkratio": 10,
"hpratio": 11,
"expratio": 12,
"goldcollect": 50,
"formations": "F60"
},
{
"level": 11,
"atkratio": 11,
"hpratio": 12,
"expratio": 13,
"goldcollect": 60,
"formations": "F12"
},
{
"level": 12,
"atkratio": 12,
"hpratio": 13,
"expratio": 14,
"goldcollect": 60,
"formations": "F13"
},
{
"level": 13,
"atkratio": 13,
"hpratio": 14,
"expratio": 15,
"goldcollect": 60,
"formations": "F14"
},
{
"level": 14,
"atkratio": 14,
"hpratio": 15,
"expratio": 16,
"goldcollect": 60,
"formations": "F15"
},
{
"level": 15,
"atkratio": 15,
"hpratio": 16,
"expratio": 17,
"goldcollect": 60,
"formations": "F60"
},
{
"level": 16,
"atkratio": 16,
"hpratio": 17,
"expratio": 18,
"goldcollect": 70,
"formations": "F17"
},
{
"level": 17,
"atkratio": 17,
"hpratio": 18,
"expratio": 19,
"goldcollect": 70,
"formations": "F18"
},
{
"level": 18,
"atkratio": 18,
"hpratio": 19,
"expratio": 20,
"goldcollect": 70,
"formations": "F19"
},
{
"level": 19,
"atkratio": 19,
"hpratio": 20,
"expratio": 21,
"goldcollect": 70,
"formations": "F20"
},
{
"level": 20,
"atkratio": 20,
"hpratio": 21,
"expratio": 22,
"goldcollect": 70,
"formations": "F60"
},
{
"level": 21,
"atkratio": 21,
"hpratio": 22,
"expratio": 23,
"goldcollect": 80,
"formations": "F22"
},
{
"level": 22,
"atkratio": 22,
"hpratio": 23,
"expratio": 24,
"goldcollect": 80,
"formations": "F23"
},
{
"level": 23,
"atkratio": 23,
"hpratio": 24,
"expratio": 25,
"goldcollect": 80,
"formations": "F24"
},
{
"level": 24,
"atkratio": 24,
"hpratio": 25,
"expratio": 26,
"goldcollect": 80,
"formations": "F25"
},
{
"level": 25,
"atkratio": 25,
"hpratio": 26,
"expratio": 27,
"goldcollect": 80,
"formations": "F60"
},
{
"level": 26,
"atkratio": 26,
"hpratio": 27,
"expratio": 28,
"goldcollect": 90,
"formations": "F27"
},
{
"level": 27,
"atkratio": 27,
"hpratio": 28,
"expratio": 29,
"goldcollect": 90,
"formations": "F28"
},
{
"level": 28,
"atkratio": 28,
"hpratio": 29,
"expratio": 30,
"goldcollect": 90,
"formations": "F29"
},
{
"level": 29,
"atkratio": 29,
"hpratio": 30,
"expratio": 31,
"goldcollect": 90,
"formations": "F30"
},
{
"level": 30,
"atkratio": 30,
"hpratio": 31,
"expratio": 32,
"goldcollect": 90,
"formations": "F60"
},
{
"level": 31,
"atkratio": 31,
"hpratio": 32,
"expratio": 33,
"goldcollect": 100,
"formations": "F32"
},
{
"level": 32,
"atkratio": 32,
"hpratio": 33,
"expratio": 34,
"goldcollect": 100,
"formations": "F33"
},
{
"level": 33,
"atkratio": 33,
"hpratio": 34,
"expratio": 35,
"goldcollect": 100,
"formations": "F34"
},
{
"level": 34,
"atkratio": 34,
"hpratio": 35,
"expratio": 36,
"goldcollect": 100,
"formations": "F35"
},
{
"level": 35,
"atkratio": 35,
"hpratio": 36,
"expratio": 37,
"goldcollect": 100,
"formations": "F60"
},
{
"level": 36,
"atkratio": 36,
"hpratio": 37,
"expratio": 38,
"goldcollect": 110,
"formations": "F37"
},
{
"level": 37,
"atkratio": 37,
"hpratio": 38,
"expratio": 39,
"goldcollect": 110,
"formations": "F38"
},
{
"level": 38,
"atkratio": 38,
"hpratio": 39,
"expratio": 40,
"goldcollect": 110,
"formations": "F39"
},
{
"level": 39,
"atkratio": 39,
"hpratio": 40,
"expratio": 41,
"goldcollect": 110,
"formations": "F40"
},
{
"level": 40,
"atkratio": 40,
"hpratio": 41,
"expratio": 42,
"goldcollect": 110,
"formations": "F60"
},
{
"level": 41,
"atkratio": 41,
"hpratio": 42,
"expratio": 43,
"goldcollect": 120,
"formations": "F42"
},
{
"level": 42,
"atkratio": 42,
"hpratio": 43,
"expratio": 44,
"goldcollect": 120,
"formations": "F43"
},
{
"level": 43,
"atkratio": 43,
"hpratio": 44,
"expratio": 45,
"goldcollect": 120,
"formations": "F44"
},
{
"level": 44,
"atkratio": 44,
"hpratio": 45,
"expratio": 46,
"goldcollect": 120,
"formations": "F45"
},
{
"level": 45,
"atkratio": 45,
"hpratio": 46,
"expratio": 47,
"goldcollect": 120,
"formations": "F60"
},
{
"level": 46,
"atkratio": 46,
"hpratio": 47,
"expratio": 48,
"goldcollect": 130,
"formations": "F47"
},
{
"level": 47,
"atkratio": 47,
"hpratio": 48,
"expratio": 49,
"goldcollect": 130,
"formations": "F48"
},
{
"level": 48,
"atkratio": 48,
"hpratio": 49,
"expratio": 50,
"goldcollect": 130,
"formations": "F49"
},
{
"level": 49,
"atkratio": 49,
"hpratio": 50,
"expratio": 51,
"goldcollect": 130,
"formations": "F50"
},
{
"level": 50,
"atkratio": 50,
"hpratio": 51,
"expratio": 52,
"goldcollect": 130,
"formations": "F60"
},
{
"level": 51,
"atkratio": 51,
"hpratio": 52,
"expratio": 53,
"goldcollect": 140,
"formations": "F52"
},
{
"level": 52,
"atkratio": 52,
"hpratio": 53,
"expratio": 54,
"goldcollect": 140,
"formations": "F53"
},
{
"level": 53,
"atkratio": 53,
"hpratio": 54,
"expratio": 55,
"goldcollect": 140,
"formations": "F3"
},
{
"level": 54,
"atkratio": 54,
"hpratio": 55,
"expratio": 56,
"goldcollect": 140,
"formations": "F4"
},
{
"level": 55,
"atkratio": 55,
"hpratio": 56,
"expratio": 57,
"goldcollect": 140,
"formations": "F60"
},
{
"level": 56,
"atkratio": 56,
"hpratio": 57,
"expratio": 58,
"goldcollect": 150,
"formations": "F6"
},
{
"level": 57,
"atkratio": 57,
"hpratio": 58,
"expratio": 59,
"goldcollect": 150,
"formations": "F7"
},
{
"level": 58,
"atkratio": 58,
"hpratio": 59,
"expratio": 60,
"goldcollect": 150,
"formations": "F8"
},
{
"level": 59,
"atkratio": 59,
"hpratio": 60,
"expratio": 61,
"goldcollect": 150,
"formations": "F9"
},
{
"level": 60,
"atkratio": 60,
"hpratio": 61,
"expratio": 62,
"goldcollect": 150,
"formations": "F60"
},
{
"level": 61,
"atkratio": 61,
"hpratio": 62,
"expratio": 63,
"goldcollect": 160,
"formations": "F11"
},
{
"level": 62,
"atkratio": 62,
"hpratio": 63,
"expratio": 64,
"goldcollect": 160,
"formations": "F12"
},
{
"level": 63,
"atkratio": 63,
"hpratio": 64,
"expratio": 65,
"goldcollect": 160,
"formations": "F13"
},
{
"level": 64,
"atkratio": 64,
"hpratio": 65,
"expratio": 66,
"goldcollect": 160,
"formations": "F14"
},
{
"level": 65,
"atkratio": 65,
"hpratio": 66,
"expratio": 67,
"goldcollect": 160,
"formations": "F60"
},
{
"level": 66,
"atkratio": 66,
"hpratio": 67,
"expratio": 68,
"goldcollect": 170,
"formations": "F16"
},
{
"level": 67,
"atkratio": 67,
"hpratio": 68,
"expratio": 69,
"goldcollect": 170,
"formations": "F17"
},
{
"level": 68,
"atkratio": 68,
"hpratio": 69,
"expratio": 70,
"goldcollect": 170,
"formations": "F18"
},
{
"level": 69,
"atkratio": 69,
"hpratio": 70,
"expratio": 71,
"goldcollect": 170,
"formations": "F19"
},
{
"level": 70,
"atkratio": 70,
"hpratio": 71,
"expratio": 72,
"goldcollect": 170,
"formations": "F60"
},
{
"level": 71,
"atkratio": 71,
"hpratio": 72,
"expratio": 73,
"goldcollect": 180,
"formations": "F21"
},
{
"level": 72,
"atkratio": 72,
"hpratio": 73,
"expratio": 74,
"goldcollect": 180,
"formations": "F22"
},
{
"level": 73,
"atkratio": 73,
"hpratio": 74,
"expratio": 75,
"goldcollect": 180,
"formations": "F23"
},
{
"level": 74,
"atkratio": 74,
"hpratio": 75,
"expratio": 76,
"goldcollect": 180,
"formations": "F24"
},
{
"level": 75,
"atkratio": 75,
"hpratio": 76,
"expratio": 77,
"goldcollect": 180,
"formations": "F60"
},
{
"level": 76,
"atkratio": 76,
"hpratio": 77,
"expratio": 78,
"goldcollect": 190,
"formations": "F16"
},
{
"level": 77,
"atkratio": 77,
"hpratio": 78,
"expratio": 79,
"goldcollect": 190,
"formations": "F17"
},
{
"level": 78,
"atkratio": 78,
"hpratio": 79,
"expratio": 80,
"goldcollect": 190,
"formations": "F18"
},
{
"level": 79,
"atkratio": 79,
"hpratio": 80,
"expratio": 81,
"goldcollect": 190,
"formations": "F19"
},
{
"level": 80,
"atkratio": 80,
"hpratio": 81,
"expratio": 82,
"goldcollect": 190,
"formations": "F60"
}
]

View File

@ -0,0 +1,11 @@
{
"ver": "2.0.1",
"importer": "json",
"imported": true,
"uuid": "368a5ad4-9df4-4cb7-b81c-fd781f82fb90",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

File diff suppressed because it is too large Load Diff

View File

@ -4,35 +4,45 @@ import { GameGlobalData } from '../global/GameGlobalData';
import { Button } from 'cc';
import { EGAME_STATE } from '../config/GameDefine';
import { director } from 'cc';
import { UmStorageManager } from '../../../cc-common/cc-util/UmStorageManager';
import { Label } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('LayoutDataConfig')
export class LayoutDataConfig extends Component {
@property(Button) btnOk: Button = null!;
@property(Button) btnCancel: Button = null!;
@property(Button) btnClearDataSaver: Button = null!;
@property(Label) txtNotice: Label = null!;
@property(ItemDataConfig) listItems: ItemDataConfig[] = [];
beforeState = EGAME_STATE.WAIT;
protected onLoad(): void {
this.btnCancel.node.on(Button.EventType.CLICK, this.onCancel, this);
this.btnOk.node.on(Button.EventType.CLICK, this.onOk, this);
this.btnClearDataSaver.node.on(Button.EventType.CLICK, this.onClearDataSaver, this);
}
onEnable()
{
this.beforeState = GameGlobalData.Instance.gameState;
GameGlobalData.Instance.changeState(EGAME_STATE.WAIT);
var currentHeroData = GameGlobalData.Instance.heroData.getHeroData();
this.txtNotice.string = "";
this.listItems[0].setData(currentHeroData.shooting.AtkRange);
this.listItems[1].setData(currentHeroData.shooting.AtkCoolDown);
this.listItems[2].setData(currentHeroData.shooting.AtkSpeed);
this.listItems[3].setData(currentHeroData.shooting.Damage);
this.listItems[4].setData(currentHeroData.hp);
this.listItems[5].setData(currentHeroData.manaRecoveryTime);
// var currentHeroData = GameGlobalData.Instance.heroData.getHeroData();
// this.listItems[0].setData(currentHeroData.shooting.AtkRange);
// this.listItems[1].setData(currentHeroData.shooting.AtkCoolDown);
// this.listItems[2].setData(currentHeroData.shooting.AtkSpeed);
// this.listItems[3].setData(currentHeroData.shooting.Damage);
// this.listItems[4].setData(currentHeroData.hp);
// this.listItems[5].setData(currentHeroData.manaRecoveryTime);
}
protected onDisable(): void {
GameGlobalData.Instance.changeState(EGAME_STATE.PLAY);
GameGlobalData.Instance.changeState(this.beforeState);
}
onCancel()
@ -42,22 +52,30 @@ export class LayoutDataConfig extends Component {
onOk()
{
var heroData = GameGlobalData.Instance.heroData.getHeroData();
heroData.shooting.AtkRange = this.listItems[0].getData();
// var heroData = GameGlobalData.Instance.heroData.getHeroData();
// heroData.shooting.AtkRange = this.listItems[0].getData();
// heroData.shooting.AtkRange = this.listItems[0].getData();
// heroData.shooting.AtkCoolDown = this.listItems[1].getData();
// heroData.shooting.AtkSpeed = this.listItems[2].getData();
// heroData.shooting.Damage = this.listItems[3].getData();
// heroData.hp = this.listItems[4].getData();
// heroData.manaRecoveryTime = this.listItems[5].getData();
// GameGlobalData.Instance.heroData.setHeroDara(heroData);
heroData.shooting.AtkRange = this.listItems[0].getData();
heroData.shooting.AtkCoolDown = this.listItems[1].getData();
heroData.shooting.AtkSpeed = this.listItems[2].getData();
heroData.shooting.Damage = this.listItems[3].getData();
heroData.hp = this.listItems[4].getData();
heroData.manaRecoveryTime = this.listItems[5].getData();
GameGlobalData.Instance.heroData.setHeroDara(heroData);
this.node.setNodeActive(false);
GameGlobalData.Instance.newGame();
}
onClearDataSaver()
{
UmStorageManager.instance.removeAllKey();
this.txtNotice.string = "Motice: " + "Clear Data Saver => Done";
}
}

View File

@ -11,6 +11,7 @@ export class GameDataConfig extends Component {
@property(JsonAsset) enemyAsset: JsonAsset = null!;
@property(JsonAsset) bossAsset: JsonAsset = null!;
@property(JsonAsset) activeSkillAsset: JsonAsset = null!;
@property(JsonAsset) levelDesign: JsonAsset = null!;
activeSkillDataConfigMap = {};
enemyDataConfigMap = {};
@ -113,6 +114,8 @@ export class GameDataConfig extends Component {
protected start(): void {
UmLog.log("hero json => ", this.getHeroDataByLevel(1));
UmLog.log("leveldesign json => ", this.getLevelDesignByLevel(1).goldcollect);
}
public getHeroDataByLevel(level: number): any
@ -144,6 +147,12 @@ export class GameDataConfig extends Component {
public getBossDataConfigById(bossId: string) {
return this.bossDataConfigMap[bossId];
}
public getLevelDesignByLevel(level: number): LevelDesignInfo
{
var result: LevelDesignInfo = JSON.parse(JSON.stringify(this.levelDesign.json[level - 1]));
return result;
}
}
@ -164,3 +173,13 @@ export interface StageInfo
creep: number;
boos: number;
}
export interface LevelDesignInfo {
level: number;
atkratio: number;
hpratio: number;
expratio: number;
goldcollect: number;
formations: string;
reward: string;
}

View File

@ -0,0 +1,51 @@
import { _decorator, Component, Node } from 'cc';
import { UmStorageManager } from '../../../cc-common/cc-util/UmStorageManager';
import { HeroDataInfo } from '../global/GameInterface';
import { UmLog } from '../../../cc-common/cc-util/UmLog';
import { CCFloat } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('UserDataSaver')
export class UserDataSaver extends Component {
@property(CCFloat) check;
heroDataInfo: HeroDataInfo = null;
public level: number;
private level_key = "level";
public expInLevel: number;
private expInlevel_key = "expInlevel";
public expAllTime: number;
private expAllTime_key = "expAllTime";
public gold: number;
private gold_key = "gold"
public active_skill: string;
private active_skill_key = "active_skill";
getKeySaver(key: string)
{
return "UserDataSaver_" + key;
}
public loadData()
{
this.level = UmStorageManager.instance.getNumberByKey(this.getKeySaver(this.level_key), 1);
this.expInLevel = UmStorageManager.instance.getNumberByKey(this.getKeySaver(this.expInlevel_key), 0);
this.expAllTime = UmStorageManager.instance.getNumberByKey(this.getKeySaver(this.expAllTime_key), 0);
this.gold = UmStorageManager.instance.getNumberByKey(this.getKeySaver(this.gold_key), 0);
this.active_skill = UmStorageManager.instance.getStringByKey(this.getKeySaver(this.active_skill_key), "");
}
public saveData()
{
UmStorageManager.instance.setNumberByKey(this.getKeySaver(this.level_key), this.level);
UmStorageManager.instance.setNumberByKey(this.getKeySaver(this.expInlevel_key), this.expInLevel);
UmStorageManager.instance.setNumberByKey(this.getKeySaver(this.expAllTime_key), this.expAllTime);
UmStorageManager.instance.setStringByKey(this.getKeySaver(this.active_skill_key), this.active_skill);
UmStorageManager.instance.setNumberByKey(this.getKeySaver(this.gold_key), this.gold);
}
}

View File

@ -0,0 +1 @@
{"ver":"4.0.23","importer":"typescript","imported":true,"uuid":"9af0b358-a85c-4e8c-8eb3-064d6042818c","files":[],"subMetas":{},"userData":{}}

View File

@ -10,7 +10,6 @@ const { ccclass, property } = _decorator;
@ccclass('GamePlayManager')
export class GamePlayManager extends Component {
hero: HeroBase = null!;
protected onLoad(): void {
UmClientEvent.on(GameDefine.EVENT_CHECK_WIN, this.checkWinAfterKilledEnemy.bind(this));
}
@ -20,7 +19,7 @@ export class GamePlayManager extends Component {
}
start() {
this.changeState(EGAME_STATE.PLAY);
// this.changeState(EGAME_STATE.PLAY);
}
changeState(state: EGAME_STATE) {
@ -31,9 +30,17 @@ export class GamePlayManager extends Component {
return this.hero;
}
checkWinAfterKilledEnemy(enemy: string)
checkWinAfterKilledEnemy(enemy: string, expCollect: number)
{
// UmLog.warn("checkWinAfterKilledEnemy => ", enemy);
UmLog.warn("checkWinAfterKilledEnemy => ", enemy, expCollect);
if (!Number.isNaN(expCollect))
{
GameGlobalData.Instance.expCollected += expCollect;
LayoutManager.instance.GameUI.updateExpProgressBar(GameGlobalData.Instance.expCollected);
}
var killedData = GameGlobalData.Instance.killedData;
if (enemy == GameDefine.ENEMY_CREEP)
killedData.creep++;
@ -48,12 +55,21 @@ export class GamePlayManager extends Component {
{
// UmLog.log("checkWinAfterKilledEnemy => ", "CHECK BOSS");
if (killedData.boss >= stageData.boss) {
LayoutManager.instance.GameUI.showGameWin();
GameGlobalData.Instance.changeState(EGAME_STATE.FINISH);
setTimeout(() => {
LayoutManager.instance.GameUI.showGameWin(this.getRewardData());
}, 2000);
}
else {
UmClientEvent.dispatchEvent(GameDefine.EVENT_INIT_MAP, GameDefine.ENEMY_BOSS);
}
}
}
getRewardData()
{
var levelDataConfig = GameGlobalData.Instance.getLevelDesignConfigData();
return { exp: GameGlobalData.Instance.expCollected, gold: levelDataConfig.goldcollect, reward: levelDataConfig.reward };
}
}

View File

@ -19,7 +19,7 @@ export class Boss extends BossBase {
{
if (this.isCheckedWin) return;
this.isCheckedWin = true;
UmClientEvent.dispatchEvent(GameDefine.EVENT_CHECK_WIN, GameDefine.ENEMY_BOSS);
UmClientEvent.dispatchEvent(GameDefine.EVENT_CHECK_WIN, GameDefine.ENEMY_BOSS, this.dataConfig?.Exp);
}
}

View File

@ -123,7 +123,7 @@ export class CreepBase extends EnemyBase {
checkWin() {
if (this.isCheckedWin) return;
this.isCheckedWin = true;
UmClientEvent.dispatchEvent(GameDefine.EVENT_CHECK_WIN, GameDefine.ENEMY_CREEP);
UmClientEvent.dispatchEvent(GameDefine.EVENT_CHECK_WIN, GameDefine.ENEMY_CREEP, this.dataConfig?.Exp);
}
protected update(dt: number): void {

View File

@ -126,10 +126,6 @@ export class EnemyBase extends Component {
this.sensor.offContact();
}
get enemyData(): EnemyDataInfo {
return GameGlobalData.Instance.enemyData.getData();
}
loadDataAndDisplay()
{
LayoutManager.instance.GameUI.getBossHPBar().setMaxHPBar(100);

View File

@ -24,7 +24,7 @@ export class HeroMana extends Component {
UmClientEvent.on(GameDefine.EVENT_END_USE_ACTIVE_SKILL, this.onEndUseActiveSkill.bind(this));
// UmClientEvent.on(GameDefine.EVENT_START_USE_SPECIAL_SKILL, this.onStartUseSkillSpecial.bind(this));
this.setManaRecoveryTime(GameGlobalData.Instance.heroData.heroDataInfo.manaRecoveryTime);
this.setManaRecoveryTime(GameGlobalData.Instance.manaToTime(GameGlobalData.Instance.heroDataConfig.ManaMax));
}
protected onDestroy(): void {

View File

@ -33,7 +33,7 @@ export class MapManager extends Component {
onGameStart()
{
GameGlobalData.Instance.prepareDataOnStartStage();
GameGlobalData.Instance.prepareDataOnStartNewStage();
this.initMapAtStartStage();
}
@ -80,7 +80,7 @@ export class MapManager extends Component {
var boss = instantiate(GameAssets.instance.bossPrefab);
boss.parent = this.gameplaySpaceLayout;
var data = GameGlobalData.Instance.gameDataConfig.getBossDataConfigById("B2");
var data = GameGlobalData.Instance.getBossDataConfigAfterRaitoById("B2");
boss.getComponent(EnemyBase)?.setEnemyData(data);
}
@ -103,7 +103,7 @@ export class MapManager extends Component {
var creep = instantiate(GameAssets.instance.creepPrefab);
creep.parent = this.gameplaySpaceLayout;
// var data = { enemyType: 0, attackType: 0, hp: 75, dmg: 20 };
var data = GameGlobalData.Instance.gameDataConfig.getEnemyDataConfigById(`E${UmUtil.getRandomInt(1,3)}`);
var data = GameGlobalData.Instance.getEnemyDataConfigAfterRatioById(`E${UmUtil.getRandomInt(1,3)}`);
creep.getComponent(CreepBase)?.setEnemyData(data);
creep.name = data.Name_Id + "_" + (count++).toString();
creep.position = new Vec3(-233, 104, 0);
@ -113,7 +113,7 @@ export class MapManager extends Component {
var creep = instantiate(GameAssets.instance.creepPrefab);
creep.parent = this.gameplaySpaceLayout;
// var data = { enemyType: 1, attackType: 1, hp: 50, dmg: 5 };
var data = GameGlobalData.Instance.gameDataConfig.getEnemyDataConfigById(`E${UmUtil.getRandomInt(4, 6)}`);
var data = GameGlobalData.Instance.getEnemyDataConfigAfterRatioById(`E${UmUtil.getRandomInt(4, 6)}`);
creep.getComponent(CreepBase)?.setEnemyData(data);
creep.position = new Vec3(290, 310, 0);
creep.name = data.Name_Id + "_" + (count++).toString();
@ -123,7 +123,7 @@ export class MapManager extends Component {
var creep = instantiate(GameAssets.instance.creepPrefab);
creep.parent = this.gameplaySpaceLayout;
// var data = { enemyType: 0, attackType: 0, hp: 75, dmg: 20 };
var data = GameGlobalData.Instance.gameDataConfig.getEnemyDataConfigById(`E${UmUtil.getRandomInt(1, 3)}`);
var data = GameGlobalData.Instance.getEnemyDataConfigAfterRatioById(`E${UmUtil.getRandomInt(1, 3)}`);
creep.getComponent(CreepBase)?.setEnemyData(data);
creep.position = new Vec3(-211, 480, 0);
creep.name = data.Name_Id + "_" + (count++).toString();

View File

@ -60,7 +60,7 @@ export class SkillSpecialManager extends Component {
addListSkillAvailable()
{
let listSkillAvailable = GameGlobalData.Instance.heroData.heroDataInfo.skillSpecial;
let listSkillAvailable = GameGlobalData.Instance.userDataSaver.active_skill;
if (!listSkillAvailable?.length) return;
for (var i = 0; i < listSkillAvailable.length; i++)

View File

@ -5,19 +5,28 @@ import { EGAME_STATE, GameDefine } from '../config/GameDefine';
import { Button } from 'cc';
import { UmClientEvent } from '../../../cc-common/cc-util/UmOneToMultiListener';
import { director } from 'cc';
import { Label } from 'cc';
import { GameWinLayout } from './GameWinLayout';
import { LevelUpLayout } from './LevelUpLayout';
import { UmLog } from '../../../cc-common/cc-util/UmLog';
const { ccclass, property } = _decorator;
@ccclass('GameUI')
export class GameUI extends Component {
@property(Node) gameWinPopup: Node = null!;
@property(Node) gameLosePopup: Node = null!;
@property(Node) levelUpLayout: Node = null!;
@property(Node) topLayout: Node = null!;
@property(Node) bottomLayout: Node = null!;
@property(HPBar) bossHPBar: HPBar = null!;
@property(HPBar) heroHPBar: HPBar = null!;
@property(HPBar) expBar: HPBar = null!;
@property(Button) btnConfig: Button = null!;
@property(Button) btnStart: Button = null!;
@property(Node) layoutConfig: Node = null!;
@property(Label) expLevelTitle: Label = null!;
protected onLoad(): void {
this.btnConfig?.node.on(Button.EventType.CLICK, this.showLayoutConfig, this);
@ -27,8 +36,12 @@ export class GameUI extends Component {
protected start(): void {
GameGlobalData.Instance.changeState(EGAME_STATE.INIT);
this.btnStart?.node.setNodeActive(true);
this.gameWinPopup.setNodeActive(false);
this.gameLosePopup.setNodeActive(false);
this.levelUpLayout.setNodeActive(false);
this.setTopBottomLayoutActive(false);
this.getBossHPBar().node.setNodeActive(false);
}
public getBossHPBar(): HPBar
@ -40,15 +53,26 @@ export class GameUI extends Component {
return this.heroHPBar;
}
public getExpbar(): HPBar {
return this.expBar;
}
public setExpLevelTitle(content: string)
{
if (!this.expLevelTitle)
return;
this.expLevelTitle.string = content;
}
private onBtnStartClicked(btn: Button)
{
this.btnStart?.node.setNodeActive(false);
this.setTopBottomLayoutActive(true);
UmClientEvent.dispatchEvent(GameDefine.EVENT_START_GAME);
// setTimeout(() => {
// GameGlobalData.Instance.newGame();
// }, 1);
this.displayStatsDataOnStartGame();
UmClientEvent.dispatchEvent(GameDefine.EVENT_START_GAME);
}
@ -63,6 +87,21 @@ export class GameUI extends Component {
this.layoutConfig?.setNodeActive(true);
}
public displayStatsDataOnStartGame()
{
var expLevel = GameGlobalData.Instance.getExpInlevelNeed();
var level = GameGlobalData.Instance.level;
this.setExpLevelTitle(`Exp Level ${level}`);
this.getExpbar().setProgressValue(GameGlobalData.Instance.userDataSaver.expInLevel, expLevel);
}
public updateExpProgressBar(expCollectRunTime: number)
{
var currentExp = expCollectRunTime + GameGlobalData.Instance.userDataSaver.expInLevel;
// UmLog.log("updateExpProgressBar => ", currentExp, GameGlobalData.Instance.getExpInlevelNeed());
this.getExpbar().setProgressValue(currentExp, GameGlobalData.Instance.getExpInlevelNeed());
}
public showGameLose()
{
@ -70,10 +109,30 @@ export class GameUI extends Component {
this.gameLosePopup.setNodeActive(true);
}
public showGameWin()
public showGameWin(rewardData)
{
GameGlobalData.Instance.changeState(EGAME_STATE.FINISH);
this.gameWinPopup.setNodeActive(true);
this.gameWinPopup.getComponent(GameWinLayout)?.showWin(rewardData, () => {
this.checkLevelUp()
});
}
checkLevelUp()
{
UmLog.log("checkLevelUp");
if (!GameGlobalData.Instance.checkLevelUp())
{
GameGlobalData.Instance.newGame();
return;
}
UmLog.log("show Level Up");
var levelAfter = GameGlobalData.Instance.level;
this.levelUpLayout.setNodeActive(true);
this.levelUpLayout.getComponent(LevelUpLayout).showLevelUp(levelAfter - 1, levelAfter, () => {
this.checkLevelUp()
});
}
}

View File

@ -1,18 +1,47 @@
import { Button, director } from 'cc';
import { _decorator, Component, Node } from 'cc';
import { GameGlobalData } from '../global/GameGlobalData';
import { Label } from 'cc';
import { UmLog } from '../../../cc-common/cc-util/UmLog';
const { ccclass, property } = _decorator;
@ccclass('GameWinLayout')
export class GameWinLayout extends Component {
@property(Button) btnPlay: Button = null!;
@property(Label) txtLevel: Label = null!;
@property(Label) txtExp: Label = null!;
@property(Label) txtCoin: Label = null!;
@property(Label) txtReward: Label = null!;
public onGameWinClose: (() => void) | undefined;
protected onLoad(): void {
this.btnPlay?.node.on(Button.EventType.CLICK, this.onBtnReplayClicked, this);
}
onBtnReplayClicked() {
GameGlobalData.Instance.newGame();
this.onGameWinClose?.();
}
showWin(rewardData, callback = null) {
UmLog.log("Show Game Win => ", JSON.stringify(rewardData));
this.onGameWinClose = callback;
this.txtLevel.string = `Reward Level ${GameGlobalData.Instance.level}`;
var exp = rewardData.exp || 0;
this.txtExp.string = `Exp: ${exp}`;
var gold = rewardData.gold || 0;
this.txtCoin.string = `Gold: ${gold}`;
this.txtReward.string = `Reward: ${rewardData.reward || ""}`;
var userDataSaver = GameGlobalData.Instance.userDataSaver;
userDataSaver.expInLevel += exp;
userDataSaver.expAllTime += exp;
userDataSaver.gold += gold;
userDataSaver.saveData();
}
}

View File

@ -3,18 +3,35 @@ import { Sprite } from 'cc';
import { _decorator, Component, Node } from 'cc';
import { UmLog } from '../../../cc-common/cc-util/UmLog';
import { Label } from 'cc';
import { Enum } from 'cc';
import { CCFloat } from 'cc';
import { size } from 'cc';
import { Size } from 'cc';
const { ccclass, property } = _decorator;
export enum PROGRESS_TYPE {
FILL = 0,
SLICED_HOR = 1,
SLICED_VER = 2
}
@ccclass('HPBar')
export class HPBar extends Component {
@property({ type: Enum(PROGRESS_TYPE) }) public progressType: PROGRESS_TYPE = PROGRESS_TYPE.FILL;
@property(Sprite) barProgress: Sprite = null!;
@property(Label) valueTxt: Label = null!;
@property(CCFloat) switchColorValue = 0.4;
@property(Color) public normalColor: Color = new Color(255, 255, 255, 255);
@property(Color) public warningColor: Color = new Color(255, 255, 255, 255);
maxHP = 1000;
currentHP = this.maxHP;
progressSize: Size;
protected onLoad(): void {
this.progressSize = new Size(this.barProgress?.node?.getContentSize());
}
public setMaxHPBar(maxHP: number, isResetHP = true) {
this.maxHP = maxHP;
@ -40,11 +57,36 @@ export class HPBar extends Component {
this.updateProgress();
}
setProgressValue(current, max)
{
this.maxHP = max;
this.currentHP = Math.max(0, current);
this.currentHP = Math.min(this.maxHP, this.currentHP);
this.updateProgress();
}
updateProgress() {
var progress = this.currentHP / this.maxHP;
progress = Math.min(1, progress);
this.barProgress.fillRange = progress;
this.barProgress.setColor(progress > 0.4 ? this.normalColor : this.warningColor);
this.barProgress.setColor(progress > this.switchColorValue ? this.normalColor : this.warningColor);
switch (this.progressType)
{
case PROGRESS_TYPE.FILL:
this.barProgress.fillRange = progress;
break;
case PROGRESS_TYPE.SLICED_HOR:
this.barProgress?.node?.setContentSize(new Size(this.progressSize.x * progress, this.progressSize.y));
break;
case PROGRESS_TYPE.SLICED_VER:
this.barProgress?.node?.setContentSize(new Size(this.progressSize.x, this.progressSize.y * progress));
break;
}
if (this.valueTxt)
this.valueTxt.string = `${this.currentHP.roundDigits(0).toString()}/${this.maxHP.roundDigits(0).toString()}`;
}

View File

@ -0,0 +1,30 @@
import { Button, director } from 'cc';
import { _decorator, Component, Node } from 'cc';
import { GameGlobalData } from '../global/GameGlobalData';
import { Label } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('LevelUpLayout')
export class LevelUpLayout extends Component {
@property(Button) btnClose: Button = null!;
@property(Label) txtLevelBefore: Label = null!;
@property(Label) txtLevelAfter: Label = null!;
public onLevelUpClose: (() => void) | undefined;
protected onLoad(): void {
this.btnClose?.node.on(Button.EventType.CLICK, this.onBtnCloseClicked, this);
}
onBtnCloseClicked() {
this.node.setNodeActive(false);
this.onLevelUpClose?.();
}
showLevelUp(levelBefore, levelAfter, callback = null) {
this.txtLevelBefore.string = `Level \n${levelBefore}`;
this.txtLevelAfter.string = `Level \n${levelAfter}`;
this.onLevelUpClose = callback;
}
}

View File

@ -0,0 +1 @@
{"ver":"4.0.23","importer":"typescript","imported":true,"uuid":"d46d6b00-9657-4f73-93a3-646f4b0cd9e7","files":[],"subMetas":{},"userData":{}}

View File

@ -5,32 +5,37 @@ import { EnemyData } from '../game_data/EnemyData';
import { director } from 'cc';
import { Tween } from 'cc';
import { UmClientEvent } from '../../../cc-common/cc-util/UmOneToMultiListener';
import { ActiveSkillData, GameDataConfig } from '../game_data/GameDataConfig';
import { ActiveSkillData, GameDataConfig, LevelDesignInfo } from '../game_data/GameDataConfig';
import { UmLog } from '../../../cc-common/cc-util/UmLog';
import { Vec3 } from 'cc';
import { UserDataSaver } from '../game_data/UserDataSaver';
import { CCClass } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('GameGlobalData')
export class GameGlobalData extends Component {
@property(HeroData) public heroData: HeroData = null!;
@property(EnemyData) public enemyData: EnemyData = null!;
@property(UserDataSaver) public userDataSaver: UserDataSaver = null!;
@property(GameDataConfig) public gameDataConfig: GameDataConfig = null!;
public static Instance: GameGlobalData = null;
gameState = EGAME_STATE.INIT;
public gameState = EGAME_STATE.INIT;
public isHeroManaReady: boolean = false;
public currentActiveSkill: number = 0;
public lastHeroMoveDirection: Vec3 = new Vec3(0, 1, 0);
public level = 1;
private levelDesignConfigData: LevelDesignInfo = null;
public expCollected = 0;
public killedData = {creep: 0, boss: 0};
public killedData = { creep: 0, boss: 0 };
protected onLoad(): void {
GameGlobalData.Instance = this;
this.heroData.loadData();
this.enemyData.loadData();
this.userDataSaver.loadData();
this.prepareDataOnStartNewStage();
}
this.prepareDataOnStartStage();
protected start(): void {
this.checkLevelUp();
}
public changeState(state: EGAME_STATE) {
@ -63,17 +68,21 @@ export class GameGlobalData extends Component {
return time * GameDefine.MANA_UNIT;
}
resetDataSaveBeforeStartNewStage() {
this.expCollected = 0;
this.killedData = { creep: 0, boss: 0 };
}
listActiveSkillData: ActiveSkillData[];
listActiveSkillUses = new Array();
public prepareDataOnStartStage()
{
public prepareDataOnStartNewStage() {
this.resetDataSaveBeforeStartNewStage();
this.level = this.userDataSaver.level;
this.listActiveSkillData = this.gameDataConfig.getActiveSkill();
this.listActiveSkillUses = this.gameDataConfig.ACTIVE_SKILL_USE_INFO;
for (var i = 0; i < this.listActiveSkillData.length; i++)
{
for (var i = 0; i < this.listActiveSkillData.length; i++) {
var data = this.listActiveSkillData[i];
this.listActiveSkillUses[i].mana = data.Mana;
}
@ -85,11 +94,58 @@ export class GameGlobalData extends Component {
return this.gameDataConfig.HERO_CONTROL_CONFIG;
}
get heroDataConfig(): any
{
return this.gameDataConfig.getHeroDataByLevel(this.level);
get heroDataConfig(): any {
var result = this.gameDataConfig.getHeroDataByLevel(this.level);
// result.Atk = 200;
return result;
}
getEnemyDataConfigAfterRatioById(enemyId: string) {
var enemyData = this.gameDataConfig.getEnemyDataConfigById(enemyId);
var levelData = this.getLevelDesignConfigData();
enemyData.atk *= levelData.atkratio;
enemyData.hp *= levelData.hpratio;
enemyData.exp *= levelData.expratio;
return enemyData;
}
getBossDataConfigAfterRaitoById(enemyId: string) {
var bossData = this.gameDataConfig.getBossDataConfigById(enemyId);
var levelData = this.getLevelDesignConfigData();
bossData.atk *= levelData.atkratio;
bossData.hp *= levelData.hpratio;
bossData.exp *= levelData.expratio;
return bossData;
}
getLevelDesignConfigData(): LevelDesignInfo {
if (!this.levelDesignConfigData || this.levelDesignConfigData.level != this.level) {
this.levelDesignConfigData = this.gameDataConfig.getLevelDesignByLevel(this.level);
}
return this.levelDesignConfigData;
}
getExpInlevelNeed(): number {
return this.heroDataConfig.Exp;
}
checkLevelUp(): boolean {
var userDataSaver = GameGlobalData.Instance.userDataSaver;
var levelExp = GameGlobalData.Instance.getExpInlevelNeed();
UmLog.log("checkLevelUp => user exp = ", userDataSaver.expInLevel);
UmLog.log("checkLevelUp => level exp = ", levelExp);
if (userDataSaver.expInLevel < levelExp)
return false;
userDataSaver.expInLevel -= levelExp;
userDataSaver.level++;
this.level = userDataSaver.level;
userDataSaver.saveData();
return true;
}
}

View File

@ -42,4 +42,3 @@ export interface SkillUseInfo {
}