小游戏加载界面数字字体更换
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 47s

This commit is contained in:
TJH 2025-10-14 16:58:16 +08:00
parent b6c8adc46f
commit 26ea33cce6
6 changed files with 326 additions and 1 deletions

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "63d487f0-4d3e-414a-ae1d-af4f7cf71498",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,17 @@
info face="Arial" size=10 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2
common lineHeight=418 base=10 scaleW=4329 scaleH=418 pages=1 packed=0
page id=0 file="nb.png"
chars count=13
char id=65292 x=0 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter=""
char id=46 x=333 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="."
char id=48 x=666 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="0"
char id=49 x=999 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="1"
char id=50 x=1332 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="2"
char id=51 x=1665 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="3"
char id=52 x=1998 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="4"
char id=53 x=2331 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="5"
char id=54 x=2664 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="6"
char id=55 x=2997 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="7"
char id=56 x=3330 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="8"
char id=57 x=3663 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="9"
char id=32 x=3996 y=0 width=333 height=418 xoffset=0 yoffset=0 xadvance=333 page=0 chnl=0 page=0 letter="space"

View File

@ -0,0 +1,165 @@
{
"ver": "1.0.6",
"importer": "bitmap-font",
"imported": true,
"uuid": "c5eec695-81e4-482f-8578-78bf085aa6a2",
"files": [
".json"
],
"subMetas": {},
"userData": {
"_fntConfig": {
"commonHeight": 418,
"fontSize": 10,
"atlasName": "nb.png",
"fontDefDictionary": {
"32": {
"rect": {
"x": 3996,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"46": {
"rect": {
"x": 333,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"48": {
"rect": {
"x": 666,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"49": {
"rect": {
"x": 999,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"50": {
"rect": {
"x": 1332,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"51": {
"rect": {
"x": 1665,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"52": {
"rect": {
"x": 1998,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"53": {
"rect": {
"x": 2331,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"54": {
"rect": {
"x": 2664,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"55": {
"rect": {
"x": 2997,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"56": {
"rect": {
"x": 3330,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"57": {
"rect": {
"x": 3663,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
},
"65292": {
"rect": {
"x": 0,
"y": 0,
"width": 333,
"height": 418
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 333
}
},
"kerningDict": {}
},
"fontSize": 10,
"textureUuid": "31b2dd77-0614-4f08-9d58-33059bf2b99e"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "31b2dd77-0614-4f08-9d58-33059bf2b99e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "31b2dd77-0614-4f08-9d58-33059bf2b99e@6c48a",
"displayName": "nb",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "31b2dd77-0614-4f08-9d58-33059bf2b99e",
"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": "31b2dd77-0614-4f08-9d58-33059bf2b99e@f9941",
"displayName": "nb",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -122.5,
"offsetY": 0.5,
"trimX": 134,
"trimY": 2,
"width": 3816,
"height": 413,
"rawWidth": 4329,
"rawHeight": 418,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-1908,
-206.5,
0,
1908,
-206.5,
0,
-1908,
206.5,
0,
1908,
206.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
134,
416,
3950,
416,
134,
3,
3950,
3
],
"nuv": [
0.030954030954030955,
0.007177033492822967,
0.9124509124509125,
0.007177033492822967,
0.030954030954030955,
0.9952153110047847,
0.9124509124509125,
0.9952153110047847
],
"minPos": [
-1908,
-206.5,
0
],
"maxPos": [
1908,
206.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "31b2dd77-0614-4f08-9d58-33059bf2b99e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "31b2dd77-0614-4f08-9d58-33059bf2b99e@6c48a"
}
}

View File

@ -670,7 +670,7 @@
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "448a61fa-3e9f-4e29-9c0d-79d9d23bce2d",
"__uuid__": "c5eec695-81e4-482f-8578-78bf085aa6a2",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,