refactor(w5): single 1280x720 target with keep aspect across screens, tests and probes

This commit is contained in:
2026-09-14 03:14:05 +08:00
parent e565dd51ef
commit f646479e3d
52 changed files with 78 additions and 21 deletions
+7
View File
@@ -90,6 +90,13 @@ Legal terminal:
由我决定并记录于此)。
- 2026-09-13:`M60-I03`(已招募 Offer 占卡位)与 `M60-I04`(遗留可恢复远征团
禁用"新游戏")并入 DEV-1R / DEV-3R 工作包处理,不单独开工。
- 2026-09-13(owner 指示,第二次更严格):**只做一种横屏尺寸 1280x720**。
已执行:入口页/四选二页删除全部按尺寸分叉(settings `short_layout`、setup 紧凑双列、
按高度的行高/间距/栏宽选择);`project.godot` 窗口覆盖改 1280x720;窗口化触摸测试
统一 `CONTENT_SCALE_ASPECT_KEEP` + `1280x720`(此前是 `EXPAND` + 844x390,这正是
UI 在不同尺寸下走样与测试错位的来源);当前世代响应式/捕获测试与 `m63/m53/m54`
探针只跑 1280x720。旧 P9.x/p10_2 测试与旧页面的尺寸分支留待各自迁移轮清理,
不得再新增。
- 2026-09-13(owner 指示):**目标视口收敛**。宽屏 1280x720(16:9)是唯一设计
权威;1280x600 只作宽屏冒烟。手机横屏(844x390、760x360)留到后续步骤,届时
只做整体缩放适配,**不允许再为小尺寸增加第二套构图/紧凑分支**。现有小尺寸
+8 -3
View File
@@ -14,10 +14,11 @@ choice / inspect / compare / review / error 五个模式)从旧入口 chrome
建团提交与触摸回归全过、`docs/EVIDENCE_LEDGER.md` 与 checkpoint 更新、推送到
远端。招募检视页(`recruit_review_page_view.gd`)**不在本计划**,留给下一个计划。
## 视口政策(引用 GOAL 2026-09-13 决定)
## 视口政策(2026-09-13 owner 二次收紧)
宽屏 `1280x720` 是唯一设计权威并承担严格墨迹判定;`844x390`、`760x360` 只做
冒烟记录,不为其新增第二套构图。本页迁移只按权威尺寸验收。
**只做 1280x720 一种横屏尺寸**:设计、实现、测试、探针、窗口覆盖全部同值;
`CONTENT_SCALE_ASPECT_KEEP` 保比例。已删除本页与入口页的按尺寸分叉;后续页面
迁移不得再引入第二套构图。旧 P9.x/p10_2 测试的其它尺寸属各自历史,逐步清理。
## 现状实测(2026-09-13)
@@ -69,3 +70,7 @@ choice / inspect / compare / review / error 五个模式)从旧入口 chrome
留给 DEV-2R 后续计划。
- `M64-I03` 观察:选择标记的 `✓/◇` 文本将改共享 `pip`,需确认已选状态在
130% 文字下仍可读。
- `M64-I04` 已做:`project.godot` 窗口覆盖 844x390 → 1280x720;窗口化触摸测试
统一 `KEEP` + 1280x720。此前 `EXPAND` + 844x390 是多尺寸错位的根因。
- `M64-I05` OPEN(登记):旧 P9.x / p10_2 测试与未迁移页面仍含按尺寸分支,
随各自迁移轮(DEV-3R..6R)清理,不得新增。
+1
View File
@@ -0,0 +1 @@
uid://tcky5mrsivpt
@@ -0,0 +1 @@
uid://dwpkqovl2weia
+1
View File
@@ -0,0 +1 @@
uid://430flww635ef
@@ -0,0 +1 @@
uid://bg30u3c8vngp8
@@ -0,0 +1 @@
uid://di4s2kf8hpcph
+1
View File
@@ -0,0 +1 @@
uid://bwt271nfe4sag
@@ -0,0 +1 @@
uid://baetxmsxyyads
@@ -0,0 +1 @@
uid://fpyb0ffukc7e
+1
View File
@@ -0,0 +1 @@
uid://cqf7kvtny2itb
@@ -0,0 +1 @@
uid://n3ikp5uhmw74
@@ -0,0 +1 @@
uid://d2qp1pre8821s
@@ -0,0 +1 @@
uid://bxbx0a0qvtw3e
+1
View File
@@ -0,0 +1 @@
uid://bbf5mydrdjg3a
@@ -0,0 +1 @@
uid://einhqi52gubs
@@ -0,0 +1 @@
uid://bwikrp3b6w4a2
@@ -0,0 +1 @@
uid://dg42x2iufln1q
+1
View File
@@ -0,0 +1 @@
uid://ci8keqa072quy
@@ -0,0 +1 @@
uid://cprdcuqmci3hc
@@ -0,0 +1 @@
uid://c615rhrcfh4mj
+1
View File
@@ -0,0 +1 @@
uid://bsdm66vfpltn0
@@ -0,0 +1 @@
uid://bln8ppjg77kch
@@ -0,0 +1 @@
uid://bm7cintgwdhft
@@ -0,0 +1 @@
uid://dfo4484jxowmj
@@ -0,0 +1 @@
uid://dg81icynaiiad
@@ -0,0 +1 @@
uid://dyt4s02pouamg
@@ -0,0 +1 @@
uid://g187dq0ajulc
+1
View File
@@ -0,0 +1 @@
uid://ckjtcmpgsk1cl
@@ -0,0 +1 @@
uid://caxst6xj8c0g4
@@ -0,0 +1 @@
uid://dgiybe0lmhohu
@@ -0,0 +1 @@
uid://3ybud51vlihl
@@ -0,0 +1 @@
uid://cbnsxtjuau53u
@@ -0,0 +1 @@
uid://cu71cxpf02kt8
@@ -0,0 +1 @@
uid://cxdygcshictnl
@@ -0,0 +1 @@
uid://biqxmeyofgpqq
@@ -0,0 +1 @@
uid://dgykb2g5h3kqy
@@ -0,0 +1 @@
uid://csuiawr0ak0a0
@@ -0,0 +1 @@
uid://bqmwdacjjmeo6
@@ -0,0 +1 @@
uid://dxd210g05demd
@@ -0,0 +1 @@
uid://ce8h46yx4gmsi
@@ -0,0 +1 @@
uid://nj8oujgm1npr
@@ -0,0 +1 @@
uid://bbjqwor1ra2lo
+2 -2
View File
@@ -23,8 +23,8 @@ default_bus_layout="res://default_bus_layout.tres"
window/size/viewport_width=1280
window/size/viewport_height=720
window/size/window_width_override=844
window/size/window_height_override=390
window/size/window_width_override=1280
window/size/window_height_override=720
window/stretch/mode="canvas_items"
window/stretch/aspect="keep"
window/handheld/orientation=4
@@ -35,7 +35,7 @@ func run_test() -> void:
viewport.queue_free()
await _frames(4)
if failures.is_empty():
print("ABG_DEV1_BOOT_RESPONSIVE_OK sizes=760x360,844x390,1280x720,800x500,1280x600 background=aspect_cover rail=nine_patch actions=state_bound resize=true")
print("ABG_DEV1_BOOT_RESPONSIVE_OK sizes=1280x720 background=aspect_cover rail=nine_patch actions=state_bound resize=true")
quit(0)
else:
for failure in failures:
+4 -3
View File
@@ -12,9 +12,10 @@ func _initialize() -> void:
func run_test() -> void:
root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS
root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_EXPAND
root.content_scale_size = Vector2i(844, 390)
root.size = Vector2i(844, 390)
# Single target size (owner policy): every screen is authored at 1280x720.
root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_KEEP
root.content_scale_size = Vector2i(1280, 720)
root.size = Vector2i(1280, 720)
_cleanup()
var game = MainScene.instantiate()
root.add_child(game)
@@ -34,7 +34,7 @@ func run_test() -> void:
viewport.queue_free()
await _frames(4)
if failures.is_empty():
print("ABG_DEV1_FIRST_LAUNCH_RESPONSIVE_OK sizes=760x360,844x390,1280x720,800x500,1280x600 preview=bounded settings=stretch rows=min48 apply=stretch resize=true")
print("ABG_DEV1_FIRST_LAUNCH_RESPONSIVE_OK sizes=1280x720 preview=bounded settings=stretch rows=min48 apply=stretch resize=true")
quit(0)
else:
for failure in failures:
@@ -35,7 +35,7 @@ func run_test() -> void:
await _frames(3)
_verify_layout(shell, viewport_size)
if failures.is_empty():
print("ABG_DEV1_TITLE_RESPONSIVE_OK sizes=800x500,960x540,1280x600 canvas=16:9 centered world=full controls=4 resize=true")
print("ABG_DEV1_TITLE_RESPONSIVE_OK sizes=1280x720 canvas=16:9 centered world=full controls=4 resize=true")
quit(0)
else:
for failure in failures:
@@ -17,9 +17,10 @@ func _initialize() -> void:
func run_test() -> void:
root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS
root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_EXPAND
root.content_scale_size = Vector2i(844, 390)
root.size = Vector2i(844, 390)
# Single target size (owner policy): every screen is authored at 1280x720.
root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_KEEP
root.content_scale_size = Vector2i(1280, 720)
root.size = Vector2i(1280, 720)
_cleanup()
var service = DraftService.new()
service.path = DRAFT_PATH
@@ -16,9 +16,10 @@ func _initialize() -> void:
func run_test() -> void:
root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS
root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_EXPAND
root.content_scale_size = Vector2i(844, 390)
root.size = Vector2i(844, 390)
# Single target size (owner policy): every screen is authored at 1280x720.
root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_KEEP
root.content_scale_size = Vector2i(1280, 720)
root.size = Vector2i(1280, 720)
_cleanup()
var game = MainScene.instantiate()
@@ -16,9 +16,10 @@ func _initialize() -> void:
func run_test() -> void:
root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS
root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_EXPAND
root.content_scale_size = Vector2i(844, 390)
root.size = Vector2i(844, 390)
# Single target size (owner policy): every screen is authored at 1280x720.
root.content_scale_aspect = Window.CONTENT_SCALE_ASPECT_KEEP
root.content_scale_size = Vector2i(1280, 720)
root.size = Vector2i(1280, 720)
_cleanup()
var service = DraftService.new()
service.path = DRAFT_PATH
+1 -1
View File
@@ -72,7 +72,7 @@ func _run() -> void:
return
if title_recoverable_ok:
print("ABG_M63_TITLE_RECOVERABLE_OK new_game=enabled continue=enabled")
print("ABG_M63_ENTRY_VISUAL_PROBE_OK sizes=2 locales=2 pages=boot,setup,title,settings,opening states=running,error,fresh,recoverable,display,audio,choice,review views=static,dynamic,final")
print("ABG_M63_ENTRY_VISUAL_PROBE_OK sizes=1 locales=2 pages=boot,setup,title,settings,opening states=running,error,fresh,recoverable,display,audio,choice,review views=static,dynamic,final")
quit(0)