This commit is contained in:
TJH 2026-01-23 14:44:30 +08:00
parent b69711f281
commit 27d2514ee5
26 changed files with 5827 additions and 2197 deletions

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "ttf-font",
"imported": true,
"uuid": "db1cf3a9-156f-4898-86ba-9144abc1c1cd",
"files": [
".json",
"Avenir Next World Demi.ttf"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "ttf-font",
"imported": true,
"uuid": "93a00770-2ea9-4b72-b00b-35ec67e77b2f",
"files": [
".json",
"Avenir Next World Medium.ttf"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "ttf-font",
"imported": true,
"uuid": "b7abfaa3-2c0e-43fd-9e90-6e37dcab9adf",
"files": [
".json",
"Pyidaungsu_Bold.ttf"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "ttf-font",
"imported": true,
"uuid": "78f28491-4722-42b8-a068-34405c8ea56e",
"files": [
".json",
"Pyidaungsu_Regular.ttf"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "ttf-font",
"imported": true,
"uuid": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"files": [
".json",
"Roboto Bold.ttf"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "ttf-font",
"imported": true,
"uuid": "a591473d-fa62-4b03-988f-2b3f00a338e8",
"files": [
".json",
"Roboto Regular.ttf"
],
"subMetas": {},
"userData": {}
}

View File

@ -28,17 +28,17 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 104 "__id__": 110
}, },
{ {
"__id__": 106 "__id__": 112
}, },
{ {
"__id__": 108 "__id__": 114
} }
], ],
"_prefab": { "_prefab": {
"__id__": 110 "__id__": 116
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -293,31 +293,31 @@
"__id__": 49 "__id__": 49
}, },
{ {
"__id__": 57 "__id__": 59
}, },
{ {
"__id__": 65 "__id__": 69
},
{
"__id__": 73
}, },
{ {
"__id__": 79 "__id__": 79
},
{
"__id__": 85
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 101 "__id__": 107
} }
], ],
"_prefab": { "_prefab": {
"__id__": 103 "__id__": 109
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -350, "y": -266.315,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -506,7 +506,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 200, "y": 196.371,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -647,7 +647,7 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 472, "x": 474.629,
"y": 197, "y": 197,
"z": 0 "z": 0
}, },
@ -853,8 +853,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 350, "x": 333.977,
"y": 0, "y": 2.828,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -996,7 +996,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -154, "y": -157.629,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1200,15 +1200,18 @@
}, },
{ {
"__id__": 54 "__id__": 54
},
{
"__id__": 56
} }
], ],
"_prefab": { "_prefab": {
"__id__": 56 "__id__": 58
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 203, "y": 199.531,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1287,20 +1290,20 @@
"_string": "Auto Spin", "_string": "Auto Spin",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 58, "_actualFontSize": 56,
"_fontSize": 58, "_fontSize": 56,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 58, "_lineHeight": 58,
"_overflow": 2, "_overflow": 2,
"_enableWrapText": true, "_enableWrapText": true,
"_font": { "_font": {
"__uuid__": "7d82cd3b-f3fb-43bd-902e-e9ce812e1fb0", "__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont" "__expectedType__": "cc.TTFFont"
}, },
"_isSystemFontUsed": false, "_isSystemFontUsed": false,
"_spacingX": 0, "_spacingX": 0,
"_isItalic": false, "_isItalic": false,
"_isBold": false, "_isBold": true,
"_isUnderline": false, "_isUnderline": false,
"_underlineHeight": 2, "_underlineHeight": 2,
"_cacheMode": 0, "_cacheMode": 0,
@ -1352,6 +1355,49 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7bp5CitY9MmbIuNryM/rWJ" "fileId": "7bp5CitY9MmbIuNryM/rWJ"
}, },
{
"__type__": "de146+mh9NCho861VoY+Eu8",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 49
},
"_enabled": true,
"__prefab": {
"__id__": 57
},
"isBold": true,
"fontOther": {
"__uuid__": "a591473d-fa62-4b03-988f-2b3f00a338e8",
"__expectedType__": "cc.TTFFont"
},
"fontOtherBold": {
"__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont"
},
"fontThVi": {
"__uuid__": "93a00770-2ea9-4b72-b00b-35ec67e77b2f",
"__expectedType__": "cc.TTFFont"
},
"fontThViBold": {
"__uuid__": "db1cf3a9-156f-4898-86ba-9144abc1c1cd",
"__expectedType__": "cc.TTFFont"
},
"fontMy": {
"__uuid__": "78f28491-4722-42b8-a068-34405c8ea56e",
"__expectedType__": "cc.TTFFont"
},
"fontMyBold": {
"__uuid__": "b7abfaa3-2c0e-43fd-9e90-6e37dcab9adf",
"__expectedType__": "cc.TTFFont"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f17Uwj3/VNTrtGdCal7z5r"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -1361,8 +1407,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "cbxwHOl0FLk4p5rpJpKrDH", "fileId": "cbxwHOl0FLk4p5rpJpKrDH",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -1376,23 +1420,26 @@
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 58
},
{ {
"__id__": 60 "__id__": 60
}, },
{ {
"__id__": 62 "__id__": 62
},
{
"__id__": 64
},
{
"__id__": 66
} }
], ],
"_prefab": { "_prefab": {
"__id__": 64 "__id__": 68
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -152, "y": -155,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1424,11 +1471,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 57 "__id__": 59
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 59 "__id__": 61
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -1452,11 +1499,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 57 "__id__": 59
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 61 "__id__": 63
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -1471,20 +1518,20 @@
"_string": "Start Auto Spin", "_string": "Start Auto Spin",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 47, "_actualFontSize": 43,
"_fontSize": 46, "_fontSize": 42,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 46, "_lineHeight": 46,
"_overflow": 2, "_overflow": 2,
"_enableWrapText": true, "_enableWrapText": true,
"_font": { "_font": {
"__uuid__": "7d82cd3b-f3fb-43bd-902e-e9ce812e1fb0", "__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont" "__expectedType__": "cc.TTFFont"
}, },
"_isSystemFontUsed": false, "_isSystemFontUsed": false,
"_spacingX": 0, "_spacingX": 0,
"_isItalic": false, "_isItalic": false,
"_isBold": false, "_isBold": true,
"_isUnderline": false, "_isUnderline": false,
"_underlineHeight": 2, "_underlineHeight": 2,
"_cacheMode": 0, "_cacheMode": 0,
@ -1523,11 +1570,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 57 "__id__": 59
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 63 "__id__": 65
}, },
"_key": "AID_AUTO_BUTTON", "_key": "AID_AUTO_BUTTON",
"_id": "" "_id": ""
@ -1536,6 +1583,49 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "9fSbjeKWpCCJM5QdMuW91M" "fileId": "9fSbjeKWpCCJM5QdMuW91M"
}, },
{
"__type__": "de146+mh9NCho861VoY+Eu8",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 59
},
"_enabled": true,
"__prefab": {
"__id__": 67
},
"isBold": true,
"fontOther": {
"__uuid__": "a591473d-fa62-4b03-988f-2b3f00a338e8",
"__expectedType__": "cc.TTFFont"
},
"fontOtherBold": {
"__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont"
},
"fontThVi": {
"__uuid__": "93a00770-2ea9-4b72-b00b-35ec67e77b2f",
"__expectedType__": "cc.TTFFont"
},
"fontThViBold": {
"__uuid__": "db1cf3a9-156f-4898-86ba-9144abc1c1cd",
"__expectedType__": "cc.TTFFont"
},
"fontMy": {
"__uuid__": "78f28491-4722-42b8-a068-34405c8ea56e",
"__expectedType__": "cc.TTFFont"
},
"fontMyBold": {
"__uuid__": "b7abfaa3-2c0e-43fd-9e90-6e37dcab9adf",
"__expectedType__": "cc.TTFFont"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9b0J2tBMlGg76xMvg+zPWc"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -1545,8 +1635,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "847oe2OqZI6rJoD/97jGth", "fileId": "847oe2OqZI6rJoD/97jGth",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -1560,23 +1648,26 @@
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 66
},
{
"__id__": 68
},
{ {
"__id__": 70 "__id__": 70
},
{
"__id__": 72
},
{
"__id__": 74
},
{
"__id__": 76
} }
], ],
"_prefab": { "_prefab": {
"__id__": 72 "__id__": 78
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 364, "x": 345.572,
"y": 79, "y": 75.314,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1608,11 +1699,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 65 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 67 "__id__": 71
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -1636,11 +1727,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 65 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 69 "__id__": 73
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -1655,14 +1746,14 @@
"_string": "Number of Rounds", "_string": "Number of Rounds",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 30, "_actualFontSize": 28,
"_fontSize": 30, "_fontSize": 28,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 26, "_lineHeight": 26,
"_overflow": 2, "_overflow": 2,
"_enableWrapText": false, "_enableWrapText": false,
"_font": { "_font": {
"__uuid__": "69fbd01d-29d4-4356-b163-4a703a7d45e4", "__uuid__": "a591473d-fa62-4b03-988f-2b3f00a338e8",
"__expectedType__": "cc.TTFFont" "__expectedType__": "cc.TTFFont"
}, },
"_isSystemFontUsed": false, "_isSystemFontUsed": false,
@ -1707,11 +1798,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 65 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 71 "__id__": 75
}, },
"_key": "AID_AUTO_CONTENT", "_key": "AID_AUTO_CONTENT",
"_id": "" "_id": ""
@ -1720,6 +1811,49 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "33tTmx/M1Ku5nYjvprIfyv" "fileId": "33tTmx/M1Ku5nYjvprIfyv"
}, },
{
"__type__": "de146+mh9NCho861VoY+Eu8",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 69
},
"_enabled": true,
"__prefab": {
"__id__": 77
},
"isBold": false,
"fontOther": {
"__uuid__": "a591473d-fa62-4b03-988f-2b3f00a338e8",
"__expectedType__": "cc.TTFFont"
},
"fontOtherBold": {
"__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont"
},
"fontThVi": {
"__uuid__": "93a00770-2ea9-4b72-b00b-35ec67e77b2f",
"__expectedType__": "cc.TTFFont"
},
"fontThViBold": {
"__uuid__": "db1cf3a9-156f-4898-86ba-9144abc1c1cd",
"__expectedType__": "cc.TTFFont"
},
"fontMy": {
"__uuid__": "78f28491-4722-42b8-a068-34405c8ea56e",
"__expectedType__": "cc.TTFFont"
},
"fontMyBold": {
"__uuid__": "b7abfaa3-2c0e-43fd-9e90-6e37dcab9adf",
"__expectedType__": "cc.TTFFont"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7fIcS+3jVGloLrfVitdX2q"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -1745,19 +1879,19 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 74 "__id__": 80
}, },
{ {
"__id__": 76 "__id__": 82
} }
], ],
"_prefab": { "_prefab": {
"__id__": 78 "__id__": 84
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 350, "x": 334.98,
"y": 0, "y": 5.33,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1789,15 +1923,15 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 73 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 75 "__id__": 81
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 92.021484375, "width": 100.107421875,
"height": 75.6 "height": 75.6
}, },
"_anchorPoint": { "_anchorPoint": {
@ -1817,11 +1951,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 73 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 77 "__id__": 83
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -1842,14 +1976,11 @@
"_lineHeight": 60, "_lineHeight": 60,
"_overflow": 0, "_overflow": 0,
"_enableWrapText": true, "_enableWrapText": true,
"_font": { "_font": null,
"__uuid__": "69fbd01d-29d4-4356-b163-4a703a7d45e4", "_isSystemFontUsed": true,
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0, "_spacingX": 0,
"_isItalic": false, "_isItalic": false,
"_isBold": false, "_isBold": true,
"_isUnderline": false, "_isUnderline": false,
"_underlineHeight": 2, "_underlineHeight": 2,
"_cacheMode": 0, "_cacheMode": 0,
@ -1905,31 +2036,31 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 80 "__id__": 86
}, },
{ {
"__id__": 86 "__id__": 92
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 94 "__id__": 100
}, },
{ {
"__id__": 96 "__id__": 102
}, },
{ {
"__id__": 98 "__id__": 104
} }
], ],
"_prefab": { "_prefab": {
"__id__": 100 "__id__": 106
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -97, "x": -119.347,
"y": 7, "y": 3.371,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1961,20 +2092,20 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 79 "__id__": 85
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 87
}, },
{ {
"__id__": 83 "__id__": 89
} }
], ],
"_prefab": { "_prefab": {
"__id__": 85 "__id__": 91
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -2011,11 +2142,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 80 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 82 "__id__": 88
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -2039,11 +2170,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 80 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 84 "__id__": 90
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -2090,8 +2221,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "e98FkmFzxGRLqfl8kKOW68", "fileId": "e98FkmFzxGRLqfl8kKOW68",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -2100,23 +2229,23 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 79 "__id__": 85
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 87 "__id__": 93
}, },
{ {
"__id__": 89 "__id__": 95
}, },
{ {
"__id__": 91 "__id__": 97
} }
], ],
"_prefab": { "_prefab": {
"__id__": 93 "__id__": 99
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -2153,11 +2282,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 86 "__id__": 92
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 88 "__id__": 94
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -2181,11 +2310,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 86 "__id__": 92
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 90 "__id__": 96
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -2229,11 +2358,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 86 "__id__": 92
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 92 "__id__": 98
}, },
"clickEvents": [], "clickEvents": [],
"_interactable": true, "_interactable": true,
@ -2273,7 +2402,7 @@
"_duration": 0.1, "_duration": 0.1,
"_zoomScale": 1.2, "_zoomScale": 1.2,
"_target": { "_target": {
"__id__": 86 "__id__": 92
}, },
"_id": "" "_id": ""
}, },
@ -2300,11 +2429,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 79 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 95 "__id__": 101
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -2328,11 +2457,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 79 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 97 "__id__": 103
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -2376,15 +2505,15 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 79 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 99 "__id__": 105
}, },
"slideEvents": [], "slideEvents": [],
"_handle": { "_handle": {
"__id__": 89 "__id__": 95
}, },
"_direction": 0, "_direction": 0,
"_progress": 1, "_progress": 1,
@ -2417,7 +2546,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 102 "__id__": 108
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -2458,7 +2587,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 105 "__id__": 111
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -2486,19 +2615,19 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 107 "__id__": 113
}, },
"autoSlider": { "autoSlider": {
"__id__": 98 "__id__": 104
}, },
"autoCountLabel": { "autoCountLabel": {
"__id__": 76 "__id__": 82
}, },
"mainNode": { "mainNode": {
"__id__": 12 "__id__": 12
}, },
"barFill": { "barFill": {
"__id__": 80 "__id__": 86
}, },
"_id": "" "_id": ""
}, },
@ -2516,7 +2645,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 109 "__id__": 115
}, },
"_id": "" "_id": ""
}, },

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -407,16 +407,24 @@ export class SlotBar extends Component {
private currentTipTween: Tween<Node> = null; private currentTipTween: Tween<Node> = null;
private hideTimer: number = null; private hideTimer: number = null;
showTipSmall(str: string) { showTipSmall(str: string, openTurbo?: boolean) {
// 清理之前的计时器和动画 // 清理之前的计时器和动画
this.clearTipTimers(); this.clearTipTimers();
if (openTurbo != null) {
this.tipSmall.getChildByPath("layout/Turboon").active = openTurbo
this.tipSmall.getChildByPath("layout/Turbooff").active = !openTurbo
} else {
this.tipSmall.getChildByPath("layout/Turboon").active = false
this.tipSmall.getChildByPath("layout/Turbooff").active = false
}
// 设置提示内容 // 设置提示内容
this.tipSmall.getChildByName('Label').getComponent(Label).string = str; this.tipSmall.getChildByPath("layout/Label").getComponent(Label).string = str;
let label = this.tipSmall.getChildByName('Label').getComponent(Label); let label = this.tipSmall.getChildByPath("layout/Label").getComponent(Label);
label.updateRenderData(true); label.updateRenderData(true);
let tipWidth = this.tipSmall.getChildByName('Label').getComponent(UITransform).width; let tipWidth = this.tipSmall.getChildByPath("layout/Label").getComponent(UITransform).width;
let frame = this.tipSmall.getChildByName('Frame_Assets'); let frame = this.tipSmall.getChildByName('Frame_Assets');
frame.getComponent(UITransform).setContentSize(tipWidth + 100, 105); frame.getComponent(UITransform).setContentSize(tipWidth + 100, 105);
// 调整框架大小 // 调整框架大小

View File

@ -394,7 +394,7 @@ export class SlotScene extends Component {
I18nManager.instance.t('AID_TIP_TURBO_ENABLED') : I18nManager.instance.t('AID_TIP_TURBO_ENABLED') :
I18nManager.instance.t('AID_TIP_TURBO_DISABLED'); I18nManager.instance.t('AID_TIP_TURBO_DISABLED');
this.slotBar.showTipSmall(tip); this.slotBar.showTipSmall(tip, this.gameState.isFastSpin);
if (!this.slotGame.isScroll()) { if (!this.slotGame.isScroll()) {
this.slotGame.setFastSpin(isFastSpin); this.slotGame.setFastSpin(isFastSpin);
} }

View File

@ -23,7 +23,7 @@
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 86 "__id__": 88
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -54,7 +54,7 @@
}, },
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_globals": { "_globals": {
"__id__": 87 "__id__": 89
}, },
"_id": "6c29a3fe-b10e-44a5-98e3-55595b231767" "_id": "6c29a3fe-b10e-44a5-98e3-55595b231767"
}, },
@ -77,17 +77,11 @@
"__id__": 8 "__id__": 8
}, },
{ {
"__id__": 68 "__id__": 70
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 81
},
{
"__id__": 82
},
{ {
"__id__": 83 "__id__": 83
}, },
@ -96,6 +90,12 @@
}, },
{ {
"__id__": 85 "__id__": 85
},
{
"__id__": 86
},
{
"__id__": 87
} }
], ],
"_prefab": null, "_prefab": null,
@ -187,7 +187,7 @@
"_priority": 0, "_priority": 0,
"_fov": 45, "_fov": 45,
"_fovAxis": 0, "_fovAxis": 0,
"_orthoHeight": 960, "_orthoHeight": 960.0000000000001,
"_near": 0, "_near": 0,
"_far": 2000, "_far": 2000,
"_color": { "_color": {
@ -341,22 +341,22 @@
"__id__": 9 "__id__": 9
}, },
{ {
"__id__": 61 "__id__": 63
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 64
},
{
"__id__": 65
},
{ {
"__id__": 66 "__id__": 66
}, },
{ {
"__id__": 67 "__id__": 67
},
{
"__id__": 68
},
{
"__id__": 69
} }
], ],
"_prefab": null, "_prefab": null,
@ -423,22 +423,22 @@
"__id__": 41 "__id__": 41
}, },
{ {
"__id__": 44 "__id__": 45
}, },
{ {
"__id__": 47 "__id__": 48
}, },
{ {
"__id__": 56 "__id__": 58
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 59 "__id__": 61
}, },
{ {
"__id__": 60 "__id__": 62
} }
], ],
"_prefab": null, "_prefab": null,
@ -859,7 +859,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -610, "y": -519,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1103,7 +1103,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -247, "x": -247,
"y": -610, "y": -519,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1338,7 +1338,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -278.47, "x": -278.47,
"y": -612.889, "y": -519,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1446,8 +1446,8 @@
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 275, "x": 288.696,
"y": -609.089, "y": -519,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1485,7 +1485,7 @@
"__prefab": null, "__prefab": null,
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 60.921875, "width": 82.0556640625,
"height": 56.4 "height": 56.4
}, },
"_anchorPoint": { "_anchorPoint": {
@ -1515,7 +1515,7 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "0%", "_string": "50%",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 38, "_actualFontSize": 38,
@ -1573,13 +1573,16 @@
}, },
{ {
"__id__": 43 "__id__": 43
},
{
"__id__": 44
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -670, "y": -551,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1647,17 +1650,20 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "", "_string": "LOADING...",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 38, "_actualFontSize": 36,
"_fontSize": 38, "_fontSize": 36,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 50, "_lineHeight": 50,
"_overflow": 3, "_overflow": 3,
"_enableWrapText": true, "_enableWrapText": true,
"_font": null, "_font": {
"_isSystemFontUsed": true, "__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0, "_spacingX": 0,
"_isItalic": false, "_isItalic": false,
"_isBold": true, "_isBold": true,
@ -1689,6 +1695,43 @@
"_shadowBlur": 2, "_shadowBlur": 2,
"_id": "2380yWt0tOa6GJutBEnRsb" "_id": "2380yWt0tOa6GJutBEnRsb"
}, },
{
"__type__": "de146+mh9NCho861VoY+Eu8",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 41
},
"_enabled": true,
"__prefab": null,
"isBold": true,
"fontOther": {
"__uuid__": "a591473d-fa62-4b03-988f-2b3f00a338e8",
"__expectedType__": "cc.TTFFont"
},
"fontOtherBold": {
"__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont"
},
"fontThVi": {
"__uuid__": "93a00770-2ea9-4b72-b00b-35ec67e77b2f",
"__expectedType__": "cc.TTFFont"
},
"fontThViBold": {
"__uuid__": "db1cf3a9-156f-4898-86ba-9144abc1c1cd",
"__expectedType__": "cc.TTFFont"
},
"fontMy": {
"__uuid__": "78f28491-4722-42b8-a068-34405c8ea56e",
"__expectedType__": "cc.TTFFont"
},
"fontMyBold": {
"__uuid__": "b7abfaa3-2c0e-43fd-9e90-6e37dcab9adf",
"__expectedType__": "cc.TTFFont"
},
"_id": "88i8H1p61Pp5xAPRWfmHez"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "retryTip", "_name": "retryTip",
@ -1701,10 +1744,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 45 "__id__": 46
}, },
{ {
"__id__": 46 "__id__": 47
} }
], ],
"_prefab": null, "_prefab": null,
@ -1743,7 +1786,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 44 "__id__": 45
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1765,7 +1808,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 44 "__id__": 45
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1834,26 +1877,26 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 48 "__id__": 49
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{
"__id__": 51
},
{
"__id__": 52
},
{ {
"__id__": 53 "__id__": 53
},
{
"__id__": 54
},
{
"__id__": 55
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -610, "y": -524,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -1885,16 +1928,19 @@
"_objFlags": 512, "_objFlags": 512,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 47 "__id__": 48
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 50
}, },
{ {
"__id__": 50 "__id__": 51
},
{
"__id__": 52
} }
], ],
"_prefab": null, "_prefab": null,
@ -1933,13 +1979,13 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 48 "__id__": 49
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 314.1650390625, "width": 313.4249267578125,
"height": 56.7 "height": 56.7
}, },
"_anchorPoint": { "_anchorPoint": {
@ -1955,7 +2001,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 48 "__id__": 49
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1978,8 +2024,11 @@
"_lineHeight": 45, "_lineHeight": 45,
"_overflow": 0, "_overflow": 0,
"_enableWrapText": false, "_enableWrapText": false,
"_font": null, "_font": {
"_isSystemFontUsed": true, "__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0, "_spacingX": 0,
"_isItalic": false, "_isItalic": false,
"_isBold": true, "_isBold": true,
@ -2011,13 +2060,50 @@
"_shadowBlur": 2, "_shadowBlur": 2,
"_id": "5c/l+3jYdCYY8tkO1Ixwg+" "_id": "5c/l+3jYdCYY8tkO1Ixwg+"
}, },
{
"__type__": "de146+mh9NCho861VoY+Eu8",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 49
},
"_enabled": true,
"__prefab": null,
"isBold": true,
"fontOther": {
"__uuid__": "a591473d-fa62-4b03-988f-2b3f00a338e8",
"__expectedType__": "cc.TTFFont"
},
"fontOtherBold": {
"__uuid__": "e0a726e5-7f1c-4a87-be05-95fc6f4ac3d8",
"__expectedType__": "cc.TTFFont"
},
"fontThVi": {
"__uuid__": "93a00770-2ea9-4b72-b00b-35ec67e77b2f",
"__expectedType__": "cc.TTFFont"
},
"fontThViBold": {
"__uuid__": "db1cf3a9-156f-4898-86ba-9144abc1c1cd",
"__expectedType__": "cc.TTFFont"
},
"fontMy": {
"__uuid__": "78f28491-4722-42b8-a068-34405c8ea56e",
"__expectedType__": "cc.TTFFont"
},
"fontMyBold": {
"__uuid__": "b7abfaa3-2c0e-43fd-9e90-6e37dcab9adf",
"__expectedType__": "cc.TTFFont"
},
"_id": "d0ciBlSNZE5ocCrvwlZ5Qs"
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 47 "__id__": 48
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2039,7 +2125,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 47 "__id__": 48
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2078,16 +2164,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 47 "__id__": 48
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 54 "__id__": 56
}, },
{ {
"__id__": 55 "__id__": 57
} }
], ],
"_interactable": true, "_interactable": true,
@ -2127,7 +2213,7 @@
"_duration": 0.1, "_duration": 0.1,
"_zoomScale": 1.2, "_zoomScale": 1.2,
"_target": { "_target": {
"__id__": 47 "__id__": 48
}, },
"_id": "54j4lwPyZHbqqANZE+r9Tj" "_id": "54j4lwPyZHbqqANZE+r9Tj"
}, },
@ -2163,10 +2249,10 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 57 "__id__": 59
}, },
{ {
"__id__": 58 "__id__": 60
} }
], ],
"_prefab": null, "_prefab": null,
@ -2205,7 +2291,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 56 "__id__": 58
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2227,7 +2313,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 56 "__id__": 58
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2324,10 +2410,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 62 "__id__": 64
}, },
{ {
"__id__": 63 "__id__": 65
} }
], ],
"_prefab": null, "_prefab": null,
@ -2366,7 +2452,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 61 "__id__": 63
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2388,7 +2474,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 61 "__id__": 63
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2530,22 +2616,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 69 "__id__": 71
}, },
{ {
"__id__": 73 "__id__": 75
}, },
{ {
"__id__": 76 "__id__": 78
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 79 "__id__": 81
}, },
{ {
"__id__": 80 "__id__": 82
} }
], ],
"_prefab": null, "_prefab": null,
@ -2584,19 +2670,19 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 68 "__id__": 70
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 70
},
{
"__id__": 71
},
{ {
"__id__": 72 "__id__": 72
},
{
"__id__": 73
},
{
"__id__": 74
} }
], ],
"_prefab": null, "_prefab": null,
@ -2635,7 +2721,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 69 "__id__": 71
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2657,7 +2743,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 69 "__id__": 71
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2669,7 +2755,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 69 "__id__": 71
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2708,16 +2794,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 68 "__id__": 70
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 74 "__id__": 76
}, },
{ {
"__id__": 75 "__id__": 77
} }
], ],
"_prefab": null, "_prefab": null,
@ -2756,7 +2842,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 73 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2778,7 +2864,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 73 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2840,16 +2926,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 68 "__id__": 70
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 77 "__id__": 79
}, },
{ {
"__id__": 78 "__id__": 80
} }
], ],
"_prefab": null, "_prefab": null,
@ -2888,7 +2974,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 76 "__id__": 78
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2910,7 +2996,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 76 "__id__": 78
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2949,7 +3035,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 68 "__id__": 70
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2971,7 +3057,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 68 "__id__": 70
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -3059,16 +3145,16 @@
"__id__": 43 "__id__": 43
}, },
"retryTipLabel": { "retryTipLabel": {
"__id__": 46 "__id__": 47
}, },
"startBtn": { "startBtn": {
"__id__": 53 "__id__": 55
}, },
"startBtnLabel": { "startBtnLabel": {
"__id__": 50 "__id__": 51
}, },
"GameNode": { "GameNode": {
"__id__": 61 "__id__": 63
}, },
"languageJson": { "languageJson": {
"__uuid__": "cbed1e31-2337-413a-beb0-a09df95b3bb4", "__uuid__": "cbed1e31-2337-413a-beb0-a09df95b3bb4",
@ -3090,10 +3176,10 @@
"__id__": 5 "__id__": 5
}, },
"RB7Logo": { "RB7Logo": {
"__id__": 56 "__id__": 58
}, },
"rotateNode": { "rotateNode": {
"__id__": 68 "__id__": 70
}, },
"_id": "d8F/UwpTxNpZhwSJjDvnkk" "_id": "d8F/UwpTxNpZhwSJjDvnkk"
}, },
@ -3120,29 +3206,29 @@
{ {
"__type__": "cc.SceneGlobals", "__type__": "cc.SceneGlobals",
"ambient": { "ambient": {
"__id__": 88
},
"shadows": {
"__id__": 89
},
"_skybox": {
"__id__": 90 "__id__": 90
}, },
"fog": { "shadows": {
"__id__": 91 "__id__": 91
}, },
"octree": { "_skybox": {
"__id__": 92 "__id__": 92
}, },
"skin": { "fog": {
"__id__": 93 "__id__": 93
}, },
"lightProbeInfo": { "octree": {
"__id__": 94 "__id__": 94
}, },
"postSettings": { "skin": {
"__id__": 95 "__id__": 95
}, },
"lightProbeInfo": {
"__id__": 96
},
"postSettings": {
"__id__": 97
},
"bakedWithStationaryMainLight": false, "bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false "bakedWithHighpLightmap": false
}, },

