feat: 切换至滚动阻力运行模型并更新资产、编辑器与验证

- 物理规则:现行模型仅保留滚动阻力耗能与恢复系数碰撞,风力、空气阻力、静摩擦、动摩擦不再参与运行;确认三球质量 60/330/约890 kg 及水密度、流阻参数
- 定向加速改为真实顶面接触触发的一次性 +5 m/s 速度事件,模型新增渐进式 U 形导槽出口
- 更新球体、滑槽、水/冰/墙、球洞模型与 storybook 目录、物理、实体配置
- 工坊摆放、编辑器、运行适配与检查脚本同步;删除过时的 baseline 三组检查
- 新增谜题设计参考文档、关卡草稿与本轮实验产物
This commit is contained in:
Yanchen
2026-12-05 10:37:31 +08:00
parent d1141b04c7
commit bf6c355fa6
132 changed files with 13205 additions and 1838 deletions
+1 -7
View File
@@ -71,7 +71,7 @@ def ensure_imported(godot: Path) -> None:
def main() -> None:
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('command', nargs='?', default='play', choices=['doctor','build','play','merge','test','capture'])
parser.add_argument('command', nargs='?', default='play', choices=['doctor','build','play','merge','capture'])
args = parser.parse_args()
godot = executable('godot')
if args.command == 'doctor':
@@ -92,12 +92,6 @@ def main() -> None:
scenarios = json.loads((ROOT/'playtest/baseline/data/scenarios.json').read_text())
index = next(i for i, scenario in enumerate(scenarios) if scenario['id'] == 'dual_merge')
run(common+['--scene','res://playtest/baseline/scenes/main.tscn','--',f'--scenario={index}'],'merge',live=True)
elif args.command == 'test':
import_assets(godot)
run(common+['--headless','--fixed-fps','120','--script','res://playtest/baseline/checks/validate_physics.gd'],'physics_test')
run(common+['--headless','--fixed-fps','120','--script','res://playtest/baseline/checks/validate_playtest.gd'],'playtest_test')
run(common+['--headless','--fixed-fps','120','--script','res://playtest/baseline/checks/validate_merge.gd'],'merge_test')
print('Validation reports:', VALIDATION)
else:
run(common+['--scene','res://playtest/baseline/scenes/main.tscn','--',f'--capture={VALIDATION / "playtest_preview.png"}'],'capture')
print('Preview:', VALIDATION/'playtest_preview.png')