计算积分

This commit is contained in:
2025-05-22 17:17:47 +08:00
parent 2bf07ab8f6
commit b3681e5c1e
19 changed files with 41383 additions and 378 deletions

View File

@@ -13,133 +13,11 @@
{
"_$type": "7bad1742-6eed-4d8d-81c0-501dc5bf03d6",
"scriptPath": "../src/Main.ts",
"debug": false
"debug": true
},
{
"_$type": "cd70cd5e-b4cd-4277-ac0a-2224cfbe89ac",
"enabled": false,
"scriptPath": "../src/models/UIManager.ts"
}
],
"_$child": [
{
"_$id": "scvd34ii",
"_$type": "Box",
"name": "TrophyRoom",
"width": 1080,
"height": 1920,
"_mouseState": 2,
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"_$comp": [
{
"_$type": "554595b0-0dd8-4e4b-8073-8d775219659c",
"scriptPath": "../src/views/TrophyRoom.ts",
"btn_back": {
"_$ref": "12tz34f8"
},
"obj_items": {
"_$ref": "k3gvjlus"
}
}
],
"_$child": [
{
"_$id": "lj5633i3",
"_$type": "Image",
"name": "bg",
"width": 1080,
"height": 1920,
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609",
"color": "#f5f7fb"
},
{
"_$id": "z1p4zsvs",
"_$type": "Box",
"name": "back",
"x": 38,
"y": 78,
"width": 400,
"height": 64,
"_mouseState": 2,
"centerX": -302,
"centerY": -850,
"_$child": [
{
"_$id": "12tz34f8",
"_$type": "Button",
"name": "btn_back",
"width": 69,
"height": 48,
"_mouseState": 2,
"stateNum": 1,
"skin": "res://06a9c4a8-d664-4f3a-9c35-25b610195ced",
"label": "",
"labelSize": 20,
"labelAlign": "center",
"labelVAlign": "middle"
},
{
"_$id": "nyfbewpo",
"_$type": "Label",
"name": "title",
"x": 92,
"y": -6,
"width": 500,
"height": 60,
"bottom": 10,
"text": "Trophy Room",
"fontSize": 54,
"color": "rgba(45, 49, 56, 1)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "8jansi3q",
"_$type": "Panel",
"name": "Panel",
"x": 48,
"y": 200,
"width": 984,
"height": 1720,
"_mouseState": 2,
"top": 200,
"bottom": 0,
"centerX": 0,
"scrollType": 2,
"_$child": [
{
"_$id": "k3gvjlus",
"_$type": "VBox",
"name": "items",
"width": 984,
"height": 2000,
"space": 40,
"align": "center",
"_$child": [
{
"_$id": "0cxaz0lv",
"_$prefab": "381b129b-cb47-4a77-805d-6d4637bc67b8",
"name": "TrophyRoomYear",
"active": true,
"x": 0,
"y": 0,
"visible": true
}
]
}
]
}
]
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 KiB

After

Width:  |  Height:  |  Size: 238 KiB

View File

@@ -73,10 +73,13 @@
"_$id": "v3amkm36",
"_$type": "Image",
"name": "light",
"x": -48,
"y": -680,
"width": 1080,
"height": 1920,
"x": -894,
"y": -1308,
"width": 924,
"height": 924,
"scaleX": 3,
"scaleY": 3,
"alpha": 0.2,
"centerX": 0,
"skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a",
"color": "#ffffff"

View File

@@ -0,0 +1,517 @@
{
"_$ver": 1,
"_$id": "d046cyp3",
"_$type": "Box",
"name": "GameDone_H",
"width": 1920,
"height": 1080,
"_mouseState": 2,
"drawCallOptimize": true,
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"_$comp": [
{
"_$type": "13e020d1-5ab8-4082-80ca-c0d208342103",
"scriptPath": "../src/views/GameDone.ts",
"obj_top": {
"_$ref": "n1aeh5hl"
},
"obj_stars": {
"_$ref": "td7ts6dl"
},
"obj_star": {
"_$ref": "jyqtn07j"
},
"label_diffucuty": {
"_$ref": "0pj64d40"
},
"label_time": {
"_$ref": "704gyeyq"
},
"label_score": {
"_$ref": "n75ha0o6"
},
"btn_new": {
"_$ref": "bqe5ubud"
},
"btn_home": {
"_$ref": "4udm9qfw"
},
"btn_continue": {
"_$ref": "e9lboae1"
}
}
],
"_$child": [
{
"_$id": "ye1epf1c",
"_$type": "Image",
"name": "bg_done",
"width": 1920,
"height": 1080,
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"skin": "res://2b008659-862a-4155-b094-ee87ba692be1",
"color": "#ffffff"
},
{
"_$id": "n1aeh5hl",
"_$type": "Box",
"name": "top",
"x": 100,
"y": 200,
"width": 984,
"height": 846,
"left": 100,
"centerY": 83,
"_$child": [
{
"_$id": "mspjp4xh",
"_$type": "Image",
"name": "light",
"x": -48,
"y": -680,
"width": 1080,
"height": 1080,
"centerX": 0,
"skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a",
"color": "#ffffff"
},
{
"_$id": "ymdidw9g",
"_$type": "Image",
"name": "bg",
"width": 984,
"height": 180,
"skin": "res://14316514-e8bf-4d32-bf9c-ba375ea24798",
"color": "#ffffff",
"_$child": [
{
"_$id": "dtt03zk0",
"_$type": "Sprite",
"name": "Sprite",
"y": 180,
"width": 984,
"height": 666,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 0,
"rt": 0,
"lb": 30,
"rb": 30,
"percent": true,
"lineWidth": 1,
"fillColor": "#FFFFFF"
}
]
},
{
"_$id": "4uil2sv7",
"_$type": "Sprite",
"name": "Sprite(1)",
"x": 44,
"y": 400,
"width": 888,
"height": 372,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 0,
"rt": 0,
"lb": 30,
"rb": 30,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(245, 247, 251, 1)"
}
]
}
]
},
{
"_$id": "td7ts6dl",
"_$type": "Box",
"name": "stars",
"y": -168,
"width": 984,
"height": 300,
"visible": false,
"centerX": 0,
"_$child": [
{
"_$id": "u2pvpslb",
"_$type": "Image",
"name": "check(1)",
"x": 69,
"y": 19,
"width": 308,
"height": 309,
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "5ufqn1lo",
"_$type": "Image",
"name": "check(2)",
"x": 339,
"width": 306,
"height": 307,
"centerX": 0,
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "cw48ra6d",
"_$type": "Image",
"name": "check(3)",
"x": 696,
"y": -35,
"width": 308,
"height": 309,
"rotation": 26,
"gray": true,
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
"useSourceSize": true,
"color": "#ffffff"
}
]
},
{
"_$id": "jyqtn07j",
"_$type": "Image",
"name": "star",
"x": 330,
"y": -160,
"width": 108,
"height": 108,
"scaleX": 3,
"scaleY": 3,
"centerX": 0,
"skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3",
"color": "#ffffff"
},
{
"_$id": "m4gct3kb",
"_$type": "Label",
"name": "Label",
"y": 226,
"width": 984,
"height": 100,
"centerX": 0,
"centerY": -147,
"text": "Congratulations!",
"fontSize": 80,
"color": "rgba(0, 0, 0, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "kyeppf37",
"_$type": "VBox",
"name": "summary",
"x": 92,
"y": 436,
"width": 800,
"height": 300,
"centerX": 0,
"space": 0,
"_$child": [
{
"_$id": "66dlfmo8",
"_$type": "Box",
"name": "Box(1)",
"width": 800,
"height": 100,
"_$child": [
{
"_$id": "0oiwsh8k",
"_$type": "Label",
"name": "left",
"width": 400,
"height": 100,
"text": "Difficuty",
"fontSize": 42,
"color": "rgba(123, 129, 140, 1)",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "0pj64d40",
"_$type": "Label",
"name": "right",
"x": 400,
"width": 400,
"height": 100,
"text": "Medium",
"fontSize": 48,
"color": "rgba(45, 49, 56, 1)",
"align": "right",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "l6abbx3m",
"_$type": "Box",
"name": "Box(2)",
"y": 100,
"width": 800,
"height": 100,
"_$child": [
{
"_$id": "ro371bbq",
"_$type": "Label",
"name": "left",
"width": 400,
"height": 100,
"text": "Time",
"fontSize": 42,
"color": "rgba(123, 129, 140, 1)",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "704gyeyq",
"_$type": "Label",
"name": "right",
"x": 400,
"width": 400,
"height": 100,
"text": "Medium",
"fontSize": 48,
"color": "rgba(45, 49, 56, 1)",
"align": "right",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "l0rcu5zo",
"_$type": "Box",
"name": "Box(3)",
"y": 200,
"width": 800,
"height": 100,
"_$child": [
{
"_$id": "c87ees02",
"_$type": "Label",
"name": "left",
"width": 400,
"height": 100,
"text": "Score",
"fontSize": 42,
"color": "rgba(123, 129, 140, 1)",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "n75ha0o6",
"_$type": "Label",
"name": "right",
"x": 400,
"width": 400,
"height": 100,
"text": "Medium",
"fontSize": 48,
"color": "rgba(45, 49, 56, 1)",
"align": "right",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
}
]
},
{
"_$id": "up490p42",
"_$type": "Box",
"name": "bottom",
"y": 568,
"width": 1920,
"height": 492,
"left": 0,
"right": 0,
"bottom": 20,
"_$child": [
{
"_$id": "bqe5ubud",
"_$type": "Box",
"name": "btn_new",
"x": 564,
"y": 80,
"width": 792,
"height": 156,
"visible": false,
"centerX": 0,
"_$child": [
{
"_$id": "ve80sg6x",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 156,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "3vi0pds4",
"_$type": "Label",
"name": "Label",
"width": 792,
"height": 156,
"centerX": 0,
"centerY": 0,
"text": "New Game",
"fontSize": 60,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "4udm9qfw",
"_$type": "Box",
"name": "btn_home",
"x": 564,
"y": 264,
"width": 792,
"height": 156,
"visible": false,
"centerX": 0,
"_$child": [
{
"_$id": "dhpbt4ky",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 156,
"alpha": 0.1,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "33e9tzad",
"_$type": "Label",
"name": "Label",
"width": 792,
"height": 156,
"centerX": 0,
"centerY": 0,
"text": "Home",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "e9lboae1",
"_$type": "Box",
"name": "btn_continue",
"x": 564,
"y": 264,
"width": 792,
"height": 156,
"centerX": 0,
"_$child": [
{
"_$id": "wepde6tb",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 156,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "faczj8th",
"_$type": "Label",
"name": "Label",
"width": 792,
"height": 156,
"centerX": 0,
"centerY": 0,
"text": "Continue",
"fontSize": 60,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
}
]
}

View File

@@ -0,0 +1,3 @@
{
"uuid": "133cf653-e407-4ea3-a301-6e4c32fa2653"
}

View File

@@ -258,227 +258,235 @@
"width": 468,
"height": 468,
"right": 0,
"skin": "res://bb1fa7d6-3640-46a5-aad3-b8aa0dacdd0e",
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"color": "#ffffff"
}
]
},
{
"_$id": "6irhm6t7",
"_$id": "scaq3jc6",
"_$type": "Box",
"name": "btn_new_blue",
"x": 144,
"y": 1532,
"width": 792,
"height": 168,
"visible": false,
"centerX": 0,
"centerY": 656,
"_$child": [
{
"_$id": "ry13plzy",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 168,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "la3qcz7o",
"_$type": "Label",
"name": "Label",
"width": 792,
"height": 168,
"centerX": 0,
"centerY": 0,
"text": "New Game",
"fontSize": 60,
"color": "#FFFFFF",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "9rcb0wtp",
"_$type": "Box",
"name": "btn_go",
"x": 144,
"y": 1428,
"width": 792,
"height": 168,
"centerX": 0,
"centerY": 552,
"_$child": [
{
"_$id": "vfod7fmk",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 168,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "f8ylua31",
"_$type": "Label",
"name": "Label",
"y": -32,
"width": 792,
"height": 168,
"centerX": 0,
"centerY": -32,
"text": "Continue",
"fontSize": 60,
"color": "#FFFFFF",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "pr17wcli",
"_$type": "Image",
"name": "time",
"x": 267,
"y": 107,
"width": 35,
"height": 35,
"centerX": -112,
"centerY": 40,
"skin": "res://2b4d26c7-ae87-47a3-8084-29a243441634",
"useSourceSize": true,
"color": "#ffffff",
"_$child": [
{
"_$id": "2l5pfddm",
"_$type": "Label",
"name": "label_time",
"x": 51,
"width": 400,
"height": 35,
"alpha": 0.6,
"text": "00:00-Hard",
"fontSize": 36,
"color": "rgba(255, 255, 255, 0.6078431372549019)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},
{
"_$id": "n4ggvqc0",
"_$type": "Box",
"name": "btn_new_white",
"x": 144,
"y": 1642,
"width": 792,
"height": 168,
"centerX": 0,
"centerY": 766,
"_$child": [
{
"_$id": "sez4l9sx",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 168,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(255, 255, 255, 1)"
}
]
},
{
"_$id": "ihe7vkr1",
"_$type": "Label",
"name": "Label",
"width": 792,
"height": 168,
"centerX": 0,
"centerY": 0,
"text": "New Game",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "mdqfz48j",
"_$type": "Box",
"name": "btn_clean",
"x": 440,
"y": 1820,
"width": 200,
"height": 100,
"visible": false,
"name": "bottom",
"y": 1920,
"width": 1080,
"height": 0,
"bottom": 0,
"centerX": 0,
"_$child": [
{
"_$id": "yfgx8fq9",
"_$type": "Label",
"name": "Label",
"_$id": "6irhm6t7",
"_$type": "Box",
"name": "btn_new_blue",
"x": 144,
"y": -388,
"width": 792,
"height": 168,
"visible": false,
"centerX": 0,
"_$child": [
{
"_$id": "ry13plzy",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 168,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "la3qcz7o",
"_$type": "Label",
"name": "Label",
"width": 792,
"height": 168,
"centerX": 0,
"centerY": 0,
"text": "New Game",
"fontSize": 60,
"color": "#FFFFFF",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "9rcb0wtp",
"_$type": "Box",
"name": "btn_go",
"x": 144,
"y": -492,
"width": 792,
"height": 168,
"centerX": 0,
"_$child": [
{
"_$id": "vfod7fmk",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 168,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "f8ylua31",
"_$type": "Label",
"name": "Label",
"y": -32,
"width": 792,
"height": 168,
"centerX": 0,
"centerY": -32,
"text": "Continue",
"fontSize": 60,
"color": "#FFFFFF",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "pr17wcli",
"_$type": "Image",
"name": "time",
"x": 267,
"y": 107,
"width": 35,
"height": 35,
"centerX": -112,
"centerY": 40,
"skin": "res://2b4d26c7-ae87-47a3-8084-29a243441634",
"useSourceSize": true,
"color": "#ffffff",
"_$child": [
{
"_$id": "2l5pfddm",
"_$type": "Label",
"name": "label_time",
"x": 51,
"width": 400,
"height": 35,
"alpha": 0.6,
"text": "00:00-Hard",
"fontSize": 36,
"color": "rgba(255, 255, 255, 0.6078431372549019)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},
{
"_$id": "n4ggvqc0",
"_$type": "Box",
"name": "btn_new_white",
"x": 144,
"y": -278,
"width": 792,
"height": 168,
"centerX": 0,
"_$child": [
{
"_$id": "sez4l9sx",
"_$type": "Sprite",
"name": "Sprite",
"width": 792,
"height": 168,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(255, 255, 255, 1)"
}
]
},
{
"_$id": "ihe7vkr1",
"_$type": "Label",
"name": "Label",
"width": 792,
"height": 168,
"centerX": 0,
"centerY": 0,
"text": "New Game",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "mdqfz48j",
"_$type": "Box",
"name": "btn_clean",
"x": 440,
"y": -100,
"width": 200,
"height": 100,
"bottom": 0,
"centerX": 0,
"centerY": 0,
"text": "Clean",
"fontSize": 80,
"color": "rgba(89, 109, 152, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
"_$child": [
{
"_$id": "yfgx8fq9",
"_$type": "Label",
"name": "Label",
"width": 200,
"height": 100,
"centerX": 0,
"centerY": 0,
"text": "Clean",
"fontSize": 80,
"color": "rgba(89, 109, 152, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},

40554
assets/resources/Stage_H.lh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
{
"uuid": "665f7342-64cb-4801-a000-041575e71bb5"
}