仓库中添加内置的demo

This commit is contained in:
gongxh
2025-07-28 14:26:19 +08:00
parent 43446f031d
commit 65be0498cc
414 changed files with 14456 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
{
"__type__": "cc.SpriteAtlas"
}

View File

@@ -0,0 +1,36 @@
{
"ver": "1.0.8",
"importer": "auto-atlas",
"imported": true,
"uuid": "0ee96ff7-032b-4826-b543-e6d2dccea89a",
"files": [
".json"
],
"subMetas": {},
"userData": {
"maxWidth": 1024,
"maxHeight": 1024,
"padding": 1,
"allowRotation": true,
"forceSquared": false,
"powerOfTwo": false,
"algorithm": "MaxRects",
"format": "png",
"quality": 80,
"contourBleed": true,
"paddingBleed": true,
"filterUnused": true,
"removeTextureInBundle": true,
"removeImageInBundle": true,
"removeSpriteAtlasInBundle": true,
"compressSettings": {},
"textureSetting": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "21e24b19-38a1-4116-a09a-a7765ef9207d",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "21e24b19-38a1-4116-a09a-a7765ef9207d@6c48a",
"displayName": "image_age_tip",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "21e24b19-38a1-4116-a09a-a7765ef9207d",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "21e24b19-38a1-4116-a09a-a7765ef9207d@f9941",
"displayName": "image_age_tip",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 121,
"height": 156,
"rawWidth": 121,
"rawHeight": 156,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-60.5,
-78,
0,
60.5,
-78,
0,
-60.5,
78,
0,
60.5,
78,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
156,
121,
156,
0,
0,
121,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-60.5,
-78,
0
],
"maxPos": [
60.5,
78,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "21e24b19-38a1-4116-a09a-a7765ef9207d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "21e24b19-38a1-4116-a09a-a7765ef9207d@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5e393489-5334-4bff-aade-dca65a6ab31f",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5e393489-5334-4bff-aade-dca65a6ab31f@6c48a",
"displayName": "image_bar",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "5e393489-5334-4bff-aade-dca65a6ab31f",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "5e393489-5334-4bff-aade-dca65a6ab31f@f9941",
"displayName": "image_bar",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 45,
"height": 42,
"rawWidth": 45,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-22.5,
-21,
0,
22.5,
-21,
0,
-22.5,
21,
0,
22.5,
21,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
42,
45,
42,
0,
0,
45,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-22.5,
-21,
0
],
"maxPos": [
22.5,
21,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5e393489-5334-4bff-aade-dca65a6ab31f@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "5e393489-5334-4bff-aade-dca65a6ab31f@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2bf76acc-7d8b-4cb1-8717-92c1963f5231",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2bf76acc-7d8b-4cb1-8717-92c1963f5231@6c48a",
"displayName": "image_bar_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "2bf76acc-7d8b-4cb1-8717-92c1963f5231",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "2bf76acc-7d8b-4cb1-8717-92c1963f5231@f9941",
"displayName": "image_bar_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 40,
"height": 50,
"rawWidth": 40,
"rawHeight": 50,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-20,
-25,
0,
20,
-25,
0,
-20,
25,
0,
20,
25,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
50,
40,
50,
0,
0,
40,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-20,
-25,
0
],
"maxPos": [
20,
25,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2bf76acc-7d8b-4cb1-8717-92c1963f5231@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "2bf76acc-7d8b-4cb1-8717-92c1963f5231@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2e6c7534-7589-4521-9ef9-176162d783d5",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2e6c7534-7589-4521-9ef9-176162d783d5@6c48a",
"displayName": "image_health",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "2e6c7534-7589-4521-9ef9-176162d783d5",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "2e6c7534-7589-4521-9ef9-176162d783d5@f9941",
"displayName": "image_health",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 634,
"height": 60,
"rawWidth": 638,
"rawHeight": 64,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-317,
-30,
0,
317,
-30,
0,
-317,
30,
0,
317,
30,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
2,
62,
636,
62,
2,
2,
636,
2
],
"nuv": [
0.003134796238244514,
0.03125,
0.9968652037617555,
0.03125,
0.003134796238244514,
0.96875,
0.9968652037617555,
0.96875
],
"minPos": [
-317,
-30,
0
],
"maxPos": [
317,
30,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2e6c7534-7589-4521-9ef9-176162d783d5@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "2e6c7534-7589-4521-9ef9-176162d783d5@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9@6c48a",
"displayName": "image_health_title",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9@f9941",
"displayName": "image_health_title",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 137,
"height": 29,
"rawWidth": 141,
"rawHeight": 33,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-68.5,
-14.5,
0,
68.5,
-14.5,
0,
-68.5,
14.5,
0,
68.5,
14.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
2,
31,
139,
31,
2,
2,
139,
2
],
"nuv": [
0.014184397163120567,
0.06060606060606061,
0.9858156028368794,
0.06060606060606061,
0.014184397163120567,
0.9393939393939394,
0.9858156028368794,
0.9393939393939394
],
"minPos": [
-68.5,
-14.5,
0
],
"maxPos": [
68.5,
14.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "0aa6f7d9-09d0-42bf-ae09-a445e6fd22c9@6c48a"
}
}