feat: 建立关卡工坊并整理项目目录

- 加入 Godot 基础试玩、画风展示和通孔验证场景
- 支持自由放球、多层叠放、墙壁、锥口球洞及固定 +5 m/s 定向加速方块
- 保存 Blender 源资产、模型导出、资源制作脚本和关卡编辑存档逻辑
- 按七类目录归档工程,集中 zsh 启动入口并补充 AGENTS.md 文件索引
- 同步设计规则、依赖锁定、验证报告和目录迁移记录

验证:目录迁移后的资源导入与四个场景加载通过;本次提交前检查暂存内容,未重复运行整套物理测试。
This commit is contained in:
Yanchen
2026-11-16 11:12:21 +08:00
parent 151993e6df
commit 39ff1fd7b4
233 changed files with 147900 additions and 152 deletions
@@ -0,0 +1,60 @@
{
"created_at": "2026-11-14T22:01:31.561641+08:00",
"objective": "Six parameterized chute assets, a radius 0.3 m iron ball, and a matching goal hole in the native Godot playtest.",
"verified": {
"blender": "5.2.0 LTS",
"godot": "4.7.2-stable (official)",
"physics_checks": 70,
"interaction_checks": 30,
"sphere_radius_m": 0.3,
"groove_radius_m": 0.32,
"glb_assets": 8,
"dual_merge_checks": 16,
"scenarios": 5,
"simultaneous_iron_balls": 2,
"passage_radius_m": 0.32,
"goal_opening_radius_m": 0.32,
"radial_clearance_m": 0.02
},
"accepted_prototype_exception": "User confirmed retaining the 1x1x1.5m steep ramp as a clearly flagged first-playtest asset; formal single-cell rule is unchanged.",
"limits": [
"Flat blocks contain enclosed bottom passages; ramp passages can open through the bottom and need a support surface.",
"Native friction switches between static/dynamic coefficients based on slip; not a complete per-contact multi-material solver.",
"Free-build editor is a test harness, not full map authoring or acceptance tooling."
],
"sha256": {
"main.py": "6b4db253221c0c149439c887ffbf2b6badc39b4c7b6e7fc7a557a66f8b58d135",
"Playtest.command": "e1a84e1f9fb00ae527a4d1be3d77cf9265c6f7b3471afff8a7965fb44d579f38",
"scripts/build_assets.py": "d9883e632d4ce444a153c146d73def824931dbcc50533d0e9614dba86e2edc4c",
"assets/blender/intohole_playtest.blend": "f81477cb30f5f5eb5a486a3a5e75c95b097204cfa5380c286cb1b40a85ee6962",
"playtest/project.godot": "35f8bb32e0d425e6b8bae19395b9f38c76e0e493dcf5010e4d442f7cfb2ecff2",
"playtest/scripts/asset_library.gd": "0c54f8b0f7693e969fb37135a114bd6cd9b45d95fdfee119fcd594c075e4083d",
"playtest/scripts/iron_ball.gd": "4522d9a88c02cabb9db3475d082fabdb69f3bacb9042a070b01e7c4df9400048",
"playtest/scripts/playtest.gd": "b4b49e4d7547905440b61953701a42068a4542a0fa190de0379ce00cdb61c7a3",
"playtest/scripts/validate_physics.gd": "639671e0f3184493a903c0a5d14fcd9d6de9763716b70610a60fb1ecc10d4ed0",
"playtest/scripts/validate_playtest.gd": "9ef67b7c1ddd41035d56dc96d622afa5797196ef5a0c08c0cb87199be622ab4a",
"playtest/data/physics.json": "b12802f7763c162d037b0795e79272955031162790424831e88c939288f5526e",
"playtest/data/scenarios.json": "37403af557e0128c76d91fb5692e32c3db3423c3c68f5e40186d3231bd397c3c",
"playtest/assets/generated/gentle.glb": "f54fcfa2a1fa4067661ee2b52a9743a3f3e36fae574d49fef988a01ca2158745",
"playtest/assets/generated/iron_ball.glb": "20f962ab39e9ea659f32e1f0f4e3616905846b84a801eb8da9c612d23128b035",
"playtest/assets/generated/steep.glb": "af14a64b36f8b542af319e26a4b8ac19ecf55b4c9ee4f7707ac2654e0daa24c6",
"playtest/assets/generated/straight.glb": "38eb17f129dfa0f98962d536e5b1f6f0b6555abffacfd2b0b48bc95b018a208b",
"playtest/assets/generated/turn_ccw.glb": "0c662dae618a65eae135bc31d14db8039fadc80f742d16f2c16ee7a60e327fea",
"playtest/assets/generated/turn_cw.glb": "ec1ae697f9f97b84a9f7c4b99c30536385d9daaf8d0984d452078f2ae78f676f",
"playtest/assets/generated/y_merge.glb": "869293b8b642317fb5ba103df5a642981f4579bb4c102f776464c2143d8c3dbd",
"playtest/assets/generated/catalog.json": "e2b22e92f53b2d26f6ee90a72f4148084c3d6402f51ce6d6c5b8bc552e21af86",
"validation/geometry_report.json": "f4ac9d62abef75d9cc79c87bb416f33154fbff8031645957ac25aeb715b20738",
"validation/physics_report.json": "f6527cbda45700f445cfb764d8aea3d83723d5f448a0ae5f22ec16caa9b981b8",
"validation/playtest_report.json": "6b458e5c9c7e147ccf696a480dba71d9536725f2e23233df1adef1905da048c2",
"validation/merge_report.json": "0c068916ce039c2b87e0676935ef15ecd850f1bab9b8fef9071a455206aaa8f0",
"playtest/scripts/validate_merge.gd": "8bc11883347622603ed43ca4c3d9a0d3b0dbd8794035cf6fecf1c2598493f176",
"playtest/assets/generated/goal_hole.glb": "24cf7849d476d703c89ee54d897e330bfe337513e1e0b72e76e773424b9e4703",
"README.md": "686ea684b1dc36c0ade5c1a71f8c5d0826b9006a273417a05595f394db38837a",
"docs/blocks.md": "50712d96e721f3c7ef2e5da9762e7fdab524585ca4ccc1805bf92ff2da945f3d",
"docs/physics_system.md": "eea7cb33c0cddd0aaa6dee1adc82f556c16e49673af9021d01da32c815a3ed9e",
"docs/playtest.md": "63a6d0e75d2b620130df9feacbde176b171ae9c8020653c1dd8d2c60311fda76",
"reference/game_reference.md": "edf56775097894fbb14af15857c122721f821a7a90cd805d0d28c58839b31997"
},
"updated_at": "2026-11-15T13:46:54.276226+08:00",
"latest_change": "Adopted radius 0.3 m ball and 0.32 m grooves, passages and goal; regenerated Blender/GLB assets and colliders, retained iron density/material, removed isolated radius comparison models/scenes/scripts, and changed the final merge exit to level track for the fitted goal."
}
@@ -0,0 +1,163 @@
{
"generator": "Blender Python",
"ball_radius_m": 0.3,
"groove_radius_m": 0.32,
"hole_radius_m": 0.32,
"assets": [
{
"id": "straight",
"size_m": [
1.0,
1.0,
1.0
],
"single_cell_compliant": true,
"declared_size_m": [
1.0,
1.0,
1.0
],
"declared_size_compliant": true,
"mesh_vertices": 2433,
"mesh_faces": 2313,
"non_manifold_edges": 0,
"lower_path_min_distance_to_mesh_m": 0.319614,
"lower_route_floor_local_z": 0.019999999999999907,
"passage_open_at_bottom": false
},
{
"id": "turn_cw",
"size_m": [
1.0,
1.0,
1.0
],
"single_cell_compliant": true,
"declared_size_m": [
1.0,
1.0,
1.0
],
"declared_size_compliant": true,
"mesh_vertices": 4856,
"mesh_faces": 4713,
"non_manifold_edges": 0,
"lower_path_min_distance_to_mesh_m": 0.319572,
"lower_route_floor_local_z": 0.019999999999999907,
"passage_open_at_bottom": false
},
{
"id": "turn_ccw",
"size_m": [
1.0,
1.0,
1.0
],
"single_cell_compliant": true,
"declared_size_m": [
1.0,
1.0,
1.0
],
"declared_size_compliant": true,
"mesh_vertices": 4855,
"mesh_faces": 4713,
"non_manifold_edges": 0,
"lower_path_min_distance_to_mesh_m": 0.319572,
"lower_route_floor_local_z": 0.019999999999999907,
"passage_open_at_bottom": false
},
{
"id": "gentle",
"size_m": [
1.0,
1.0,
1.0
],
"single_cell_compliant": true,
"declared_size_m": [
1.0,
1.0,
1.0
],
"declared_size_compliant": true,
"mesh_vertices": 1774,
"mesh_faces": 1640,
"non_manifold_edges": 0,
"lower_path_min_distance_to_mesh_m": 0.319615,
"lower_route_floor_local_z": -0.2677708763999664,
"passage_open_at_bottom": true
},
{
"id": "steep",
"size_m": [
1.0,
1.0,
1.5
],
"single_cell_compliant": false,
"declared_size_m": [
1.0,
1.0,
1.0
],
"declared_size_compliant": false,
"mesh_vertices": 2078,
"mesh_faces": 1936,
"non_manifold_edges": 0,
"lower_path_min_distance_to_mesh_m": 0.319615,
"lower_route_floor_local_z": -0.11254833995939054,
"passage_open_at_bottom": true
},
{
"id": "y_merge",
"size_m": [
2.0,
2.0,
1.0
],
"single_cell_compliant": false,
"declared_size_m": [
2.0,
2.0,
1.0
],
"declared_size_compliant": true,
"mesh_vertices": 15330,
"mesh_faces": 14885,
"non_manifold_edges": 0,
"lower_path_min_distance_to_mesh_m": 0.319595,
"lower_route_floor_local_z": 0.019999999999999907,
"passage_open_at_bottom": false
}
],
"fit_clearance_m": 0.02,
"goal_radius_m": 0.32,
"important": [
"Flat blocks now contain closed circular passages; ramp passages can open through the bottom and use the test platform as support.",
"The steep ramp preserves 1m rise; its retained 1.5m prototype envelope remains explicitly flagged."
],
"y_connections": {
"inlet_surface_positions": [
[
-1,
0.68,
0.5
],
[
-1,
0.68,
-0.5
]
],
"outlet_surface_position": [
1,
0.68,
0.5
],
"inlet_center_spacing_m": 1.0,
"inlet_height_difference_m": 0.0,
"lower_passage": "closed circular bore in the same block"
},
"measured_ball_radius_m": 0.30000002458691494
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

@@ -0,0 +1,168 @@
{
"failed": 0,
"passed": 30,
"results": [
{
"detail": {
"mass_kg": 890.076049804688,
"radius_m": 0.3
},
"name": "one_iron_ball_ready",
"passed": true
},
{
"detail": {},
"name": "release_button",
"passed": true
},
{
"detail": {
"max_speed": 3.55942463874817,
"position": [
1.98111593723297,
0.624034285545349,
0.00604082643985748
],
"status": "成功入洞 · 2.90 秒",
"time": 2.89999999999999
},
"name": "default_course_reaches_hole",
"passed": true
},
{
"detail": {},
"name": "retry_clears_state",
"passed": true
},
{
"detail": {},
"name": "scenario_specific_quotas",
"passed": true
},
{
"detail": {},
"name": "reject_unavailable_type",
"passed": true
},
{
"detail": {},
"name": "ray_select_visible_tile",
"passed": true
},
{
"detail": {},
"name": "library_straight",
"passed": true
},
{
"detail": {},
"name": "rotation_cycle_straight",
"passed": true
},
{
"detail": {},
"name": "library_turn_cw",
"passed": true
},
{
"detail": {},
"name": "rotation_cycle_turn_cw",
"passed": true
},
{
"detail": {},
"name": "library_turn_ccw",
"passed": true
},
{
"detail": {},
"name": "rotation_cycle_turn_ccw",
"passed": true
},
{
"detail": {},
"name": "library_gentle",
"passed": true
},
{
"detail": {},
"name": "rotation_cycle_gentle",
"passed": true
},
{
"detail": {},
"name": "library_steep",
"passed": true
},
{
"detail": {},
"name": "rotation_cycle_steep",
"passed": true
},
{
"detail": {},
"name": "library_y_merge",
"passed": true
},
{
"detail": {},
"name": "rotation_cycle_y_merge",
"passed": true
},
{
"detail": {},
"name": "y_has_declared_four_cell_footprint",
"passed": true
},
{
"detail": {},
"name": "y_not_mislabelled_as_steep_exception",
"passed": true
},
{
"detail": {},
"name": "place_adjacent_tile",
"passed": true
},
{
"detail": {},
"name": "editing_locked_after_release",
"passed": true
},
{
"detail": {},
"name": "pause_preserves_run_lock",
"passed": true
},
{
"detail": {},
"name": "delete_after_retry",
"passed": true
},
{
"detail": {},
"name": "reject_unattached_tile",
"passed": true
},
{
"detail": {},
"name": "reject_y_overlap_with_neighbor",
"passed": true
},
{
"detail": {},
"name": "y_reserves_four_cells",
"passed": true
},
{
"detail": {},
"name": "y_rotates_about_fixed_center",
"passed": true
},
{
"detail": {},
"name": "replace_y_releases_extra_cells",
"passed": true
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB