分辨率适配测试

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
+222 -77
View File
@@ -23,7 +23,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 43
"__id__": 47
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -54,7 +54,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 44
"__id__": 48
},
"_id": "dab4ae00-c26e-4176-9c7e-709d8899e525"
},
@@ -77,13 +77,13 @@
"_active": true,
"_components": [
{
"__id__": 40
"__id__": 44
},
{
"__id__": 41
"__id__": 45
},
{
"__id__": 42
"__id__": 46
}
],
"_prefab": null,
@@ -220,31 +220,34 @@
"__id__": 6
},
{
"__id__": 9
"__id__": 10
},
{
"__id__": 13
},
{
"__id__": 20
"__id__": 17
},
{
"__id__": 23
"__id__": 24
},
{
"__id__": 26
"__id__": 27
},
{
"__id__": 30
}
],
"_active": true,
"_components": [
{
"__id__": 37
"__id__": 41
},
{
"__id__": 38
"__id__": 42
},
{
"__id__": 39
"__id__": 43
}
],
"_prefab": null,
@@ -279,7 +282,7 @@
},
{
"__type__": "cc.Node",
"_name": "VideoPlayer",
"_name": "test-001",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -293,6 +296,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": "f5jE6YkpBGg6PhVhTUtOUz"
},
{
"__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": "0ew2s8aGNE3I+3/4mp7wx2"
},
{
"__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": "62/lhTdBhGxrBtW3oX/+D5"
},
{
"__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": "b2Ps2MxNtDsI3A3aX+BMKP"
},
{
"__type__": "cc.Node",
"_name": "VideoPlayer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 12
}
],
"_prefab": null,
@@ -331,7 +476,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
"__id__": 10
},
"_enabled": true,
"__prefab": null,
@@ -353,7 +498,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
"__id__": 10
},
"_enabled": true,
"__prefab": null,
@@ -386,13 +531,13 @@
"_active": false,
"_components": [
{
"__id__": 10
"__id__": 14
},
{
"__id__": 11
"__id__": 15
},
{
"__id__": 12
"__id__": 16
}
],
"_prefab": null,
@@ -431,7 +576,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
"__id__": 13
},
"_enabled": true,
"__prefab": null,
@@ -453,7 +598,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
"__id__": 13
},
"_enabled": true,
"__prefab": null,
@@ -492,7 +637,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
"__id__": 13
},
"_enabled": true,
"__prefab": null,
@@ -508,19 +653,19 @@
},
"_children": [
{
"__id__": 14
"__id__": 18
}
],
"_active": false,
"_components": [
{
"__id__": 17
"__id__": 21
},
{
"__id__": 18
"__id__": 22
},
{
"__id__": 19
"__id__": 23
}
],
"_prefab": null,
@@ -559,16 +704,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 13
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 19
},
{
"__id__": 16
"__id__": 20
}
],
"_prefab": null,
@@ -607,7 +752,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
"__id__": 18
},
"_enabled": true,
"__prefab": null,
@@ -629,7 +774,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
"__id__": 18
},
"_enabled": true,
"__prefab": null,
@@ -668,7 +813,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
"__id__": 17
},
"_enabled": true,
"__prefab": null,
@@ -690,7 +835,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
"__id__": 17
},
"_enabled": true,
"__prefab": null,
@@ -706,7 +851,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
"__id__": 17
},
"_enabled": true,
"__prefab": null,
@@ -751,10 +896,10 @@
"_active": false,
"_components": [
{
"__id__": 21
"__id__": 25
},
{
"__id__": 22
"__id__": 26
}
],
"_prefab": null,
@@ -793,7 +938,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 20
"__id__": 24
},
"_enabled": true,
"__prefab": null,
@@ -815,7 +960,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 20
"__id__": 24
},
"_enabled": true,
"__prefab": null,
@@ -860,10 +1005,10 @@
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 28
},
{
"__id__": 25
"__id__": 29
}
],
"_prefab": null,
@@ -902,7 +1047,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 27
},
"_enabled": true,
"__prefab": null,
@@ -924,7 +1069,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 27
},
"_enabled": true,
"__prefab": null,
@@ -993,16 +1138,16 @@
},
"_children": [
{
"__id__": 27
"__id__": 31
}
],
"_active": true,
"_components": [
{
"__id__": 35
"__id__": 39
},
{
"__id__": 36
"__id__": 40
}
],
"_prefab": null,
@@ -1041,26 +1186,26 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 26
"__id__": 30
},
"_children": [
{
"__id__": 28
"__id__": 32
}
],
"_active": true,
"_components": [
{
"__id__": 31
"__id__": 35
},
{
"__id__": 32
"__id__": 36
},
{
"__id__": 33
"__id__": 37
},
{
"__id__": 34
"__id__": 38
}
],
"_prefab": null,
@@ -1099,16 +1244,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 27
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 33
},
{
"__id__": 30
"__id__": 34
}
],
"_prefab": null,
@@ -1147,7 +1292,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
"__id__": 32
},
"_enabled": true,
"__prefab": null,
@@ -1169,7 +1314,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
"__id__": 32
},
"_enabled": true,
"__prefab": null,
@@ -1231,7 +1376,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 27
"__id__": 31
},
"_enabled": true,
"__prefab": null,
@@ -1253,7 +1398,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 27
"__id__": 31
},
"_enabled": true,
"__prefab": null,
@@ -1292,7 +1437,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 27
"__id__": 31
},
"_enabled": true,
"__prefab": null,
@@ -1322,7 +1467,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 27
"__id__": 31
},
"_enabled": true,
"__prefab": null,
@@ -1364,7 +1509,7 @@
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": {
"__id__": 27
"__id__": 31
},
"_id": "c9KDag5vBLKazTx4FSrM2p"
},
@@ -1374,7 +1519,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
"__id__": 30
},
"_enabled": true,
"__prefab": null,
@@ -1396,7 +1541,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
"__id__": 30
},
"_enabled": true,
"__prefab": null,
@@ -1564,29 +1709,29 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 45
},
"shadows": {
"__id__": 46
},
"_skybox": {
"__id__": 47
},
"fog": {
"__id__": 48
},
"octree": {
"__id__": 49
},
"skin": {
"shadows": {
"__id__": 50
},
"lightProbeInfo": {
"_skybox": {
"__id__": 51
},
"postSettings": {
"fog": {
"__id__": 52
},
"octree": {
"__id__": 53
},
"skin": {
"__id__": 54
},
"lightProbeInfo": {
"__id__": 55
},
"postSettings": {
"__id__": 56
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
},