View File

@ -9,7 +9,7 @@ const qs = new URLSearchParams(location.search)
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com"; // let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
let apiaddr = ""; let apiaddr = "";
let token = "eyJQIjoxMDA5NDksIkUiOjE3NjY2MDgyNzcsIlMiOjk5OSwiRCI6InJwXzEwMDEyIn0.YB6z6jYQkzsZcDxOqvg-hblrS6unQOcS2T53QLuYLW4"; let token = "eyJQIjoxMDA5NDksIkUiOjE3NjkxOTAzNTYsIlMiOjEwMDUsIkQiOiJycF8xMDAxMiJ9.JP2SqCScYvK7x0kQVJ_ecCMUnKH7UO4K8i4uqppa6gw";
let language = "en" let language = "en"
let currency = "THB" let currency = "THB"
let isfrom = null let isfrom = null
@ -31,7 +31,7 @@ export function getHistoryUrl() {
} }
export function getLanguage() { export function getLanguage() {
// return 'my'; // return 'th';
return language; return language;
} }
export function getIsRB7() { export function getIsRB7() {

View File

@ -0,0 +1,99 @@
import { _decorator, CCBoolean, Component, Label, TTFFont } from 'cc';
import { getLanguage } from '../comm';
const { ccclass, property } = _decorator;
@ccclass('LocalizedLabel2')
export class LocalizedLabel2 extends Component {
private label: Label | null = null;
// 加入是否是加粗的属性
@property({
type: CCBoolean,
tooltip: '是否是加粗的'
})
public isBold: boolean = false;
// ========== 除了中日韩其他所有语言字体 ==========
@property({
type: TTFFont,
tooltip: '其他语言字体'
})
public fontOther: TTFFont | null = null;
@property({
type: TTFFont,
tooltip: '加粗字体'
})
public fontOtherBold: TTFFont | null = null;
// ========== 泰语字体 (th),越南语字体 (vi) ==========
@property({
type: TTFFont,
tooltip: '泰语越南字体'
})
public fontThVi: TTFFont | null = null;
@property({
type: TTFFont,
tooltip: '泰语越南加粗字体'
})
public fontThViBold: TTFFont | null = null;
// ========== 缅甸语字体 (my) ==========
@property({
type: TTFFont,
tooltip: '缅甸语字体'
})
public fontMy: TTFFont | null = null;
@property({
type: TTFFont,
tooltip: '缅甸语加粗字体'
})
public fontMyBold: TTFFont | null = null;
start() {
this.label = this.getComponent(Label);
this.updateLabel();
}
public updateLabel() {
if (!this.label) return;
this.applyFont();
}
private applyFont() {
const currentLang = getLanguage();
let targetFont: TTFFont | null = null;
switch (currentLang) {
case 'zh':
case 'ja':
case 'ko':
targetFont = null;
break;
case 'th':
targetFont = this.isBold ? this.fontThViBold : this.fontThVi;
break;
case 'vi':
targetFont = this.isBold ? this.fontThViBold : this.fontThVi;
break;
case 'my':
targetFont = this.isBold ? this.fontMyBold : this.fontMy;
break;
default:
targetFont = this.isBold ? this.fontOtherBold : this.fontOther;
break;
}
if (targetFont) {
this.label.useSystemFont = false;
this.label.font = targetFont;
} else {
this.label.useSystemFont = true;
}
this.label.isBold = this.isBold;
this.label.updateRenderData();
console.log(currentLang, 'targetFont', targetFont);
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "de146fa6-87d3-4286-8f3a-d55a18f84bbc",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -163,7 +163,7 @@ export class LoadingUI extends Component {
onUpdate: (target: any, ratio: number) => { onUpdate: (target: any, ratio: number) => {
this.progressLabel.string = `${Math.floor(target.progress * 100)}%`; this.progressLabel.string = `${Math.floor(target.progress * 100)}%`;
this.maskUITransform.width = target.progress * 494; this.maskUITransform.width = target.progress * 494;
this.lightNode.setPosition(target.progress * 496 - 274, -612, 0); this.lightNode.setPosition(target.progress * 496 - 274, -519, 0);
} }
}) })
.start(); .start();

View File

@ -0,0 +1,449 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
<dict>
<key>BarB_Fill_01.png</key>
<dict>
<key>frame</key>
<string>{{580,326},{601,21}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{601,21}}</string>
<key>sourceSize</key>
<string>{601,21}</string>
</dict>
<key>BarB_Frame_01.png</key>
<dict>
<key>frame</key>
<string>{{1262,215},{616,36}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{616,36}}</string>
<key>sourceSize</key>
<string>{616,36}</string>
</dict>
<key>BarB_Handle_01.png</key>
<dict>
<key>frame</key>
<string>{{841,548},{85,85}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{85,85}}</string>
<key>sourceSize</key>
<string>{85,85}</string>
</dict>
<key>Btn_Cancel_01.png</key>
<dict>
<key>frame</key>
<string>{{0,548},{287,87}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{287,87}}</string>
<key>sourceSize</key>
<string>{287,87}</string>
</dict>
<key>Btn_Close_01.png</key>
<dict>
<key>frame</key>
<string>{{1279,326},{52,52}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{52,52}}</string>
<key>sourceSize</key>
<string>{52,52}</string>
</dict>
<key>Btn_Close_02.png</key>
<dict>
<key>frame</key>
<string>{{1183,326},{94,94}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{94,94}}</string>
<key>sourceSize</key>
<string>{94,94}</string>
</dict>
<key>Btn_Confirm_01.png</key>
<dict>
<key>frame</key>
<string>{{575,0},{287,87}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{287,87}}</string>
<key>sourceSize</key>
<string>{287,87}</string>
</dict>
<key>Btn_History_01.png</key>
<dict>
<key>frame</key>
<string>{{289,548},{94,94}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{94,94}}</string>
<key>sourceSize</key>
<string>{94,94}</string>
</dict>
<key>Btn_Large_01.png</key>
<dict>
<key>frame</key>
<string>{{0,215},{715,101}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{715,101}}</string>
<key>sourceSize</key>
<string>{715,101}</string>
</dict>
<key>Btn_Paytable_01.png</key>
<dict>
<key>frame</key>
<string>{{362,326},{94,94}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{94,94}}</string>
<key>sourceSize</key>
<string>{94,94}</string>
</dict>
<key>Btn_Quit_01.png</key>
<dict>
<key>frame</key>
<string>{{717,215},{94,94}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{94,94}}</string>
<key>sourceSize</key>
<string>{94,94}</string>
</dict>
<key>Btn_Rule_01.png</key>
<dict>
<key>frame</key>
<string>{{266,326},{94,94}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{94,94}}</string>
<key>sourceSize</key>
<string>{94,94}</string>
</dict>
<key>Btn_SoundOFF_01.png</key>
<dict>
<key>frame</key>
<string>{{1333,326},{94,94}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{94,94}}</string>
<key>sourceSize</key>
<string>{94,94}</string>
</dict>
<key>Btn_SoundON_01.png</key>
<dict>
<key>frame</key>
<string>{{484,326},{94,94}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{94,94}}</string>
<key>sourceSize</key>
<string>{94,94}</string>
</dict>
<key>Btn_Spin_01.png</key>
<dict>
<key>frame</key>
<string>{{908,0},{214,213}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{214,213}}</string>
<key>sourceSize</key>
<string>{214,213}</string>
</dict>
<key>Divider_01.png</key>
<dict>
<key>frame</key>
<string>{{1129,548},{281,4}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{281,4}}</string>
<key>sourceSize</key>
<string>{281,4}</string>
</dict>
<key>Divider_02.png</key>
<dict>
<key>frame</key>
<string>{{0,661},{717,5}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{717,5}}</string>
<key>sourceSize</key>
<string>{717,5}</string>
</dict>
<key>Frame_Assets_01.png</key>
<dict>
<key>frame</key>
<string>{{871,215},{356,109}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{356,109}}</string>
<key>sourceSize</key>
<string>{356,109}</string>
</dict>
<key>Frame_Auto_01.png</key>
<dict>
<key>frame</key>
<string>{{1218,0},{180,181}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{180,181}}</string>
<key>sourceSize</key>
<string>{180,181}</string>
</dict>
<key>Frame_Number_01.png</key>
<dict>
<key>frame</key>
<string>{{928,548},{199,111}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{199,111}}</string>
<key>sourceSize</key>
<string>{199,111}</string>
</dict>
<key>Frame_Tip_01.png</key>
<dict>
<key>frame</key>
<string>{{0,326},{220,220}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{220,220}}</string>
<key>sourceSize</key>
<string>{220,220}</string>
</dict>
<key>Frame_Title_01.png</key>
<dict>
<key>frame</key>
<string>{{1429,326},{360,108}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{360,108}}</string>
<key>sourceSize</key>
<string>{360,108}</string>
</dict>
<key>Frame_Title_02.png</key>
<dict>
<key>frame</key>
<string>{{479,548},{360,108}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{360,108}}</string>
<key>sourceSize</key>
<string>{360,108}</string>
</dict>
<key>Icon_Balance_01.png</key>
<dict>
<key>frame</key>
<string>{{0,0},{27,27}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{27,27}}</string>
<key>sourceSize</key>
<string>{27,27}</string>
</dict>
<key>Icon_Bet_01.png</key>
<dict>
<key>frame</key>
<string>{{458,326},{24,28}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{24,28}}</string>
<key>sourceSize</key>
<string>{24,28}</string>
</dict>
<key>Icon_Menu_01.png</key>
<dict>
<key>frame</key>
<string>{{813,215},{56,49}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{56,49}}</string>
<key>sourceSize</key>
<string>{56,49}</string>
</dict>
<key>Icon_Minus_01.png</key>
<dict>
<key>frame</key>
<string>{{1124,0},{92,92}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{92,92}}</string>
<key>sourceSize</key>
<string>{92,92}</string>
</dict>
<key>Icon_Plus_01.png</key>
<dict>
<key>frame</key>
<string>{{385,548},{92,92}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{92,92}}</string>
<key>sourceSize</key>
<string>{92,92}</string>
</dict>
<key>Icon_Win_01.png</key>
<dict>
<key>frame</key>
<string>{{1229,215},{31,31}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{31,31}}</string>
<key>sourceSize</key>
<string>{31,31}</string>
</dict>
<key>Square_01.png</key>
<dict>
<key>frame</key>
<string>{{563,0},{10,10}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{10,10}}</string>
<key>sourceSize</key>
<string>{10,10}</string>
</dict>
<key>toast .png</key>
<dict>
<key>frame</key>
<string>{{29,0},{532,132}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{532,132}}</string>
<key>sourceSize</key>
<string>{532,132}</string>
</dict>
<key>toast _Turbooff.png</key>
<dict>
<key>frame</key>
<string>{{222,326},{42,42}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{42,42}}</string>
<key>sourceSize</key>
<string>{42,42}</string>
</dict>
<key>toast _Turboon.png</key>
<dict>
<key>frame</key>
<string>{{864,0},{42,42}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{42,42}}</string>
<key>sourceSize</key>
<string>{42,42}</string>
</dict>
</dict>
<key>metadata</key>
<dict>
<key>format</key>
<integer>2</integer>
<key>realTextureFileName</key>
<string>CommonUI_02.png</string>
<key>size</key>
<string>{1880,666}</string>
<key>textureFileName</key>
<string>CommonUI_02.png</string>
</dict>
</dict>
</plist>

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5693bcd9-d959-49f3-883b-7b7870e5f6d4",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5693bcd9-d959-49f3-883b-7b7870e5f6d4@6c48a",
"displayName": "CommonUI_02",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5693bcd9-d959-49f3-883b-7b7870e5f6d4",
"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": "5693bcd9-d959-49f3-883b-7b7870e5f6d4@f9941",
"displayName": "CommonUI_02",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1878,
"height": 666,
"rawWidth": 1880,
"rawHeight": 666,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-939,
-333,
0,
939,
-333,
0,
-939,
333,
0,
939,
333,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
666,
1878,
666,
0,
0,
1878,
0
],
"nuv": [
0,
0,
0.9989361702127659,
0,
0,
1,
0.9989361702127659,
1
],
"minPos": [
-939,
-333,
0
],
"maxPos": [
939,
333,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5693bcd9-d959-49f3-883b-7b7870e5f6d4@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5693bcd9-d959-49f3-883b-7b7870e5f6d4@6c48a"
}
}