分辨率适配测试

This commit is contained in:
2025-09-19 20:40:01 +08:00
parent 15cddb6474
commit c6112e7ed4
7 changed files with 1149 additions and 586 deletions
+236 -91
View File
@@ -23,7 +23,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 50
"__id__": 54
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -54,7 +54,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 51
"__id__": 55
},
"_id": "16b0d021-6436-4bbc-ba5e-05ebe3e84ba4"
},
@@ -77,13 +77,13 @@
"_active": true,
"_components": [
{
"__id__": 47
"__id__": 51
},
{
"__id__": 48
"__id__": 52
},
{
"__id__": 49
"__id__": 53
}
],
"_prefab": null,
@@ -220,34 +220,37 @@
"__id__": 6
},
{
"__id__": 9
"__id__": 10
},
{
"__id__": 13
},
{
"__id__": 20
"__id__": 17
},
{
"__id__": 23
"__id__": 24
},
{
"__id__": 26
"__id__": 27
},
{
"__id__": 33
"__id__": 30
},
{
"__id__": 37
}
],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 48
},
{
"__id__": 45
"__id__": 49
},
{
"__id__": 46
"__id__": 50
}
],
"_prefab": null,
@@ -282,7 +285,7 @@
},
{
"__type__": "cc.Node",
"_name": "VideoPlayer",
"_name": "test",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -296,6 +299,148 @@
},
{
"__id__": 8
},
{
"__id__": 9
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "eey3di2TNJHIBkZPe/VAph"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "eaVX1KxrlICrkx6US/yZyO"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "8426dfa7-c0bd-4bfc-8ea1-90d9f957fa73@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "5cuz1tY2pO8odSYDksby+B"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 255,
"_originalHeight": 255,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "224Hhbo89MuqEBEW2RShKf"
},
{
"__type__": "cc.Node",
"_name": "VideoPlayer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 12
}
],
"_prefab": null,
@@ -334,7 +479,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
"__id__": 10
},
"_enabled": true,
"__prefab": null,
@@ -356,7 +501,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
"__id__": 10
},
"_enabled": true,
"__prefab": null,
@@ -389,13 +534,13 @@
"_active": false,
"_components": [
{
"__id__": 10
"__id__": 14
},
{
"__id__": 11
"__id__": 15
},
{
"__id__": 12
"__id__": 16
}
],
"_prefab": null,
@@ -434,7 +579,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
"__id__": 13
},
"_enabled": true,
"__prefab": null,
@@ -456,7 +601,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
"__id__": 13
},
"_enabled": true,
"__prefab": null,
@@ -495,7 +640,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
"__id__": 13
},
"_enabled": true,
"__prefab": null,
@@ -511,19 +656,19 @@
},
"_children": [
{
"__id__": 14
"__id__": 18
}
],
"_active": false,
"_components": [
{
"__id__": 17
"__id__": 21
},
{
"__id__": 18
"__id__": 22
},
{
"__id__": 19
"__id__": 23
}
],
"_prefab": null,
@@ -562,16 +707,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 13
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 19
},
{
"__id__": 16
"__id__": 20
}
],
"_prefab": null,
@@ -610,7 +755,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
"__id__": 18
},
"_enabled": true,
"__prefab": null,
@@ -632,7 +777,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
"__id__": 18
},
"_enabled": true,
"__prefab": null,
@@ -671,7 +816,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
"__id__": 17
},
"_enabled": true,
"__prefab": null,
@@ -693,7 +838,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
"__id__": 17
},
"_enabled": true,
"__prefab": null,
@@ -709,7 +854,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
"__id__": 17
},
"_enabled": true,
"__prefab": null,
@@ -754,10 +899,10 @@
"_active": false,
"_components": [
{
"__id__": 21
"__id__": 25
},
{
"__id__": 22
"__id__": 26
}
],
"_prefab": null,
@@ -796,7 +941,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 20
"__id__": 24
},
"_enabled": true,
"__prefab": null,
@@ -818,7 +963,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 20
"__id__": 24
},
"_enabled": true,
"__prefab": null,
@@ -863,10 +1008,10 @@
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 28
},
{
"__id__": 25
"__id__": 29
}
],
"_prefab": null,
@@ -905,7 +1050,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 27
},
"_enabled": true,
"__prefab": null,
@@ -927,7 +1072,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 27
},
"_enabled": true,
"__prefab": null,
@@ -996,19 +1141,19 @@
},
"_children": [
{
"__id__": 27
"__id__": 31
}
],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 34
},
{
"__id__": 31
"__id__": 35
},
{
"__id__": 32
"__id__": 36
}
],
"_prefab": null,
@@ -1047,16 +1192,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 26
"__id__": 30
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 32
},
{
"__id__": 29
"__id__": 33
}
],
"_prefab": null,
@@ -1095,7 +1240,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 27
"__id__": 31
},
"_enabled": true,
"__prefab": null,
@@ -1117,7 +1262,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 27
"__id__": 31
},
"_enabled": true,
"__prefab": null,
@@ -1156,7 +1301,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
"__id__": 30
},
"_enabled": true,
"__prefab": null,
@@ -1178,7 +1323,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
"__id__": 30
},
"_enabled": true,
"__prefab": null,
@@ -1217,7 +1362,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
"__id__": 30
},
"_enabled": true,
"__prefab": null,
@@ -1251,16 +1396,16 @@
},
"_children": [
{
"__id__": 34
"__id__": 38
}
],
"_active": false,
"_components": [
{
"__id__": 42
"__id__": 46
},
{
"__id__": 43
"__id__": 47
}
],
"_prefab": null,
@@ -1299,26 +1444,26 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 33
"__id__": 37
},
"_children": [
{
"__id__": 35
"__id__": 39
}
],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 42
},
{
"__id__": 39
"__id__": 43
},
{
"__id__": 40
"__id__": 44
},
{
"__id__": 41
"__id__": 45
}
],
"_prefab": null,
@@ -1357,16 +1502,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 34
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 40
},
{
"__id__": 37
"__id__": 41
}
],
"_prefab": null,
@@ -1405,7 +1550,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 35
"__id__": 39
},
"_enabled": true,
"__prefab": null,
@@ -1427,7 +1572,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 35
"__id__": 39
},
"_enabled": true,
"__prefab": null,
@@ -1489,7 +1634,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
"__id__": 38
},
"_enabled": true,
"__prefab": null,
@@ -1511,7 +1656,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
"__id__": 38
},
"_enabled": true,
"__prefab": null,
@@ -1550,7 +1695,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
"__id__": 38
},
"_enabled": true,
"__prefab": null,
@@ -1580,7 +1725,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
"__id__": 38
},
"_enabled": true,
"__prefab": null,
@@ -1622,7 +1767,7 @@
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": {
"__id__": 34
"__id__": 38
},
"_id": "c9KDag5vBLKazTx4FSrM2p"
},
@@ -1632,7 +1777,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 33
"__id__": 37
},
"_enabled": true,
"__prefab": null,
@@ -1654,7 +1799,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 33
"__id__": 37
},
"_enabled": true,
"__prefab": null,
@@ -1807,7 +1952,7 @@
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_lockFlags": 45,
"_id": "c5V1EV8IpMtrIvY1OE9t2u"
},
{
@@ -1821,29 +1966,29 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 52
},
"shadows": {
"__id__": 53
},
"_skybox": {
"__id__": 54
},
"fog": {
"__id__": 55
},
"octree": {
"__id__": 56
},
"skin": {
"shadows": {
"__id__": 57
},
"lightProbeInfo": {
"_skybox": {
"__id__": 58
},
"postSettings": {
"fog": {
"__id__": 59
},
"octree": {
"__id__": 60
},
"skin": {
"__id__": 61
},
"lightProbeInfo": {
"__id__": 62
},
"postSettings": {
"__id__": 63
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
},