feat: 优化关卡内 UI

This commit is contained in:
richarjiang
2026-04-14 09:53:08 +08:00
parent ddf51919b0
commit 5d472e1c30
21 changed files with 914 additions and 656 deletions

View File

@@ -0,0 +1,34 @@
skeleton.png
size: 242,137
format: RGBA8888
filter: Linear,Linear
repeat: none
分针
rotate: false
xy: 151, 14
size: 37, 30
orig: 37, 34
offset: 0, 1
index: -1
时针
rotate: true
xy: 190, 29
size: 15, 35
orig: 16, 35
offset: 0, 0
index: -1
表盘
rotate: false
xy: 151, 46
size: 89, 89
orig: 89, 89
offset: 0, 0
index: -1
钟1
rotate: false
xy: 2, 2
size: 147, 133
orig: 150, 133
offset: 0, 0
index: -1

View File

@@ -0,0 +1,12 @@
{
"ver": "1.0.0",
"importer": "*",
"imported": true,
"uuid": "c769260a-0357-4bdb-b9ca-d5b4ef7662bd",
"files": [
".atlas",
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,78 @@
{
"skeleton": {
"hash": "neT0krrJvEJNvDau6sqQ0GLqqto=",
"spine": "3.8.75",
"x": -65.99,
"y": -56.23,
"width": 126.84,
"height": 112.46,
"images": "",
"audio": ""
},
"bones": [
{ "name": "root" },
{ "name": "bone3", "parent": "root" },
{ "name": "bone", "parent": "bone3", "x": 1.64 },
{ "name": "bone2", "parent": "bone3", "x": 1.4 },
{ "name": "bone4", "parent": "bone3" },
{ "name": "bone5", "parent": "bone3" }
],
"slots": [
{ "name": "表盘", "bone": "bone4", "attachment": "表盘" },
{ "name": "时针", "bone": "bone", "attachment": "时针" },
{ "name": "分针", "bone": "bone2", "attachment": "分针" },
{ "name": "钟1", "bone": "bone5", "attachment": "钟1" }
],
"skins": [
{
"name": "default",
"attachments": {
"分针": {
"分针": { "x": 10.48, "y": -7.18, "width": 37, "height": 34 }
},
"时针": {
"时针": { "x": 0.53, "y": 10.75, "width": 16, "height": 35 }
},
"表盘": {
"表盘": { "width": 89, "height": 89 }
},
"钟1": {
"钟1": { "x": -2.58, "scaleX": 0.8456, "scaleY": 0.8456, "width": 150, "height": 133 }
}
}
}
],
"animations": {
"animation": {
"bones": {
"bone2": {
"rotate": [
{},
{ "time": 0.3333, "angle": 179 },
{ "time": 0.5, "angle": -90 },
{ "time": 0.6667 },
{ "time": 1, "angle": 179 },
{ "time": 1.2, "angle": -90 },
{ "time": 1.3333 }
]
},
"bone": {
"rotate": [
{},
{ "time": 0.6667, "angle": 179 },
{ "time": 1, "angle": -90 },
{ "time": 1.3333 }
]
},
"bone5": {
"rotate": [
{},
{ "time": 0.2667, "angle": 179 },
{ "time": 0.5333, "angle": -90 },
{ "time": 1 }
]
}
}
}
}
}

View File

@@ -0,0 +1,13 @@
{
"ver": "1.2.7",
"importer": "spine-data",
"imported": true,
"uuid": "7ac2ecce-920d-4642-8388-2fb52bdaae74",
"files": [
".json"
],
"subMetas": {},
"userData": {
"atlasUuid": "c769260a-0357-4bdb-b9ca-d5b4ef7662bd"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "933bb319-f065-47d9-93c4-e22ad7179ebb",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "933bb319-f065-47d9-93c4-e22ad7179ebb@6c48a",
"displayName": "skeleton",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "933bb319-f065-47d9-93c4-e22ad7179ebb",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "933bb319-f065-47d9-93c4-e22ad7179ebb@f9941",
"displayName": "skeleton",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 238,
"height": 133,
"rawWidth": 242,
"rawHeight": 137,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-119,
-66.5,
0,
119,
-66.5,
0,
-119,
66.5,
0,
119,
66.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
2,
135,
240,
135,
2,
2,
240,
2
],
"nuv": [
0.008264462809917356,
0.014598540145985401,
0.9917355371900827,
0.014598540145985401,
0.008264462809917356,
0.9854014598540146,
0.9917355371900827,
0.9854014598540146
],
"minPos": [
-119,
-66.5,
0
],
"maxPos": [
119,
66.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "933bb319-f065-47d9-93c4-e22ad7179ebb@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"hasAlpha": true,
"redirect": "933bb319-f065-47d9-93c4-e22ad7179ebb@6c48a"
}
}