加分动画

This commit is contained in:
2025-05-27 14:59:33 +08:00
parent 0d47e04a6f
commit b6126cebad
11 changed files with 167 additions and 53 deletions

View File

@@ -1,12 +1,10 @@
{
"_$ver": 1,
"_$id": "pl8y75ht",
"_$id": "w86l3m5x",
"_$type": "Box",
"name": "ScoreAdd",
"x": 885,
"y": 510,
"width": 150,
"height": 60,
"width": 116,
"height": 116,
"centerX": 0,
"centerY": 0,
"_$comp": [
@@ -17,40 +15,34 @@
},
{
"_$type": "c910a064-d127-442e-a884-b5289c488647",
"scriptPath": "../src/views/ScoreAdd.ts"
"scriptPath": "../src/views/ScoreAdd.ts",
"label": {
"_$ref": "2eibhgkk"
}
}
],
"_$child": [
{
"_$id": "chd952dx",
"_$type": "Box",
"name": "offset",
"y": -60,
"width": 150,
"_$id": "2eibhgkk",
"_$type": "Label",
"name": "Label",
"x": 55,
"y": -42,
"width": 200,
"height": 60,
"_$child": [
{
"_$id": "7popbrt7",
"_$type": "Label",
"name": "Label",
"x": 75,
"y": 30,
"width": 150,
"height": 60,
"anchorX": 0.5,
"anchorY": 0.5,
"text": "+150",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0",
"stroke": 16,
"strokeColor": "rgba(255, 255, 255, 1)"
}
]
"anchorX": 0.5,
"anchorY": 0.5,
"centerX": -3,
"text": "+150",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0",
"stroke": 16,
"strokeColor": "rgba(255, 255, 255, 1)"
}
]
}

View File

@@ -1,3 +1,3 @@
{
"uuid": "a07d56a7-b6d8-40b9-97c2-6c2b0e294ff1"
"uuid": "cc3e3def-73ab-4c93-91ca-15fe9360c857"
}

View File

@@ -0,0 +1,50 @@
{
"_$ver": 1,
"_$id": "r3lhk79l",
"_$type": "Box",
"name": "ScoreAdd_H",
"x": 3,
"y": 3,
"width": 90,
"height": 90,
"centerX": 0,
"centerY": 0,
"_$comp": [
{
"_$type": "bdb0e671-99fa-47a5-9101-7ec008b1d25d",
"scriptPath": "../src/views/common/AutoDestroy.ts",
"lifeTime": 2
},
{
"_$type": "c910a064-d127-442e-a884-b5289c488647",
"scriptPath": "../src/views/ScoreAdd.ts",
"label": {
"_$ref": "4337viuh"
}
}
],
"_$child": [
{
"_$id": "4337viuh",
"_$type": "Label",
"name": "Label",
"x": 42,
"y": -42,
"width": 200,
"height": 45,
"anchorX": 0.5,
"anchorY": 0.5,
"centerX": -3,
"text": "+150",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 45,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0",
"stroke": 16,
"strokeColor": "rgba(255, 255, 255, 1)"
}
]
}

View File

@@ -0,0 +1,3 @@
{
"uuid": "79c5a2f1-0c0d-484c-ad6f-f31b3f3fcbd2"
}