技能升级改用碎片 完成

This commit is contained in:
2024-12-17 23:09:14 +08:00
parent a05d7a4507
commit 62975dc78b
10 changed files with 5099 additions and 4808 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,311 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
<dict>
<key>btn_line_green_p.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{36,100}</string>
<key>spriteSourceSize</key>
<string>{36,100}</string>
<key>textureRect</key>
<string>{{819,59},{36,100}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>btn_line_red_p.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{36,100}</string>
<key>spriteSourceSize</key>
<string>{36,100}</string>
<key>textureRect</key>
<string>{{663,135},{36,100}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>btn_line_yellow_p.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{36,100}</string>
<key>spriteSourceSize</key>
<string>{36,100}</string>
<key>textureRect</key>
<string>{{663,173},{36,100}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>btn_solid_gray.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{36,100}</string>
<key>spriteSourceSize</key>
<string>{36,100}</string>
<key>textureRect</key>
<string>{{663,211},{36,100}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>button_radius_blue.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{126,126}</string>
<key>spriteSourceSize</key>
<string>{126,126}</string>
<key>textureRect</key>
<string>{{279,1},{126,126}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>button_radius_dark.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{126,126}</string>
<key>spriteSourceSize</key>
<string>{126,126}</string>
<key>textureRect</key>
<string>{{279,129},{126,126}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>button_radius_gray.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{126,126}</string>
<key>spriteSourceSize</key>
<string>{126,126}</string>
<key>textureRect</key>
<string>{{407,1},{126,126}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>button_radius_green.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{126,126}</string>
<key>spriteSourceSize</key>
<string>{126,126}</string>
<key>textureRect</key>
<string>{{407,129},{126,126}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>button_radius_orange.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{126,126}</string>
<key>spriteSourceSize</key>
<string>{126,126}</string>
<key>textureRect</key>
<string>{{535,1},{126,126}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>check_square_off.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{56,56}</string>
<key>spriteSourceSize</key>
<string>{56,56}</string>
<key>textureRect</key>
<string>{{789,1},{56,56}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>common_btn_color_dark.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{40,112}</string>
<key>spriteSourceSize</key>
<string>{40,112}</string>
<key>textureRect</key>
<string>{{663,51},{40,112}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>common_btn_color_gray.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{40,112}</string>
<key>spriteSourceSize</key>
<string>{40,112}</string>
<key>textureRect</key>
<string>{{777,59},{40,112}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>common_btn_color_green.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{40,112}</string>
<key>spriteSourceSize</key>
<string>{40,112}</string>
<key>textureRect</key>
<string>{{663,93},{40,112}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>common_popup_rounded.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-1}</string>
<key>spriteSize</key>
<string>{134,236}</string>
<key>spriteSourceSize</key>
<string>{140,240}</string>
<key>textureRect</key>
<string>{{143,1},{134,236}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>common_popup_square.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{140,240}</string>
<key>spriteSourceSize</key>
<string>{140,240}</string>
<key>textureRect</key>
<string>{{1,1},{140,240}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>enemy hp bar bg.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{124,29}</string>
<key>spriteSourceSize</key>
<string>{130,33}</string>
<key>textureRect</key>
<string>{{663,1},{124,29}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>enemy hp bar fg.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{121,17}</string>
<key>spriteSourceSize</key>
<string>{125,23}</string>
<key>textureRect</key>
<string>{{663,32},{121,17}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>inventory_item_select.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{126,126}</string>
<key>spriteSourceSize</key>
<string>{126,126}</string>
<key>textureRect</key>
<string>{{535,129},{126,126}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>ranking_list_me.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{2,196}</string>
<key>spriteSourceSize</key>
<string>{2,196}</string>
<key>textureRect</key>
<string>{{1,243},{2,196}}</string>
<key>textureRotated</key>
<true/>
</dict>
</dict>
<key>metadata</key>
<dict>
<key>format</key>
<integer>3</integer>
<key>pixelFormat</key>
<string>RGBA8888</string>
<key>premultiplyAlpha</key>
<false/>
<key>realTextureFileName</key>
<string>ui.png</string>
<key>size</key>
<string>{856,256}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:621b2304ca75376ef285748d6a56fd96:ad28099c12cd3b5fa3b51fedde87f8f3:e489eb72a1dac3e9a97caaf8aad1ac42$</string>
<key>textureFileName</key>
<string>ui.png</string>
</dict>
</dict>
</plist>

View File

@@ -1,891 +0,0 @@
{
"ver": "1.0.8",
"importer": "sprite-atlas",
"imported": true,
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c",
"files": [
".json"
],
"subMetas": {
"44956": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@44956",
"displayName": "",
"id": "44956",
"name": "common_btn_color_green",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 663,
"trimY": 93,
"width": 40,
"height": 112,
"rawWidth": 40,
"rawHeight": 112,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"75027": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@75027",
"displayName": "",
"id": "75027",
"name": "ranking_list_me",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 243,
"width": 2,
"height": 196,
"rawWidth": 2,
"rawHeight": 196,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"7eeff": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@7eeff",
"displayName": "",
"id": "7eeff",
"name": "btn_line_green_p",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 819,
"trimY": 59,
"width": 36,
"height": 100,
"rawWidth": 36,
"rawHeight": 100,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"2b8f2": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@2b8f2",
"displayName": "",
"id": "2b8f2",
"name": "btn_line_red_p",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 663,
"trimY": 135,
"width": 36,
"height": 100,
"rawWidth": 36,
"rawHeight": 100,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"e0b56": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@e0b56",
"displayName": "",
"id": "e0b56",
"name": "btn_line_yellow_p",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 663,
"trimY": 173,
"width": 36,
"height": 100,
"rawWidth": 36,
"rawHeight": 100,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"1d586": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@1d586",
"displayName": "",
"id": "1d586",
"name": "btn_solid_gray",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 663,
"trimY": 211,
"width": 36,
"height": 100,
"rawWidth": 36,
"rawHeight": 100,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"ce31b": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@ce31b",
"displayName": "",
"id": "ce31b",
"name": "button_radius_blue",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 279,
"trimY": 1,
"width": 126,
"height": 126,
"rawWidth": 126,
"rawHeight": 126,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"e0430": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@e0430",
"displayName": "",
"id": "e0430",
"name": "button_radius_dark",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 279,
"trimY": 129,
"width": 126,
"height": 126,
"rawWidth": 126,
"rawHeight": 126,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"35f5b": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@35f5b",
"displayName": "",
"id": "35f5b",
"name": "button_radius_gray",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 407,
"trimY": 1,
"width": 126,
"height": 126,
"rawWidth": 126,
"rawHeight": 126,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"af1af": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@af1af",
"displayName": "",
"id": "af1af",
"name": "button_radius_green",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 407,
"trimY": 129,
"width": 126,
"height": 126,
"rawWidth": 126,
"rawHeight": 126,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"34f17": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@34f17",
"displayName": "",
"id": "34f17",
"name": "button_radius_orange",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 535,
"trimY": 1,
"width": 126,
"height": 126,
"rawWidth": 126,
"rawHeight": 126,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"ff97e": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@ff97e",
"displayName": "",
"id": "ff97e",
"name": "check_square_off",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 789,
"trimY": 1,
"width": 56,
"height": 56,
"rawWidth": 56,
"rawHeight": 56,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"4022d": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@4022d",
"displayName": "",
"id": "4022d",
"name": "common_btn_color_dark",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 663,
"trimY": 51,
"width": 40,
"height": 112,
"rawWidth": 40,
"rawHeight": 112,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"32d60": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@32d60",
"displayName": "",
"id": "32d60",
"name": "common_btn_color_gray",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 777,
"trimY": 59,
"width": 40,
"height": 112,
"rawWidth": 40,
"rawHeight": 112,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"144e9": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@144e9",
"displayName": "",
"id": "144e9",
"name": "common_popup_rounded",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -1,
"trimX": 143,
"trimY": 1,
"width": 134,
"height": 236,
"rawWidth": 140,
"rawHeight": 240,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"6290f": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@6290f",
"displayName": "",
"id": "6290f",
"name": "common_popup_square",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 140,
"height": 240,
"rawWidth": 140,
"rawHeight": 240,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"3ee5a": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@3ee5a",
"displayName": "",
"id": "3ee5a",
"name": "enemy hp bar bg",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 663,
"trimY": 1,
"width": 124,
"height": 29,
"rawWidth": 130,
"rawHeight": 33,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"60f3c": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@60f3c",
"displayName": "",
"id": "60f3c",
"name": "enemy hp bar fg",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 663,
"trimY": 32,
"width": 121,
"height": 17,
"rawWidth": 125,
"rawHeight": 23,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"02ff3": {
"importer": "sprite-frame",
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c@02ff3",
"displayName": "",
"id": "02ff3",
"name": "inventory_item_select",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 535,
"trimY": 129,
"width": 126,
"height": 126,
"rawWidth": 126,
"rawHeight": 126,
"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": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"atlasUuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"atlasTextureName": "ui.png",
"format": 3,
"uuid": "d5ab3e62-ad17-4efa-8659-70f8dc19728c",
"textureUuid": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -1,42 +0,0 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "810f3f46-ca06-4199-a1f1-30f7673a5b8a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a",
"displayName": "ui",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "810f3f46-ca06-4199-a1f1-30f7673a5b8a",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "texture",
"fixAlphaTransparencyArtifacts": false,
"redirect": "810f3f46-ca06-4199-a1f1-30f7673a5b8a@6c48a"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -35,15 +35,15 @@ export class SingletonModuleComp extends ecs.Comp {
};
skills: any = {
1001:{uuid:1001,lv:0,num:4,x1:1,x10:0},
1002:{uuid:1002,lv:0,num:3,x1:2,x10:0},
1003:{uuid:1003,lv:0,num:0,x1:0,x10:0},
1004:{uuid:1004,lv:0,num:0,x1:0,x10:0},
1005:{uuid:1005,lv:0,num:0,x1:0,x10:0},
1006:{uuid:1006,lv:0,num:0,x1:0,x10:0},
1007:{uuid:1007,lv:0,num:0,x1:0,x10:0},
1008:{uuid:1008,lv:0,num:0,x1:0,x10:0},
1009:{uuid:1009,lv:0,num:0,x1:0,x10:0},
1001:{uuid:1001,slv:0,num:4,x1:1,x10:0},
1002:{uuid:1002,slv:0,num:3,x1:2,x10:0},
1003:{uuid:1003,slv:0,num:0,x1:0,x10:0},
1004:{uuid:1004,slv:0,num:0,x1:0,x10:0},
1005:{uuid:1005,slv:0,num:0,x1:0,x10:0},
1006:{uuid:1006,slv:0,num:0,x1:0,x10:0},
1007:{uuid:1007,slv:0,num:0,x1:0,x10:0},
1008:{uuid:1008,slv:0,num:0,x1:0,x10:0},
1009:{uuid:1009,slv:0,num:0,x1:0,x10:0},
};
/** 游戏主角 */
heros:any={

View File

@@ -92,21 +92,21 @@ export class Hero extends ecs.Entity {
hv.lv = role.lv;
hv.slv = role.slv;
hv.type = hero.type;
hv.sk1 = hero.sk1[role.slv];
hv.sk2 = hero.sk2[role.slv];
hv.sk3 = hero.sk3[role.slv];
hv.akc = hero.akc[role.slv];
hv.uac = hero.uac[role.slv];
hv.crc = hero.crc[role.slv];
hv.dgc = hero.dgc[role.slv];
hv.akr = hero.akr[role.slv];
hv.uar = hero.uar[role.slv];
hv.crr = hero.crr[role.slv];
hv.dgr = hero.dgr[role.slv];
hv.sk1 = hero.sk1[hv.slv];
hv.sk2 = hero.sk2[hv.slv];
hv.sk3 = hero.sk3[hv.slv];
hv.akc = hero.akc[hv.slv];
hv.uac = hero.uac[hv.slv];
hv.crc = hero.crc[hv.slv];
hv.dgc = hero.dgc[hv.slv];
hv.akr = hero.akr[hv.slv];
hv.uar = hero.uar[hv.slv];
hv.crr = hero.crr[hv.slv];
hv.dgr = hero.dgr[hv.slv];
hv.type = hero.type;
hv.hp= hv.hp_max =hero.hp+hero.hp_up*role.lv ;
hv.ap = hero.ap+hero.ap_up*role.lv ;
hv.def= hero.def+hero.def_up*role.lv;
hv.hp= hv.hp_max =hero.hp+hero.hp_up*hv.lv ;
hv.ap = hero.ap+hero.ap_up*hv.lv ;
hv.def= hero.def+hero.def_up*hv.lv;
hv.cd = hero.a_cd
hv.crit = hero.crit; //暴击率
hv.crit_add = hero.crit_add;//暴击伤害加成

View File

@@ -6,6 +6,7 @@ import { MissionHomeComp } from "./MissionHomeComp";
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { GameEvent } from "../common/config/GameEvent";
import { SkillSet } from "../common/config/SkillSet";
import { SChipComp } from "../hero/SChipComp";
const { ccclass, property } = _decorator;
@@ -38,8 +39,14 @@ export class MSCardComp extends CCComp {
}
update_data(){
this.node.getChildByName("lv").getComponent(Label).string = smc.skills[this.s_uuid].lv.toString()+"级";
this.node.getChildByName("update").getChildByName("cost").getComponent(Label).string =smc.vmdata.skp.num.toString()+ " / "+(SkillSet[this.s_uuid].upcost*(1+smc.skills[this.s_uuid].lv)).toString()
if(smc.skills[this.s_uuid].slv>=1) {this.node.getChildByName("slv").getChildByName("s1").active=true} else {this.node.getChildByName("slv").getChildByName("s1").active=false};
if(smc.skills[this.s_uuid].slv>=2) {this.node.getChildByName("slv").getChildByName("s2").active=true} else {this.node.getChildByName("slv").getChildByName("s2").active=false};
if(smc.skills[this.s_uuid].slv>=3) {this.node.getChildByName("slv").getChildByName("s3").active=true} else {this.node.getChildByName("slv").getChildByName("s3").active=false};
if(smc.skills[this.s_uuid].slv>=4) {this.node.getChildByName("slv").getChildByName("s4").active=true} else {this.node.getChildByName("slv").getChildByName("s4").active=false};
if(smc.skills[this.s_uuid].slv>=5) {this.node.getChildByName("slv").getChildByName("s5").active=true} else {this.node.getChildByName("slv").getChildByName("s5").active=false};
this.node.getChildByName("update").getChildByName("cost").getComponent(Label).string =smc.skills[this.s_uuid].num.toString()+ " / "+(SkillSet[this.s_uuid].upcost*(1+smc.skills[this.s_uuid].slv)).toString()
let sc= this.node.getChildByName("schip").getComponent(SChipComp)
sc.update_data(this.s_uuid,0)
}
select(){
smc.mission.mskill=this.s_uuid
@@ -55,12 +62,12 @@ export class MSCardComp extends CCComp {
}
}
update_lv(){
if(smc.vmdata.skp.num <= (SkillSet[this.s_uuid].upcost*(1+smc.skills[this.s_uuid].lv))){
oops.gui.toast("升级需要消耗"+SkillSet[this.s_uuid].upcost+"个魔法石")
if(smc.skills[this.s_uuid].num <= (SkillSet[this.s_uuid].upcost*(1+smc.skills[this.s_uuid].slv))){
oops.gui.toast("技能碎片不足")
return
}
smc.vmdata.skp.num -= (SkillSet[this.s_uuid].upcost*(1+smc.skills[this.s_uuid].lv))
smc.skills[this.s_uuid].lv++
smc.skills[this.s_uuid].num -= (SkillSet[this.s_uuid].upcost*(1+smc.skills[this.s_uuid].slv))
smc.skills[this.s_uuid].slv++
let mscards:any= ecs.query(ecs.allOf(MSCardComp));
for(let i=0;i<mscards.length;i++){
mscards[i].MSCardComp.update_data()