This commit is contained in:
2024-09-25 00:04:20 +08:00
parent ecc7ba9621
commit 93b820dd36
13 changed files with 5306 additions and 1305 deletions

View File

@@ -20,30 +20,33 @@
"_children": [
{
"__id__": 2
},
{
"__id__": 8
}
],
"_active": true,
"_components": [
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
},
{
"__id__": 20
},
{
"__id__": 22
}
],
"_prefab": {
"__id__": 18
"__id__": 24
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -300,
"y": 0,
"z": 0
},
"_lrot": {
@@ -71,7 +74,7 @@
},
{
"__type__": "cc.Node",
"_name": "lab_content",
"_name": "ToastMessage_Bg_Gray",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -85,18 +88,15 @@
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": -139.918,
"z": 0
},
"_lrot": {
@@ -136,8 +136,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 131.2109375,
"height": 50.4
"width": 800,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -148,10 +148,10 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "99X9v0jUlJNZIh0XrXacci"
"fileId": "daWGVMfiBINaoHLXMFGxnx"
},
{
"__type__": "cc.Label",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -165,6 +165,145 @@
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 175
},
"_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@85c63",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3fUgziN35AapBo1Cf9UAoy"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "249lHuvrpOfrKXv35DvZQA",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab_content",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 11
},
{
"__id__": 13
}
],
"_prefab": {
"__id__": 15
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -139.918,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_contentSize": {
"__type__": "cc.Size",
"width": 98.408203125,
"height": 37.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "99X9v0jUlJNZIh0XrXacci"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
@@ -175,10 +314,10 @@
"_string": "content",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_actualFontSize": 30,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_lineHeight": 30,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
@@ -224,11 +363,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 8
"__id__": 14
},
"_params": [],
"_dataID": "",
@@ -261,7 +400,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 11
"__id__": 17
},
"_contentSize": {
"__type__": "cc.Size",
@@ -289,7 +428,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 13
"__id__": 19
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -299,7 +438,7 @@
"r": 255,
"g": 255,
"b": 255,
"a": 255
"a": 155
},
"_spriteFrame": null,
"_type": 1,
@@ -331,7 +470,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 15
"__id__": 21
},
"playOnLoad": true,
"_clips": [
@@ -360,13 +499,13 @@
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 23
},
"lab_content": {
"__id__": 5
"__id__": 11
},
"animation": {
"__id__": 14
"__id__": 20
},
"_id": ""
},

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -15,7 +15,7 @@
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{131,1},{112,112}}</string>
<string>{{565,1},{112,112}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -30,7 +30,7 @@
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{245,1},{112,112}}</string>
<string>{{679,1},{112,112}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -45,9 +45,9 @@
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{239,115},{114,98}}</string>
<string>{{335,1},{114,98}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>5004.Png</key>
<dict>
@@ -60,9 +60,9 @@
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{131,115},{100,106}}</string>
<string>{{1321,1},{100,106}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>5005.Png</key>
<dict>
@@ -75,9 +75,9 @@
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{355,115},{86,112}}</string>
<string>{{793,1},{86,112}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>5006.Png</key>
<dict>
@@ -90,7 +90,7 @@
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{1,115},{128,100}}</string>
<string>{{1423,1},{128,100}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -105,7 +105,7 @@
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{359,1},{110,108}}</string>
<string>{{881,1},{110,108}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -120,7 +120,142 @@
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{1,1},{128,112}}</string>
<string>{{435,1},{128,112}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>5009.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{116,104}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{129,1},{116,104}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>5010.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,1}</string>
<key>spriteSize</key>
<string>{120,98}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{1809,1},{120,98}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>5011.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,1}</string>
<key>spriteSize</key>
<string>{124,100}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{1683,1},{124,100}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>5012.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,0}</string>
<key>spriteSize</key>
<string>{116,98}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{235,1},{116,98}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>5013.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,1}</string>
<key>spriteSize</key>
<string>{110,108}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{991,1},{110,108}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>5014.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,1}</string>
<key>spriteSize</key>
<string>{110,108}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{1101,1},{110,108}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>5015.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,1}</string>
<key>spriteSize</key>
<string>{110,108}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{1211,1},{110,108}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>5016.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{128,100}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{1553,1},{128,100}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>5017.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{126,116}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<key>textureRect</key>
<string>{{1,1},{126,116}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -136,9 +271,9 @@
<key>realTextureFileName</key>
<string>rewards.png</string>
<key>size</key>
<string>{468,216}</string>
<string>{1930,118}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:b0bd39f818690f9d9ef8f0aa0c2b6c60:d4491bbe273cc2d81788789c914f1afd:e70319c7d19eb0b686a46f7adf4e4b0a$</string>
<string>$TexturePacker:SmartUpdate:0ea114e31db77a25ac629a5a84810b05:7b64aa068fbf8e1755bf6b6fbdb25a9e:e70319c7d19eb0b686a46f7adf4e4b0a$</string>
<key>textureFileName</key>
<string>rewards.png</string>
</dict>

View File

@@ -19,7 +19,7 @@
"rotated": false,
"offsetX": -1,
"offsetY": 1,
"trimX": 131,
"trimX": 565,
"trimY": 1,
"width": 112,
"height": 112,
@@ -65,7 +65,7 @@
"rotated": false,
"offsetX": -1,
"offsetY": 1,
"trimX": 245,
"trimX": 679,
"trimY": 1,
"width": 112,
"height": 112,
@@ -108,11 +108,11 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 239,
"trimY": 115,
"trimX": 335,
"trimY": 1,
"width": 114,
"height": 98,
"rawWidth": 128,
@@ -154,11 +154,11 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 131,
"trimY": 115,
"trimX": 1321,
"trimY": 1,
"width": 100,
"height": 106,
"rawWidth": 128,
@@ -200,11 +200,11 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 355,
"trimY": 115,
"trimX": 793,
"trimY": 1,
"width": 86,
"height": 112,
"rawWidth": 128,
@@ -249,8 +249,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 1,
"trimX": 1,
"trimY": 115,
"trimX": 1423,
"trimY": 1,
"width": 128,
"height": 100,
"rawWidth": 128,
@@ -295,7 +295,7 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 359,
"trimX": 881,
"trimY": 1,
"width": 110,
"height": 108,
@@ -341,7 +341,7 @@
"rotated": false,
"offsetX": 0,
"offsetY": 1,
"trimX": 1,
"trimX": 435,
"trimY": 1,
"width": 128,
"height": 112,
@@ -374,6 +374,420 @@
".json"
],
"subMetas": {}
},
"e8f02": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@e8f02",
"displayName": "",
"id": "e8f02",
"name": "5009",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 129,
"trimY": 1,
"width": 116,
"height": 104,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"988c4": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@988c4",
"displayName": "",
"id": "988c4",
"name": "5010",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 1,
"trimX": 1809,
"trimY": 1,
"width": 120,
"height": 98,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"0a0f7": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@0a0f7",
"displayName": "",
"id": "0a0f7",
"name": "5011",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 1,
"trimX": 1683,
"trimY": 1,
"width": 124,
"height": 100,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9fe0": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@f9fe0",
"displayName": "",
"id": "f9fe0",
"name": "5012",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": 0,
"trimX": 235,
"trimY": 1,
"width": 116,
"height": 98,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"ea994": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@ea994",
"displayName": "",
"id": "ea994",
"name": "5013",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": 1,
"trimX": 991,
"trimY": 1,
"width": 110,
"height": 108,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"4df76": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@4df76",
"displayName": "",
"id": "4df76",
"name": "5014",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": 1,
"trimX": 1101,
"trimY": 1,
"width": 110,
"height": 108,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"7cece": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@7cece",
"displayName": "",
"id": "7cece",
"name": "5015",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": 1,
"trimX": 1211,
"trimY": 1,
"width": 110,
"height": 108,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"7ff41": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@7ff41",
"displayName": "",
"id": "7ff41",
"name": "5016",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1553,
"trimY": 1,
"width": 128,
"height": 100,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"094d8": {
"importer": "sprite-frame",
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@094d8",
"displayName": "",
"id": "094d8",
"name": "5017",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 126,
"height": 116,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 33 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -79,9 +79,9 @@ export class SingletonModuleComp extends ecs.Comp {
mission:{
once:6, //每波刷新怪物数量
total:120, //总怪物数
reward:5, //怪物死亡奖励数量
reward:20, //怪物死亡奖励数量
reward_num:0, //怪物死亡数
coin:600,
coin:100,
coin_add:1,
coin_reward_add:1,
normal_cost:10,
@@ -151,6 +151,9 @@ export class SingletonModuleComp extends ecs.Comp {
15:{bonus:3,lv:0,lv_max:5,info:"技能效果加强",name:""},
16:{bonus:3,lv:0,lv_max:5,info:"技能持续时间",name:""},
},
monster:{
gold_add:1,
},
/** 当前等级 */
cards:{
level:1,

View File

@@ -46,4 +46,7 @@ export enum GameSet {
ATK_TO_SHIELD_RATIO=2,
ATK_LINES = 3,
MON_GOLD_ADD =2,
MON_COIN_ADD=2,
COIN_ADD=1,
}

View File

@@ -7,6 +7,7 @@ import { RandomManager } from "../../../../extensions/oops-plugin-framework/asse
import { SkillSet } from "../common/config/SkillSet";
import { HeroModelComp } from "../hero/HeroModelComp";
import { RewardSet } from "../common/config/RewardSet";
import { GameSet } from "../common/config/BoxSet";
const { ccclass, property } = _decorator;
/** 视图层对象 */
@@ -75,6 +76,15 @@ export class CardControllerComp extends CCComp {
}
}
better_call(){
if(smc.vm_data.mission.coin >= smc.vm_data.mission.better_cost){
smc.vm_data.mission.coin -= smc.vm_data.mission.better_cost
oops.message.dispatchEvent("better_call");
}else{
oops.gui.toast("铜币不够!");
}
}
do_reward(){
@@ -164,7 +174,7 @@ export class CardControllerComp extends CCComp {
coin_add(dt: number) {
smc.vm_data.gold.time += dt;
if (smc.vm_data.gold.time >= smc.vm_data.gold.cd) {
let coin =(smc.vm_data.mission.coin_add*smc.vm_data.mission.coin_reward_add*(1+smc.vm_data.talent[6].bonus*smc.vm_data.talent[6].lv)).toFixed(0)
let coin =(GameSet.COIN_ADD*smc.vm_data.mission.coin_reward_add*(1+smc.vm_data.talent[6].bonus*smc.vm_data.talent[6].lv)).toFixed(0)
smc.vm_data.mission.coin += parseFloat(coin)
smc.vm_data.gold.time = 0;
}

View File

@@ -55,6 +55,7 @@ export class MapMonsterComp extends CCComp {
oops.message.on("other_add_monster", this.on_other_add_monster, this);
oops.message.on("do_add_hero", this.on_do_add_hero, this);
oops.message.on("normal_call", this.on_normal_call, this);
oops.message.on("better_call", this.on_better_call, this);
}
start() {
@@ -105,6 +106,12 @@ export class MapMonsterComp extends CCComp {
let hero:any =RandomManager.instance.getRandomByObjectList(smc.cards, 1);
this.addHero(hero[0].uuid)
}
on_better_call(){
let hero:any =RandomManager.instance.getRandomByObjectList(smc.cards, 1);
console.log("better_call:",hero)
this.addHero(hero[0].uuid)
this.addHero(hero[0].uuid)
}
monster_refresh(){
if (this.setp_num <= 0){
return

View File

@@ -432,6 +432,10 @@ export class MonViewComp extends CCComp {
var node = instantiate(prefab);
node.setPosition(this.node.position.x,this.node.position.y+30,this.node.position.z);
node.parent = this.node.parent;
let coin =(GameSet.MON_COIN_ADD*smc.vm_data.mission.coin_reward_add*(1+smc.vm_data.talent[6].bonus*smc.vm_data.talent[6].lv)).toFixed(0)
smc.vm_data.mission.coin += parseFloat(coin)
}
toDestroy(){